diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-05-17 07:06:56 -0400 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-05-29 10:45:10 +0100 |
commit | 716b9fb885cbb0450fc8ae0aacd48a8402af85b8 (patch) | |
tree | a5719d13e743de78faa3dac359d9d32b071381e3 | |
parent | adab5eb19f9aaf34e2c4a4fd688c5a9a3d99140e (diff) | |
download | gitlab-ce-716b9fb885cbb0450fc8ae0aacd48a8402af85b8.tar.gz |
Use include in CE spec
The same spec, when run on EE, will have extra keys. So, we can't use
`match` since that will complain about the extra keys.
-rw-r--r-- | spec/helpers/environments_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/environments_helper_spec.rb b/spec/helpers/environments_helper_spec.rb index 1945882ff2f..2d8529d4b94 100644 --- a/spec/helpers/environments_helper_spec.rb +++ b/spec/helpers/environments_helper_spec.rb @@ -17,7 +17,7 @@ describe EnvironmentsHelper do subject { helper.metrics_data(project, environment) } it 'returns data' do - expect(subject).to match( + expect(subject).to include( 'settings-path' => edit_project_service_path(project, 'prometheus'), 'clusters-path' => project_clusters_path(project), 'current-environment-name': environment.name, |