We should use better names to our indexes in the tests like this:
|
client.create_index!('uid', primaryKey: 'primary_key') |
|
new_client.create_index!('options') |
|
client.create_index!('new_index') |
We can choose books, people, songs, animals, and other simple words to help the understanding of our tests.
Another good step is to provide a way to randomize the final index name as we have in the rails package:
https://github.com/meilisearch/meilisearch-rails/blob/9790a6635096a905d823ce1ee2c70c0aba5a2e15/spec/spec_helper.rb#L51-L57
We should use better names to our indexes in the tests like this:
meilisearch-ruby/spec/meilisearch/index/base_spec.rb
Line 73 in e19ccc5
meilisearch-ruby/spec/meilisearch/index/base_spec.rb
Line 110 in e19ccc5
meilisearch-ruby/spec/meilisearch/index/base_spec.rb
Line 5 in e19ccc5
We can choose books, people, songs, animals, and other simple words to help the understanding of our tests.
Another good step is to provide a way to randomize the final index name as we have in the rails package:
https://github.com/meilisearch/meilisearch-rails/blob/9790a6635096a905d823ce1ee2c70c0aba5a2e15/spec/spec_helper.rb#L51-L57