1

我有以下配置:

  • 红宝石 2.0.0-p247
  • Rails 4.1.0.beta
  • 黄瓜1.3.5
  • 黄瓜-rails-1.3.0

当我运行rake cucumberorcucumber myfeature.feature时,我得到

uninitialized constant ActionController::IntegrationTest (NameError)
/Users/lrains/.rvm/gems/ruby-2.0.0-p247/gems/cucumber-rails-1.3.0/lib/cucumber/rails/world.rb:9:in `<module:Rails>'
/Users/lrains/.rvm/gems/ruby-2.0.0-p247/gems/cucumber-rails-1.3.0/lib/cucumber/rails/world.rb:8:in `<module:Cucumber>'
/Users/lrains/.rvm/gems/ruby-2.0.0-p247/gems/cucumber-rails-1.3.0/lib/cucumber/rails/world.rb:7:in `<top (required)>'
/Users/lrains/.rvm/gems/ruby-2.0.0-p247/gems/cucumber-rails-1.3.0/lib/cucumber/rails.rb:21:in `<top (required)>'
/Users/lrains/balm/features/support/env.rb:7:in `require'
/Users/lrains/balm/features/support/env.rb:7:in `<top (required)>'
...

这是兼容性问题吗?我该如何解决它并运行我的测试?

4

0 回答 0