Browse Source

Fix tests

pull/2606/head
Manny Dinssa 2 years ago
parent
commit
28eeb18b8c
  1. 2
      spec/requests/merge_requests_controller_spec.rb

2
spec/requests/merge_requests_controller_spec.rb

@ -506,7 +506,7 @@ RSpec.describe MergeRequestsController, type: :request do
end end
it "shows stock owners and managing agents count and doesn't have links to view merge outcomes" do it "shows stock owners and managing agents count and doesn't have links to view merge outcomes" do
expect(merge_request.status).to eq("processing") expect(merge_request.status).to eq("request_merged")
expect(page).not_to have_link("View", href: relationship_outcomes_merge_request_path(merge_request)) expect(page).not_to have_link("View", href: relationship_outcomes_merge_request_path(merge_request))
expect(page).to have_content("8 stock owners") expect(page).to have_content("8 stock owners")
expect(page).to have_content("5 managing agents") expect(page).to have_content("5 managing agents")

Loading…
Cancel
Save