Skip to content

Commit e753f45

Browse files
author
Andre
committed
Tests fixed
1 parent add3200 commit e753f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/meilisearch/index/search/ranking_score_threshold_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
include_context 'search books with genre'
55

66
it 'does a custom search with rankingScoreThreshold' do
7-
response = index.search('harry potter and the chamber of secrets', { rankingScoreThreshold: 0.9 })
7+
response = index.search('harry potter and the prisoner of azkaban', { rankingScoreThreshold: 0.9 })
88
expect(response['hits'].count).to be(0)
99

1010
response = index.search('harry potter and the', { rankingScoreThreshold: 0.3 })
11-
expect(response['hits'].count).to be(1)
11+
expect(response['hits'].count).to be(2)
1212
end
1313
end

0 commit comments

Comments
 (0)