diff options
Diffstat (limited to 'spec/finders/analytics/cycle_analytics/stage_finder_spec.rb')
-rw-r--r-- | spec/finders/analytics/cycle_analytics/stage_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb b/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb index 0275205028a..3e10ed78ab9 100644 --- a/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb +++ b/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb @@ -7,7 +7,7 @@ RSpec.describe Analytics::CycleAnalytics::StageFinder do let(:stage_id) { { id: Gitlab::Analytics::CycleAnalytics::DefaultStages.names.first } } - subject { described_class.new(parent: project, stage_id: stage_id[:id]).execute } + subject { described_class.new(parent: project.project_namespace, stage_id: stage_id[:id]).execute } context 'when looking up in-memory default stage by name exists' do it { expect(subject).not_to be_persisted } |