Skip to content

Commit

Permalink
installation instructions Rails 3 vs Rails 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Feb 13, 2011
1 parent 44dc215 commit ff7006e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff7006e

Please sign in to comment.