From cbd323ac37ee5fdee7339f4bb9caf921ed9f0cd0 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 18 Jan 2009 16:45:24 -0500 Subject: [PATCH] More info in the Unknown mode error message --- lib/webrat/core/session.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/webrat/core/session.rb b/lib/webrat/core/session.rb index 9b53794..6a0ffe0 100644 --- a/lib/webrat/core/session.rb +++ b/lib/webrat/core/session.rb @@ -29,6 +29,9 @@ Unknown Webrat mode: #{Webrat.configuration.mode.inspect} Please ensure you have a Webrat configuration block that specifies a mode in your test_helper.rb, spec_helper.rb, or env.rb (for Cucumber). + +This configure block supercedes the need to require "webrat/". + For example: Webrat.configure do |config|