Commit c315332b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Refine build entity tests a little

parent a2c1178c
require 'spec_helper'
describe BuildEntity do
subject do
described_class.new(build, request: double).as_json
let(:entity) do
described_class.new(build, request: double)
end
subject { entity.as_json }
context 'when build is a regular job' do
let(:build) { create(:ci_build) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment