f494f2711a
Also moves the assertions were they belong
15 lines
424 B
Ruby
15 lines
424 B
Ruby
require 'spec_helper'
|
|
|
|
describe CommitStatusPresenter do
|
|
let(:project) { create(:project) }
|
|
let(:pipeline) { create(:ci_pipeline, project: project) }
|
|
let(:build) { create(:ci_build, pipeline: pipeline) }
|
|
|
|
subject(:presenter) do
|
|
described_class.new(build)
|
|
end
|
|
|
|
it 'inherits from Gitlab::View::Presenter::Delegated' do
|
|
expect(described_class.superclass).to eq(Gitlab::View::Presenter::Delegated)
|
|
end
|
|
end
|