Unify error pages (#674)

* Unify error pages

* Start travis
This commit is contained in:
shawn-higgins1
2019-07-22 12:33:53 -04:00
committed by Jesus Federico
parent 9dd30138ba
commit ee26036105
9 changed files with 65 additions and 82 deletions

View File

@ -35,7 +35,7 @@ describe AdminsController, type: :controller do
@request.session[:user_id] = @user.id
get :index
expect(response).to render_template(:not_found)
expect(response).to render_template(:greenlight_error)
end
it "renders the admin settings if an admin tries to acccess it" do