diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-12 18:09:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-12 18:09:17 +0300 |
commit | 901ecdbf5cccc7f40a4e959835389af19ddd87ee (patch) | |
tree | e882146114a6cc2c009d4e1c4229aaeccc226cc4 /spec/support/services | |
parent | a99c04f0185d6a6b398c37630c392ca84494c0a5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/services')
-rw-r--r-- | spec/support/services/issuable_update_service_shared_examples.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/services/issuable_update_service_shared_examples.rb b/spec/support/services/issuable_update_service_shared_examples.rb index c168df7a7d2..94061b140f4 100644 --- a/spec/support/services/issuable_update_service_shared_examples.rb +++ b/spec/support/services/issuable_update_service_shared_examples.rb @@ -47,7 +47,7 @@ RSpec.shared_examples 'broadcasting issuable labels updates' do it 'triggers the GraphQL subscription' do expect(GraphqlTriggers).to receive(:issuable_labels_updated).with(issuable) - update_issuable({ add_label_ids: [label_b.id] }) + update_issuable(add_label_ids: [label_b.id]) end end @@ -55,7 +55,7 @@ RSpec.shared_examples 'broadcasting issuable labels updates' do it 'triggers the GraphQL subscription' do expect(GraphqlTriggers).to receive(:issuable_labels_updated).with(issuable) - update_issuable({ remove_label_ids: [label_a.id] }) + update_issuable(remove_label_ids: [label_a.id]) end end @@ -63,7 +63,7 @@ RSpec.shared_examples 'broadcasting issuable labels updates' do it 'does not trigger the GraphQL subscription' do expect(GraphqlTriggers).not_to receive(:issuable_labels_updated).with(issuable) - update_issuable({ label_ids: [label_a.id] }) + update_issuable(label_ids: [label_a.id]) end end end |