|
|
|
@ -597,7 +597,7 @@ RSpec.describe LocationsController, type: :request do
|
|
|
|
|
it "updates existing location for scheme with valid params and redirects to correct page" do |
|
|
|
|
follow_redirect! |
|
|
|
|
expect(response).to have_http_status(:ok) |
|
|
|
|
expect(page).to have_content("Locations") |
|
|
|
|
expect(page).to have_content("Test") |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "updates existing location for scheme with valid params" do |
|
|
|
@ -736,7 +736,7 @@ RSpec.describe LocationsController, type: :request do
|
|
|
|
|
it "updates existing location for scheme with valid params and redirects to correct page" do |
|
|
|
|
follow_redirect! |
|
|
|
|
expect(response).to have_http_status(:ok) |
|
|
|
|
expect(page).to have_content("Locations") |
|
|
|
|
expect(page).to have_content("Test") |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "updates existing location for scheme with valid params" do |
|
|
|
|