Could not find generator cucumber:install.
I fix this by installing cucumber-rails gem instead of the cucumber gem.
gem install cucumber-railsor you can put it in your bundle file.
source 'http://rubygems.org' . . . group :test do gem 'rspec', '2.5.0' gem 'capybara' gem 'cucumber-rails' end
rails generate cucumber:install --capybara
create config/cucumber.yml
create script/cucumber
chmod script/cucumber
create features/step_definitions
create features/step_definitions/web_steps.rb
create features/support
create features/support/paths.rb
create features/support/selectors.rb
create features/support/env.rb
exist lib/tasks
create lib/tasks/cucumber.rake
gsub config/database.yml
gsub config/database.yml
force config/database.yml
No comments:
Post a Comment