2016-11-16 11:01:10 +00:00
|
|
|
require 'spec_helper'
|
2016-11-17 12:22:27 +00:00
|
|
|
require 'lib/gitlab/cycle_analytics/shared_event_spec'
|
2016-11-16 11:01:10 +00:00
|
|
|
|
2016-12-02 16:09:29 +00:00
|
|
|
describe Gitlab::CycleAnalytics::CodeEventFetcher do
|
2016-11-23 10:28:28 +00:00
|
|
|
let(:stage_name) { :code }
|
|
|
|
|
2016-11-18 07:13:34 +00:00
|
|
|
it_behaves_like 'default query config' do
|
2016-12-05 08:47:10 +00:00
|
|
|
it 'has a default order' do
|
|
|
|
expect(event.order).not_to be_nil
|
2016-11-18 07:13:34 +00:00
|
|
|
end
|
2016-11-16 11:01:10 +00:00
|
|
|
end
|
|
|
|
end
|