summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/cycle_analytics/production_event_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics/production_event_spec.rb')
-rw-r--r--spec/lib/gitlab/cycle_analytics/production_event_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/production_event_spec.rb b/spec/lib/gitlab/cycle_analytics/production_event_spec.rb
index 069c84efa09..6ee54f246a7 100644
--- a/spec/lib/gitlab/cycle_analytics/production_event_spec.rb
+++ b/spec/lib/gitlab/cycle_analytics/production_event_spec.rb
@@ -5,6 +5,6 @@ describe Gitlab::CycleAnalytics::ProductionEvent do
it_behaves_like 'default query config'
it 'has the default order' do
- expect(described_class.order).to eq(described_class.start_time_attrs)
+ expect(event.order).to eq(event.start_time_attrs)
end
end