Updated test for new error result
This commit is contained in:
parent
b3de65bcc5
commit
bd5245dba6
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue