Fix manual action entity specs
This commit is contained in:
parent
2aa211fa69
commit
0b75541559
1 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,10 @@ require 'spec_helper'
|
||||||
|
|
||||||
describe BuildActionEntity do
|
describe BuildActionEntity do
|
||||||
let(:build) { create(:ci_build, name: 'test_build') }
|
let(:build) { create(:ci_build, name: 'test_build') }
|
||||||
|
let(:request) { double('request') }
|
||||||
|
|
||||||
let(:entity) do
|
let(:entity) do
|
||||||
described_class.new(build, request: double)
|
described_class.new(build, request: spy('request'))
|
||||||
end
|
end
|
||||||
|
|
||||||
describe '#as_json' do
|
describe '#as_json' do
|
||||||
|
|
Loading…
Reference in a new issue