Skip to content

Instantly share code, notes, and snippets.

@kschrader
Created May 26, 2009 23:31
Show Gist options
  • Save kschrader/118356 to your computer and use it in GitHub Desktop.
Save kschrader/118356 to your computer and use it in GitHub Desktop.
[kschrader@einstein:trunk]$ cucumber enhanced
Sinatra::Test is deprecated; use Rack::Test instead.
You can only pass a proc to #World once, but it's happening
in 2 places:
advertiserDashboard/dist/advertiserDashboard/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.5/examples/selenium_webrat/features/support/env.rb:25:in `World'
advertiserDashboard/dist/advertiserDashboard/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.5/examples/sinatra/features/support/env.rb:19: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.
(Cucumber::MultipleWorld)
/Users/kschrader/code/intent/code/trunk/conf/vms/ruby/jruby-1.2.0/lib/ruby/gems/1.8/gems/cucumber-0.3.5/bin/../lib/cucumber/step_mother.rb:195:in `World'
./advertiserDashboard/dist/advertiserDashboard/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.5/examples/sinatra/features/support/env.rb:19
./advertiserDashboard/dist/advertiserDashboard/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.5/examples/sinatra/features/support/env.rb:31:in `require'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment