1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

options => settings in ShowExceptions

This commit is contained in:
Simon Rozet 2009-12-23 03:51:59 +01:00
parent b1936b6a28
commit 01b5f65969
2 changed files with 2 additions and 2 deletions

View file

@ -294,7 +294,7 @@ TEMPLATE = <<HTML
</div> <!-- /RACK ENV --> </div> <!-- /RACK ENV -->
<p id="explanation">You're seeing this error because you have <p id="explanation">You're seeing this error because you have
enabled the <code>show_exceptions</code> option.</p> enabled the <code>show_exceptions</code> setting.</p>
</div> <!-- /WRAP --> </div> <!-- /WRAP -->
</body> </body>
</html> </html>

View file

@ -214,7 +214,7 @@ class SettingsTest < Test::Unit::TestCase
get '/' get '/'
assert_equal 500, status assert_equal 500, status
assert body.include?("StandardError") assert body.include?("StandardError")
assert body.include?("<code>show_exceptions</code> option") assert body.include?("<code>show_exceptions</code> setting")
end end
end end