summaryrefslogtreecommitdiff
path: root/spec/models/cycle_analytics/summary_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/cycle_analytics/summary_spec.rb')
-rw-r--r--spec/models/cycle_analytics/summary_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/cycle_analytics/summary_spec.rb b/spec/models/cycle_analytics/summary_spec.rb
index 725bc68b25f..1a54c57a278 100644
--- a/spec/models/cycle_analytics/summary_spec.rb
+++ b/spec/models/cycle_analytics/summary_spec.rb
@@ -4,7 +4,7 @@ describe CycleAnalytics::Summary, models: true do
let(:project) { create(:project) }
let(:from) { Time.now }
let(:user) { create(:user, :admin) }
- subject { described_class.new(project, user, from: from) }
+ subject { CycleAnalyticsTest.new(project, options: { from: from_date }) }
describe "#new_issues" do
it "finds the number of issues created after the 'from date'" do