From bd5245dba67b4aa4fccce819e4491259d568240b Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Mon, 30 Jan 2017 13:59:13 +0000 Subject: Updated test for new error result --- spec/features/projects/services/mattermost_slash_command_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/projects/services/mattermost_slash_command_spec.rb b/spec/features/projects/services/mattermost_slash_command_spec.rb index 6737b85e0d1..042a1ccab51 100644 --- a/spec/features/projects/services/mattermost_slash_command_spec.rb +++ b/spec/features/projects/services/mattermost_slash_command_spec.rb @@ -100,7 +100,7 @@ feature 'Setup Mattermost slash commands', feature: true do end it 'shows an error alert with the error message if there is an error requesting teams' do - allow_any_instance_of(MattermostSlashCommandsService).to receive(:list_teams) { 'test mattermost error message' } + allow_any_instance_of(MattermostSlashCommandsService).to receive(:list_teams) { [[], 'test mattermost error message'] } click_link 'Add to Mattermost' -- cgit v1.2.1