|
|
|
@ -50,6 +50,10 @@ RSpec.describe OrganisationsController, type: :request do
|
|
|
|
|
it "returns not found 404 from org route" do |
|
|
|
|
expect(response).to have_http_status(:not_found) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "shows the 404 view" do |
|
|
|
|
expect(page).to have_content("Page not found") |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|