Skip to content

Commit

Permalink
options => settings in ShowExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sr committed Feb 22, 2010
1 parent 2f73dd1 commit c0745cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sinatra/showexceptions.rb
Expand Up @@ -294,7 +294,7 @@ def frame_class(frame)
</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>
Expand Down
2 changes: 1 addition & 1 deletion test/options_test.rb
Expand Up @@ -219,7 +219,7 @@ def clean_backtrace(trace)
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

Expand Down

0 comments on commit c0745cc

Please sign in to comment.