README.rdoc in cucumber-rails-0.3.0 vs README.rdoc in cucumber-rails-0.3.1
- old
+ new
@@ -13,33 +13,39 @@
Before you can use the generator, add the necessary gems to your project's Gemfile as follows:
gem 'capybara'
gem 'database_cleaner'
gem 'cucumber-rails'
+ gem 'cucumber', '0.7.2'
+ gem 'rspec-rails', '2.0.0.beta.8'
+ gem 'spork'
+ gem 'launchy' # So you can do Then show me the page
-Or if you prefer the latest and greatest:
-
- gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git'
- gem 'database_cleaner', :git => 'git://github.com/bmabey/database_cleaner.git'
- gem 'cucumber-rails', :git => 'git://github.com/aslakhellesoy/cucumber-rails3.git'
-
Then install the gems by running:
bundle install
-Finally, bootstrap your Rails app by running:
+Learn about the various options:
- ruby script/rails generate cucumber:skeleton
+ ruby script/rails generate cucumber:skeleton --help
+Finally, bootstrap your Rails app, for example:
+
+ ruby script/rails generate cucumber:skeleton --rspec --capybara
+
=== Rails 2.x:
Before you can use the generator, install the gem by running:
gem install cucumber-rails
-Finally, bootstrap your Rails app by running:
+Learn about the various options:
- script/generate cucumber
+ ruby script/generate cucumber --help
+
+Finally, bootstrap your Rails app, for example:
+
+ ruby script/generate cucumber --rspec --capybara
== Generating a Cucumber feature
IMPORTANT: Only do this if you are new to Cucumber. We recommend you write your
Cucumber features by hand once you get the hang of it.