summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/cycle_analytics/code_event_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/cycle_analytics/code_event_spec.rb')
-rw-r--r--spec/lib/gitlab/cycle_analytics/code_event_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/cycle_analytics/code_event_spec.rb b/spec/lib/gitlab/cycle_analytics/code_event_spec.rb
index 7b854d7fea1..43f42d1bde8 100644
--- a/spec/lib/gitlab/cycle_analytics/code_event_spec.rb
+++ b/spec/lib/gitlab/cycle_analytics/code_event_spec.rb
@@ -2,9 +2,9 @@ require 'spec_helper'
require 'lib/gitlab/cycle_analytics/shared_event_spec'
describe Gitlab::CycleAnalytics::CodeEvent do
- it_behaves_like 'default query config'
-
- it 'has the default order' do
- expect(described_class.order).not_to eq(described_class.start_time_attrs)
+ it_behaves_like 'default query config' do
+ it 'does not have the default order' do
+ expect(event.order).not_to eq(event.start_time_attrs)
+ end
end
end