after installing rspec and cucumber, you should run the following commands
rails creates rspec: install for rspec
rails generate, , , , ,
rspec
. ,
spec/models/user_spec.rb
rspec spec/models/user_spec.rb
,
rspec
:
, .feature
. , ,
feature/create_user.feature file
/step_definitions/create_user_steps.rb
http://loudcoding.com/posts/quick-tutorial-starting-with-cucumber-and-capybara-bdd-on-rails-project/