diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-12 15:22:32 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-12 15:22:32 +0200 |
commit | 0b75541559c0550bd3e195ca5aca55016fa614ef (patch) | |
tree | 405e2ed86afbc77ccc1f21656ba6c0abc4ea8860 /spec/serializers | |
parent | 2aa211fa69ffd02ba11757e06e19d34f6ca51865 (diff) | |
download | gitlab-ce-0b75541559c0550bd3e195ca5aca55016fa614ef.tar.gz |
Fix manual action entity specs
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/build_action_entity_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/serializers/build_action_entity_spec.rb b/spec/serializers/build_action_entity_spec.rb index 54ac17447b1..059deba5416 100644 --- a/spec/serializers/build_action_entity_spec.rb +++ b/spec/serializers/build_action_entity_spec.rb @@ -2,9 +2,10 @@ require 'spec_helper' describe BuildActionEntity do let(:build) { create(:ci_build, name: 'test_build') } + let(:request) { double('request') } let(:entity) do - described_class.new(build, request: double) + described_class.new(build, request: spy('request')) end describe '#as_json' do |