diff options
Diffstat (limited to 'spec/models/cycle_analytics/plan_spec.rb')
-rw-r--r-- | spec/models/cycle_analytics/plan_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/cycle_analytics/plan_spec.rb b/spec/models/cycle_analytics/plan_spec.rb index 3d22a284264..477c63a4879 100644 --- a/spec/models/cycle_analytics/plan_spec.rb +++ b/spec/models/cycle_analytics/plan_spec.rb @@ -8,7 +8,7 @@ describe 'CycleAnalytics#plan' do let(:project) { create(:project, :repository) } let(:from_date) { 10.days.ago } let(:user) { create(:user, :admin) } - subject { CycleAnalytics.new(project, from: from_date) } + subject { CycleAnalytics::ProjectLevel.new(project: project, options: { from: from_date }) } generate_cycle_analytics_spec( phase: :plan, |