Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
630 B

require "rails_helper"
RSpec.describe ErrorsController, type: :controller do
describe "GET #not_found" do
it "returns not found" do
get :not_found
expect(response).to have_http_status(:not_found)
end
end
describe "GET #internal_server_error" do
it "returns internal_server_error" do
get :internal_server_error
expect(response).to have_http_status(:internal_server_error)
end
end
describe "GET #unprocessable_entity" do
it "returns unprocessable_entity" do
get :unprocessable_entity
expect(response).to have_http_status(:unprocessable_content)
end
end
end