Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improves developer documentation

  • Loading branch information...
commit 1f8b20dd92661c680672343a41b9dd7006a04979 1 parent 3214564
alindeman alindeman authored
Showing with 16 additions and 11 deletions.
  1. +12 −10 DEV-README.md
  2. +4 −1 README.md
22 DEV-README.md
View
@@ -3,23 +3,25 @@
git clone git://github.com/rspec/rspec-rails.git
cd rspec-rails
gem install bundler
- bundle install
+ bundle install --binstubs
Now you should be able to run any of:
- rake
- rake spec
- rake cucumber
+ bin/rake
+ bin/rake spec
+ bin/rake cucumber
-Or, if you prefer to use the rspec and cucumber commands directly, you can either:
+## Rails version
- bundle exec rspec
+rspec-rails runs its tests against many versions of Rails. To switch the
+active version used for tests, use the `thor version:use` command.
-Or ...
+Examples:
+
+ thor version:use 3.2.8
+ thor version:use 3-2-stable
+ thor version:use master
- bundle install --binstubs
- bin/rspec
-
## Customize the dev enviroment
The Gemfile includes the gems you'll need to be able to run specs. If you want
5 README.md
View
@@ -498,7 +498,10 @@ expect(:get => "/widgets/1/edit").not_to be_routable
# Contribute
-See [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)
+See [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev).
+
+For `rspec-rails`-specific development information, see
+[DEV-README](https://github.com/rspec/rspec-rails/blob/master/DEV-README.md).
# Also see
Please sign in to comment.
Something went wrong with that request. Please try again.