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 24efc88 commit 530810eCopy full SHA for 530810e
spec/meilisearch/client/requests_spec.rb
@@ -4,18 +4,16 @@
4
let(:key) { SecureRandom.uuid }
5
6
before(:each) do
7
- @client = MeiliSearch::Client.new(URL, MASTER_KEY)
8
-
9
expect(MeiliSearch::Client).to receive(:post)
10
.with(kind_of(String), hash_including(body: "{\"primaryKey\":\"#{key}\",\"uid\":\"#{key}\"}"))
11
.and_call_original
12
end
13
14
it 'parses options when they are in a snake_case' do
15
- @client.create_index(key, primary_key: key)
+ client.create_index(key, primary_key: key)
16
17
18
it 'parses options when they are in a different shape' do
19
- @client.create_index(key, priMARy_kEy: key)
+ client.create_index(key, priMARy_kEy: key)
20
21
0 commit comments