diff options
author | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-01-16 10:57:47 +0300 |
---|---|---|
committer | Constance Okoghenun <constanceokoghenun@gmail.com> | 2019-01-16 10:57:47 +0300 |
commit | b4e7efc065c8fc5b4564fea5db259db750d4b899 (patch) | |
tree | 1f240f9d7de6b1c457223f2cbf4cc1bb3d83c872 /spec/features/issuables | |
parent | e1655417ae5ed1943be2528c1d65b73964d9e4b9 (diff) |
Updated spec 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.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issuables/markdown_references/internal_references_spec.rb b/spec/features/issuables/markdown_references/internal_references_spec.rb index 1a3ccbe1556..8ce5e9f5af6 100644 --- a/spec/features/issuables/markdown_references/internal_references_spec.rb +++ b/spec/features/issuables/markdown_references/internal_references_spec.rb @@ -65,12 +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") + expect(page).to have_css(".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") + expect(page).to have_css(".merge-request-status") end expect(page).to have_content("mentioned in merge request #{private_project_merge_request.to_reference(public_project)}") |