DEV: Remove flaky hashtag test (#19524)

Not sure why this is flaky, either way it doesn't really
add anything so removing it.
This commit is contained in:
Martin Brennan 2022-12-20 10:21:58 +10:00 committed by GitHub
parent 14d54872f0
commit c31113c257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -198,12 +198,6 @@ RSpec.describe HashtagAutocompleteService do
)
end
it "orders correctly with lower limits" do
expect(subject.search("book", %w[category tag], limit: 5).map(&:ref)).to eq(
%w[book book::tag book-dome book-zone the-book-club],
)
end
it "prioritises exact matches to the top of the list" do
expect(subject.search("book", %w[category tag], limit: 10).map(&:ref)).to eq(
%w[book book::tag book-dome book-zone the-book-club great-books mid-books terrible-books],