summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/cycle_analytics/shared_config_spec.rb
blob: 060a59151d8c2278dcca6c4790e0974f1565b430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

shared_examples 'default query config' do
  it 'has the start attributes' do
    expect(described_class.start_time_attrs).not_to be_nil
  end

  it 'has the end attributes' do
    expect(described_class.end_time_attrs ).not_to be_nil
  end

  it 'has the projection attributes' do
    expect(described_class.projections).not_to be_nil
  end
end