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:
parent
14d54872f0
commit
c31113c257
|
@ -198,12 +198,6 @@ RSpec.describe HashtagAutocompleteService do
|
||||||
)
|
)
|
||||||
end
|
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
|
it "prioritises exact matches to the top of the list" do
|
||||||
expect(subject.search("book", %w[category tag], limit: 10).map(&:ref)).to eq(
|
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],
|
%w[book book::tag book-dome book-zone the-book-club great-books mid-books terrible-books],
|
||||||
|
|
Loading…
Reference in New Issue