Skip to content

Commit

Permalink
Merge #481
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored Sep 25, 2023
2 parents 187b143 + bc04047 commit e9029c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spec/meilisearch/index/settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
'sortableAttributes',
'typoTolerance',
'faceting',
'pagination'
'pagination',
'dictionary',
'nonSeparatorTokens',
'separatorTokens'
]
end
let(:uid) { random_uid }
Expand All @@ -39,7 +42,7 @@
it 'gets default values of settings' do
settings = index.settings
expect(settings).to be_a(Hash)
expect(settings.keys).to contain_exactly(*settings_keys)
expect(settings.keys).to include(*settings_keys)
expect(settings['rankingRules']).to eq(default_ranking_rules)
expect(settings['distinctAttribute']).to be_nil
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)
Expand Down Expand Up @@ -540,7 +543,7 @@
it 'gets the default values of settings' do
settings = index.settings
expect(settings).to be_a(Hash)
expect(settings.keys).to contain_exactly(*settings_keys)
expect(settings.keys).to include(*settings_keys)
expect(settings['rankingRules']).to eq(default_ranking_rules)
expect(settings['distinctAttribute']).to be_nil
expect(settings['searchableAttributes']).to eq(default_searchable_attributes)
Expand Down

0 comments on commit e9029c5

Please sign in to comment.