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:
authorConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-16 00:35:53 +0300
committerConstance Okoghenun <constanceokoghenun@gmail.com>2019-01-16 00:35:53 +0300
commite1655417ae5ed1943be2528c1d65b73964d9e4b9 (patch)
tree9e0e485c38dd6c9a37568433729cc505c22a57cc /spec/features/issuables
parent7a5a7985b367ace7a8c7c1089edd372454111200 (diff)
Updated spec for issues references
Added tests for issues related merge request count and status
Diffstat (limited to 'spec/features/issuables')
-rw-r--r--spec/features/issuables/markdown_references/internal_references_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/issuables/markdown_references/internal_references_spec.rb b/spec/features/issuables/markdown_references/internal_references_spec.rb
index 9613e22bf24..1a3ccbe1556 100644
--- a/spec/features/issuables/markdown_references/internal_references_spec.rb
+++ b/spec/features/issuables/markdown_references/internal_references_spec.rb
@@ -65,10 +65,12 @@ describe "Internal references", :js do
it "shows references" do
page.within("#merge-requests .merge-requests-title") do
expect(page).to have_content("1 Related Merge Request")
+ expect(page).to have_content(".mr-count-badge")
end
page.within("#merge-requests ul") do
expect(page).to have_content(private_project_merge_request.title)
+ expect(page).to have_content(".merge-request-status")
end
expect(page).to have_content("mentioned in merge request #{private_project_merge_request.to_reference(public_project)}")