Commit bd5245db authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Updated test for new error result

parent b3de65bc
...@@ -100,7 +100,7 @@ feature 'Setup Mattermost slash commands', feature: true do ...@@ -100,7 +100,7 @@ feature 'Setup Mattermost slash commands', feature: true do
end end
it 'shows an error alert with the error message if there is an error requesting teams' do 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' click_link 'Add to Mattermost'
......
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