diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-01 22:34:44 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-06-02 14:14:09 +0300 |
commit | b24651826f249cd1fcbd87d097c42488d0472611 (patch) | |
tree | ba9ce7b7c945dfe05e129cf635d7f5bf6fe1068f /spec/serializers/build_details_entity_spec.rb | |
parent | 6c87239653e78ca5aaff9bb19424895c621bf7a1 (diff) |
Add user to BuildDetailsEntity
Also add minor changed needed to pass review
Diffstat (limited to 'spec/serializers/build_details_entity_spec.rb')
-rw-r--r-- | spec/serializers/build_details_entity_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/serializers/build_details_entity_spec.rb b/spec/serializers/build_details_entity_spec.rb index 8533cd77d1d..c372df7dd90 100644 --- a/spec/serializers/build_details_entity_spec.rb +++ b/spec/serializers/build_details_entity_spec.rb @@ -30,7 +30,8 @@ describe BuildDetailsEntity do it 'contains the needed key value pairs' do expect(subject).to include(:coverage, :erased_at, :duration) expect(subject).to include(:artifacts, :runner, :pipeline) - expect(subject).to include(:raw_path, :merge_request, :new_issue_path) + expect(subject).to include(:raw_path, :merge_request) + expect(subject[:build_failed_options]).to include(:new_issue_path) end it 'exposes details of the merge request' do |