Welcome to mirror list, hosted at ThFree Co, Russian Federation.

shared_event_spec.rb « cycle_analytics « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b15af783dfbf2bf2d3b5a92b45b9b2059e59a91e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

  it 'implements the fetch method' do
    expect(described_class.fetch).not_to raise_error
  end
end