More info in the Unknown mode error message

This commit is contained in:
Bryan Helmkamp 2009-01-18 16:45:24 -05:00
parent f92f9bead8
commit cbd323ac37

View File

@ -29,6 +29,9 @@ Unknown Webrat mode: #{Webrat.configuration.mode.inspect}
Please ensure you have a Webrat configuration block that specifies a mode 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). in your test_helper.rb, spec_helper.rb, or env.rb (for Cucumber).
This configure block supercedes the need to require "webrat/<framework>".
For example: For example:
Webrat.configure do |config| Webrat.configure do |config|