webrat_steps.rb missing
Asked Answered
D

1

7

I'm trying to work through http://railscasts.com/episodes/155-beginning-with-cucumber which basically teaches how to use Cucumber within Rails applications.

I installed all missing gems and running rails g cucumber:install runs though without issues but misses to create the features/step_definitions/webrat_steps.rb.

The setup I'm using is Ruby 1.9.3 (through RVM) and Rails 3.1.3 on Ubuntu. Running bundle also contains webrat, rspec, rspec-rails and cucumber (as expected)

So where can I get this file? Why would it now show up?

Cheers

Decontaminate answered 14/12, 2011 at 10:58 Comment(0)
W
5

This file was removed in latest releases of the Cucumber. If you want it back install older version of the gem.

Windowlight answered 14/12, 2011 at 11:8 Comment(2)
check rubyshow.com/episodes/… or ruby5.envylabs.com/episodes/… or aslakhellesoy.com/post/11055981222/the-training-wheels-came-offWindowlight
specifically: gem 'cucumber-rails', '1.0.6'Reims

© 2022 - 2024 — McMap. All rights reserved.