Skip to content

Commit e9029c5

Browse files
meili-bors[bot]meili-botbrunoocasali
authored
Merge #481
481: Changes related to the next Meilisearch release (v1.4.0) r=curquiza a=meili-bot Related to this issue: meilisearch/integration-guides#286 This PR: - gathers the changes related to the next Meilisearch release (v1.4.0) so that this package is ready when the official release is out. - should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases). - might eventually contain test failures until the Meilisearch v1.4.0 is out. ⚠️ This PR should NOT be merged until the next release of Meilisearch (v1.4.0) is out. _This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._ Co-authored-by: meili-bot <[email protected]> Co-authored-by: Bruno Casali <[email protected]>
2 parents 187b143 + bc04047 commit e9029c5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

spec/meilisearch/index/settings_spec.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
'sortableAttributes',
2727
'typoTolerance',
2828
'faceting',
29-
'pagination'
29+
'pagination',
30+
'dictionary',
31+
'nonSeparatorTokens',
32+
'separatorTokens'
3033
]
3134
end
3235
let(:uid) { random_uid }
@@ -39,7 +42,7 @@
3942
it 'gets default values of settings' do
4043
settings = index.settings
4144
expect(settings).to be_a(Hash)
42-
expect(settings.keys).to contain_exactly(*settings_keys)
45+
expect(settings.keys).to include(*settings_keys)
4346
expect(settings['rankingRules']).to eq(default_ranking_rules)
4447
expect(settings['distinctAttribute']).to be_nil
4548
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)
@@ -540,7 +543,7 @@
540543
it 'gets the default values of settings' do
541544
settings = index.settings
542545
expect(settings).to be_a(Hash)
543-
expect(settings.keys).to contain_exactly(*settings_keys)
546+
expect(settings.keys).to include(*settings_keys)
544547
expect(settings['rankingRules']).to eq(default_ranking_rules)
545548
expect(settings['distinctAttribute']).to be_nil
546549
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)

0 commit comments

Comments
 (0)