姬長信(Redy)

calabash-android:`Cucumber :: Ast`不再存在


我从葫芦开始,我无法进行测试.测试很简单,只需按一个TextView:

Feature: Login feature
    Scenario: Given I am on the Login page 
    touch("TextView id:'com.tae.store:id/option_bag'")

但我总是有同样的错误:

功能:登录功能

  Scenario: Given I am on the Login page # features/my_first.feature:3
      touch("TextView id:'com.tae.store:id/option_bag'")
  `Cucumber::Ast` no longer exists. These classes have moved into the `Cucumber::Core::Ast` namespace, but may not have the same API. (RuntimeError)
  ./features/support/app_installation_hooks.rb:8:in `Before'

Failing Scenarios:
cucumber features/my_first.feature:3 # Scenario: Given I am on the Login page

1 scenario (1 failed)
0 steps
0m6.173s

我正在使用Ruby 1.9.3(我也尝试过使用Ruby 2.0.0).

谢谢