Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-03-06 11:34:38 +0300
committerShinya Maeda <shinya@gitlab.com>2019-03-19 19:19:27 +0300
commitaee119c0cd44edd008f3167258bf45cb94ee5522 (patch)
tree53d2134cfbff85361f4875a1aa8eed075a282657 /spec/serializers
parent7fb9dff43dcf56472e22be7a26805ee5fa339e8b (diff)
Update pipeline detail view to accommodate post-merge pipelines
Commit changes Add spec Add changelog fix fix Fix Fix spec Finish spec ok nice ok ok ok fix
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/pipeline_entity_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/pipeline_entity_spec.rb b/spec/serializers/pipeline_entity_spec.rb
index c8308a0ae85..1d992e8a483 100644
--- a/spec/serializers/pipeline_entity_spec.rb
+++ b/spec/serializers/pipeline_entity_spec.rb
@@ -159,13 +159,13 @@ describe PipelineEntity do
expect(subject[:merge_request][:source_branch])
.to eq(merge_request.source_branch)
- expect(project_branch_path(project, merge_request.source_branch))
+ expect(project_commits_path(project, merge_request.source_branch))
.to include(subject[:merge_request][:source_branch_path])
expect(subject[:merge_request][:target_branch])
.to eq(merge_request.target_branch)
- expect(project_branch_path(project, merge_request.target_branch))
+ expect(project_commits_path(project, merge_request.target_branch))
.to include(subject[:merge_request][:target_branch_path])
end
end