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.
2 parents f3af64e + b8eea71 commit 3234ff6Copy full SHA for 3234ff6
spec/meilisearch/client/keys_spec.rb
@@ -31,6 +31,12 @@
31
expect(new_key['description']).to eq('A new key to add docs')
32
end
33
34
+ it 'creates a key with wildcarded action' do
35
+ new_key = client.create_key(add_docs_key_options.merge(actions: ['documents.*']))
36
+
37
+ expect(new_key['actions']).to eq(['documents.*'])
38
+ end
39
40
it 'creates a key with setting uid' do
41
new_key = client.create_key(add_docs_key_options.merge(uid: uuid_v4))
42
0 commit comments