Commit e652787c authored by Alex Kalderimis's avatar Alex Kalderimis

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

parent 8bd3a911
......@@ -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