Permalink
Browse files

installation instructions Rails 3 vs Rails 2

  • Loading branch information...
1 parent 44dc215 commit ff7006ebae02feb29667640b33a31a007c72bd08 @mislav mislav committed Feb 13, 2011
Showing with 6 additions and 2 deletions.
  1. +6 −2 README.markdown
View
@@ -3,13 +3,17 @@ rspec-rails Mocha extension
Functionality of `mock_model` and `stub_model` from rspec-rails for those using Mocha.
-Installation:
+Installation for **Rails 3**:
# Gemfile
group :test do
- gem 'rspec-rails-mocha'
+ gem 'rspec-rails-mocha', '~> 0.3.0'
end
+For **Rails 2**, use the '0.2.x' version:
+
+ gem 'rspec-rails-mocha', '~> 0.2.1'
+
Usage:
describe "Mocha plugin" do

0 comments on commit ff7006e

Please sign in to comment.