From bf8e55d5f8367a8583ba1675b58b36f64abfe1a2 Mon Sep 17 00:00:00 2001 From: Roger Hu Date: Sun, 10 May 2020 23:23:49 -0700 Subject: [PATCH] fix test because of changes in https://github.com/sinatra/sinatra/pull/1566 --- padrino-core/test/test_routing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/padrino-core/test/test_routing.rb b/padrino-core/test/test_routing.rb index bc84aaf97..cd36c7964 100644 --- a/padrino-core/test/test_routing.rb +++ b/padrino-core/test/test_routing.rb @@ -2122,7 +2122,7 @@ def authorize(username, password) mock_app { set :environment, :development } get "/" assert_equal 404, status - assert_match %r{(Sinatra doesn’t know this ditty.|

Not Found

)}, body + assert_match %r{GET /}, body end it 'should render a custom NotFound page' do