diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 12:07:48 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-05 12:07:48 +0000 |
commit | 5a6b36b60502c50ab59c0bc3c345793b70a3d548 (patch) | |
tree | 7cf2effbd48359b44970f8f345cfa12ce6843dfd /spec | |
parent | a76d34e6716aa8267111ecdcd21416e9dec3a08d (diff) | |
download | gitlab-ce-5a6b36b60502c50ab59c0bc3c345793b70a3d548.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/presenters/projects/prometheus/alert_presenter_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/presenters/projects/prometheus/alert_presenter_spec.rb b/spec/presenters/projects/prometheus/alert_presenter_spec.rb index ddf0934573f..85c73aa3533 100644 --- a/spec/presenters/projects/prometheus/alert_presenter_spec.rb +++ b/spec/presenters/projects/prometheus/alert_presenter_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Projects::Prometheus::AlertPresenter do - let_it_be(:project) { create(:project) } + let_it_be(:project, reload: true) { create(:project) } let(:presenter) { described_class.new(alert) } let(:payload) { {} } @@ -174,7 +174,6 @@ describe Projects::Prometheus::AlertPresenter do context 'create issue setting enabled' do before do create(:project_incident_management_setting, project: project, create_issue: true) - project.reload end it { is_expected.to eq(true) } |