From 01b5f659698f776a4cb8fe483bc6926bc65feef9 Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Wed, 23 Dec 2009 03:51:59 +0100 Subject: [PATCH] options => settings in ShowExceptions --- lib/sinatra/showexceptions.rb | 2 +- test/settings_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sinatra/showexceptions.rb b/lib/sinatra/showexceptions.rb index c5aa1788..477f0c4c 100644 --- a/lib/sinatra/showexceptions.rb +++ b/lib/sinatra/showexceptions.rb @@ -294,7 +294,7 @@ TEMPLATE = <

You're seeing this error because you have -enabled the show_exceptions option.

+enabled the show_exceptions setting.

diff --git a/test/settings_test.rb b/test/settings_test.rb index 039bfde6..b050f0dc 100644 --- a/test/settings_test.rb +++ b/test/settings_test.rb @@ -214,7 +214,7 @@ class SettingsTest < Test::Unit::TestCase get '/' assert_equal 500, status assert body.include?("StandardError") - assert body.include?("show_exceptions option") + assert body.include?("show_exceptions setting") end end