Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 11:09:18 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-03-06 13:30:13 +0300
commit3b89ebb81c828dec546e32093aeebdeb8a7e1829 (patch)
tree9ecd0372744fdf8eb481f687ed85b430d217edf9 /spec/models/project_services
parent2cc6485518c332d1452316e24155e921020886d9 (diff)
Fix values being called at Array instead of Hash
Diffstat (limited to 'spec/models/project_services')
-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