diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-21 14:09:13 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-21 14:09:13 +0300 |
commit | eaa935d77b824510a141ab10e9471107c516f902 (patch) | |
tree | 18ce85e77804913d728ed58bdf4cd02259d03a59 /spec/serializers/build_details_entity_spec.rb | |
parent | 70489d08b7e8b4bd0ba566da2ed0e417bef3ed3e (diff) |
Fix target project merge request link on build page
Diffstat (limited to 'spec/serializers/build_details_entity_spec.rb')
-rw-r--r-- | spec/serializers/build_details_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/build_details_entity_spec.rb b/spec/serializers/build_details_entity_spec.rb index 446a2451956..1332572fffc 100644 --- a/spec/serializers/build_details_entity_spec.rb +++ b/spec/serializers/build_details_entity_spec.rb @@ -81,9 +81,9 @@ describe BuildDetailsEntity do expect(subject[:merge_request][:iid]).to eq merge_request.iid end - it 'has a correct merge request path' do + it 'has a merge request path to a target project' do expect(subject[:merge_request][:path]) - .to include fork_project.full_path + .to include project.full_path end end |