summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-05-12 09:18:44 -0500
committersyasonik <syasonik@gitlab.com>2019-05-29 10:45:10 +0100
commit1e1321635f1124346b0d091293c2ab2b8ece0b49 (patch)
treec13805ee14813ac14b804824f3073ce9ed1a760a
parentb3e588ec6c703146e3bcbb5b7eb5b9cf92ee0e3c (diff)
downloadgitlab-ce-1e1321635f1124346b0d091293c2ab2b8ece0b49.tar.gz
Make specs more strict
-rw-r--r--spec/helpers/environments_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/environments_helper_spec.rb b/spec/helpers/environments_helper_spec.rb
index b4a11fa1aa6..0088b56ef16 100644
--- a/spec/helpers/environments_helper_spec.rb
+++ b/spec/helpers/environments_helper_spec.rb
@@ -9,8 +9,8 @@ describe EnvironmentsHelper do
describe '#metrics_data' do
subject { helper.metrics_data(project, environment) }
- it 'contains all keys' do
- expect(subject).to include(
+ it 'returns data' do
+ expect(subject).to match(
'settings-path' => edit_project_service_path(project, 'prometheus'),
'clusters-path' => project_clusters_path(project),
'current-environment-name': environment.name,