Capybara installed but not functioning correctly

Hi, Please i need assistance.

I installed capybara (as directed by the book i’m reading - rails 3 in
action). According to the book, running rake cucumber:install should
install web_steps.rb in ./ features/step)definitions, however when i ran
it, but the file wasn’t created. please did i get it wrong somewhere?
vos
the rest of that chapter makjes use of capybara’s simulation and
cucumber
to test features.
I’m using rails 3.2.1, cucumber-rails 1.3.0 and capybara 2.0.2

Please i need assistance, Thanks!

On Tuesday, January 29, 2013 12:00:04 PM UTC, Osifo A. wrote:

Hi, Please i need assistance.

I installed capybara (as directed by the book i’m reading - rails 3 in
action). According to the book, running rake cucumber:install should
install web_steps.rb in ./ features/step)definitions, however when i ran
it, but the file wasn’t created. please did i get it wrong somewhere? vos
the rest of that chapter makjes use of capybara’s simulation and cucumber
to test features.

web_steps.rb was removed from cucumber-rails -
see
http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs