Displaying 1 result from an estimated 1 matches for "multipleworld".
2009 May 06
0
Cucumber, Webrat, RSpec and Mechanize for Non-Ruby Apps
...s to the world:
[code=]World do
MechanizeWorld.new
end[/code]
Adding this block gives me the following error:
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.2/bin/../lib/cucumber/
step_mother.rb:195:in `World'': You can only pass a pro
c to #World once, but it''s happening (Cucumber::MultipleWorld)
in 2 places:
ls/world.rb:84:in `World''
features/support/paths.rb:26:in `World''
Use Ruby modules instead to extend your worlds. See the
Cucumber::StepMother#World RDoc
or http://wiki.github.com/aslakhellesoy/cucumber/a-whole-new-world.
from ./features/support/paths.rb:26...