Commit 6f268e9c authored by Constance Okoghenun's avatar Constance Okoghenun

Updated test for related merge request title

parent d30823c7
......@@ -64,7 +64,7 @@ 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("Related merge requests")
expect(page).to have_css(".mr-count-badge")
end
......
......@@ -141,7 +141,7 @@ describe 'User creates branch and merge request on issue page', :js do
it 'disables the create branch button' do
expect(page).to have_css('.create-mr-dropdown-wrap .unavailable:not(.hidden)')
expect(page).to have_css('.create-mr-dropdown-wrap .available.hidden', visible: false)
expect(page).to have_content /1 Related Merge Request/
expect(page).to have_content /Related merge requests/
end
end
......
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