Skip to content

Commit 37f5324

Browse files
authored
Merge bc04047 into 187b143
2 parents 187b143 + bc04047 commit 37f5324

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)