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:
parent
b1936b6a28
commit
01b5f65969
2 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ TEMPLATE = <<HTML
|
|||
</div> <!-- /RACK ENV -->
|
||||
|
||||
<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 -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -214,7 +214,7 @@ class SettingsTest < Test::Unit::TestCase
|
|||
get '/'
|
||||
assert_equal 500, status
|
||||
assert body.include?("StandardError")
|
||||
assert body.include?("<code>show_exceptions</code> option")
|
||||
assert body.include?("<code>show_exceptions</code> setting")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue