Skip to content

Commit

Permalink
fix test because of changes in sinatra/sinatra#1566
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Hu committed May 11, 2020
1 parent 6214ef6 commit bf8e55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/test/test_routing.rb
Expand Up @@ -2122,7 +2122,7 @@ def authorize(username, password)
mock_app { set :environment, :development }
get "/"
assert_equal 404, status
assert_match %r{(Sinatra doesn&rsquo;t know this ditty.|<h1>Not Found</h1>)}, body
assert_match %r{GET /}, body
end

it 'should render a custom NotFound page' do
Expand Down

0 comments on commit bf8e55d

Please sign in to comment.