summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/helpers/projects_helper_spec.rb2
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)