I'm getting Rails and Cucumber going on my Mac OS X box. When I try to run the following scenario:
Feature: ActorDetail
In order to learn about an actor
As a costumer
I want to see their details
Scenario: Actors page should exist
Given I am on actor page
Then I should see "Actors"
When I attempt to run the tests I get the following:
kevin:11:17 PM:~/Documents/Rails/testApp: cucumber
Using the default profile...
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
F--F
Failing Scenarios:
cucumber features/ActorDetail.feature:6 # Scenario: Actors page should exist
1 scenario (1 failed)
2 steps (2 skipped)
0m0.138s
Which is a failing test, but not the way I would like it to fail, if you know what I mean. I was expecting a message telling me that there wasn't a path defined for "Actors"
Interestingly, if I change from double to single quotes around "Actors", this is what I get:
kevin:11:09 PM:~/Documents/Rails/testApp: cucumber
Using the default profile...
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
F-UF
Failing Scenarios:
cucumber features/ActorDetail.feature:6 # Scenario: Actors page should exist
1 scenario (1 failed)
2 steps (1 skipped, 1 undefined)
0m0.144s
I apologize if I am providing insufficient information on what gems I have installed, config, etc. I've been developing in Rails for about three hours so far.
Many thanks,
KevDog
Update I did a gem update, and now things seem to have gotten worse. This is the current error:
kevin:12:29 AM:~/Documents/Rails/testApp: cucumber
Using the default profile...
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/Users/kevin/.gem/ruby/1.8/gems/nokogiri-1.4.2/lib/nokogiri/nokogiri.bundle: [BUG] Bus Error
ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-darwin9.4.0]
Abort trap
That doesn't sound good at all.