Commit b4e7efc0 authored by Constance Okoghenun's avatar Constance Okoghenun

Updated spec for issues related merge request count and status

parent e1655417
...@@ -65,12 +65,12 @@ describe "Internal references", :js do ...@@ -65,12 +65,12 @@ describe "Internal references", :js do
it "shows references" do it "shows references" do
page.within("#merge-requests .merge-requests-title") do page.within("#merge-requests .merge-requests-title") do
expect(page).to have_content("1 Related Merge Request") 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 end
page.within("#merge-requests ul") do page.within("#merge-requests ul") do
expect(page).to have_content(private_project_merge_request.title) 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 end
expect(page).to have_content("mentioned in merge request #{private_project_merge_request.to_reference(public_project)}") expect(page).to have_content("mentioned in merge request #{private_project_merge_request.to_reference(public_project)}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment