diff options
Diffstat (limited to 'spec/models/analytics/cycle_analytics')
-rw-r--r-- | spec/models/analytics/cycle_analytics/project_stage_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/analytics/cycle_analytics/project_stage_spec.rb b/spec/models/analytics/cycle_analytics/project_stage_spec.rb index 2e024011553..4675f037957 100644 --- a/spec/models/analytics/cycle_analytics/project_stage_spec.rb +++ b/spec/models/analytics/cycle_analytics/project_stage_spec.rb @@ -23,7 +23,7 @@ RSpec.describe Analytics::CycleAnalytics::ProjectStage do context 'relative positioning' do it_behaves_like 'a class that supports relative positioning' do - let(:project) { build(:project) } + let_it_be(:project) { create(:project) } let(:factory) { :cycle_analytics_project_stage } let(:default_params) { { project: project } } end |