Reputation: 2508
I am starting to use cucumber for high level testing. I have this defined in my gem file:
group :test do
# Pretty printed test output
gem 'turn', '< 0.8.3', :require => false
gem 'rspec-rails', '2.6.1'
gem 'cucumber-rails'#, '2.6.1'
gem 'webrat'#, '0.7.1'
gem 'capybara'
gem 'database_cleaner'
end
and this in my test.feature
Scenario: Go to contact
Given I go to contact page
Then I should see contact page
When I run bundle exec cucumber features
I have to define all the steps. Isn't go to page
supposed to be a build-in defined step? It seems that capybara and cucumber are not working together. Am I missing something?
Upvotes: 0
Views: 1941
Reputation: 107728
These steps are no longer defined in more recent cucumber-rails
versions. See here for a better explanation of why: http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off.
Upvotes: 4