More info in the Unknown mode error message
This commit is contained in:
parent
f92f9bead8
commit
cbd323ac37
@ -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|
|
||||||
|
Loading…
Reference in New Issue
Block a user