summaryrefslogtreecommitdiff
path: root/spec/models/project_services/mattermost_slash_commands_service_spec.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-20 20:11:02 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-20 20:11:02 +0100
commit2393d30da232db04faa8da9e1a958cec22ffb6e8 (patch)
tree99af01df83bbfa59a46fc5af2c939c39f9f7e202 /spec/models/project_services/mattermost_slash_commands_service_spec.rb
parente9c14918e51828dfbfa2879d5a04f74d08fae290 (diff)
downloadgitlab-ce-2393d30da232db04faa8da9e1a958cec22ffb6e8.tar.gz
Fix rubocop errors [ci skip]
Diffstat (limited to 'spec/models/project_services/mattermost_slash_commands_service_spec.rb')
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/project_services/mattermost_slash_commands_service_spec.rb b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
index 9fb6132d171..07662d2d89a 100644
--- a/spec/models/project_services/mattermost_slash_commands_service_spec.rb
+++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
@@ -10,13 +10,13 @@ describe MattermostSlashCommandsService, :models do
before do
allow_any_instance_of(Mattermost::Session).to
- receive(:with_session).and_yield
+ receive(:with_session).and_yield
end
subject do
service.configure!(user, team_id: 'abc',
- trigger: 'gitlab', url: 'http://trigger.url',
- icon_url: 'http://icon.url/icon.png')
+ trigger: 'gitlab', url: 'http://trigger.url',
+ icon_url: 'http://icon.url/icon.png')
end
context 'the requests succeeds' do