We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc7509 commit 691f940Copy full SHA for 691f940
spec/meilisearch/client/indexes_spec.rb
@@ -79,11 +79,12 @@
79
end.to raise_meilisearch_api_error_with(400, 'invalid_index_uid', 'invalid_request_error')
80
end
81
82
-
83
it 'gets list of indexes as MeiliSearch::Index' do
84
- response = @client.indexes
85
- expect(response.count).to eq(5)
86
- expect(response).to all(be_a(MeiliSearch::Index))
+ client.create_index('index')
+
+ response = client.indexes.first
87
+ expect(response).to be_a(MeiliSearch::Index)
88
89
90
it 'gets list of raw indexes' do
0 commit comments