f540ffcef6
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
16 lines
412 B
Ruby
16 lines
412 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
shared_examples 'default query config' do
|
|
let(:project) { create(:project) }
|
|
let(:event) { described_class.new(stage: stage_name, options: { from: 1.day.ago, project: project }) }
|
|
|
|
it 'has the stage attribute' do
|
|
expect(event.stage).not_to be_nil
|
|
end
|
|
|
|
it 'has the projection attributes' do
|
|
expect(event.projections).not_to be_nil
|
|
end
|
|
end
|