diff options
author | syasonik <syasonik@gitlab.com> | 2019-05-20 18:40:06 +0100 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-05-29 10:53:34 +0100 |
commit | 9b49ef24887910d6aa5a066150f2422c2f9f34f0 (patch) | |
tree | 8da9f7ee52a1175c8f1a29f90f5ec02b37f08aae | |
parent | e1ac1b8245a0bfb0d11a4a24c0b0c20479b5218e (diff) | |
download | gitlab-ce-9b49ef24887910d6aa5a066150f2422c2f9f34f0.tar.gz |
Let! metric setting for project helper spec
-rw-r--r-- | spec/helpers/projects_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb index bc09e65f717..527e698b06c 100644 --- a/spec/helpers/projects_helper_spec.rb +++ b/spec/helpers/projects_helper_spec.rb @@ -828,7 +828,7 @@ describe ProjectsHelper do end context 'metrics_setting exists' do - let(:metrics_setting) { create(:project_metrics_setting, project: project) } + let!(:metrics_setting) { create(:project_metrics_setting, project: project) } it 'returns external_dashboard_url' do expect(helper.metrics_external_dashboard_url).to eq(metrics_setting.external_dashboard_url) |