Commit b9771818 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch '330300-ajk-model-specs-28' into 'master'

Remove references to service in spec/models/integrations/asana_spec.rb

See merge request gitlab-org/gitlab!65040
parents 67bf967f e652787c
......@@ -48,7 +48,7 @@ RSpec.describe Integrations::Asana do
)
end
it 'calls Asana service to create a story' do
it 'calls Asana integration to create a story' do
data = create_data_for_commits("Message from commit. related to ##{gid}")
expected_message = "#{data[:user_name]} pushed to branch #{data[:ref]} of #{project.full_name} ( #{data[:commits][0][:url]} ): #{data[:commits][0][:message]}"
......@@ -59,7 +59,7 @@ RSpec.describe Integrations::Asana do
@asana.execute(data)
end
it 'calls Asana service to create a story and close a task' do
it 'calls Asana integration to create a story and close a task' do
data = create_data_for_commits('fix #456789')
d1 = double('Asana::Resources::Task')
expect(d1).to receive(:add_comment)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment