Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d871a commit 092c3ddCopy full SHA for 092c3dd
spec/requests/errors_spec.rb
@@ -9,20 +9,23 @@
9
get '/does_not_exist'
10
end
11
expect(response.status).to eq(404)
12
+ expect(response.body).to include("子どものためのプログラミング道場")
13
14
15
it 'renders the 422 error page' do
16
with_exceptions_app do
17
get '/trigger_422'
18
19
expect(response.status).to eq(422)
20
21
22
23
it 'renders the 500 error page' do
24
25
get '/trigger_500'
26
27
expect(response.status).to eq(500)
28
29
30
31
0 commit comments