summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 09:09:18 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 09:09:18 +0100
commitaf784ec672781160de4b6848625c6b83ca89268a (patch)
tree2e81adb73359a5d157b6dc3da551242009368f4a
parent2cc6485518c332d1452316e24155e921020886d9 (diff)
downloadgitlab-ce-26384-improve-omnibus-mattermost-command-installation-flow.tar.gz
Fix values being called at Array instead of Hash26384-improve-omnibus-mattermost-command-installation-flow
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb2
1 files changed, 1 insertions, 1 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 598ff232c82..f9531be5d25 100644
--- a/spec/models/project_services/mattermost_slash_commands_service_spec.rb
+++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
@@ -92,7 +92,7 @@ describe MattermostSlashCommandsService, :models do
to_return(
status: 200,
headers: { 'Content-Type' => 'application/json' },
- body: ['list'].to_json
+ body: { 'list' => true }.to_json
)
end