Add rspec-activemodel-mocks dependency

Adds back `stub_model` and `mock_model`, which were deprecated in
rspec-mocks 2.99.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/1461/head
Alex Coles 10 years ago
parent cb08667307
commit d19e2171ab
  1. 1
      Gemfile
  2. 5
      Gemfile.lock

@ -158,6 +158,7 @@ group :test do
gem 'rspec', '~> 2.99.0'
# also add to development group, so "spec" rake task gets loaded
gem "rspec-rails", "~> 2.99.0", :group => :development
gem 'rspec-activemodel-mocks'
gem 'rspec-example_disabler', git: "https://github.com/finnlabs/rspec-example_disabler.git"
gem 'capybara'
gem 'capybara-screenshot'

@ -338,6 +338,10 @@ GEM
rspec-core (~> 2.99.0)
rspec-expectations (~> 2.99.0)
rspec-mocks (~> 2.99.0)
rspec-activemodel-mocks (1.0.1)
activemodel (>= 3.0)
activesupport (>= 3.0)
rspec-mocks (>= 2.99, < 4.0)
rspec-collection_matchers (1.0.0)
rspec-expectations (>= 2.99.0.beta1)
rspec-core (2.99.0)
@ -495,6 +499,7 @@ DEPENDENCIES
request_store
roar (~> 0.12.6)
rspec (~> 2.99.0)
rspec-activemodel-mocks
rspec-example_disabler!
rspec-rails (~> 2.99.0)
ruby-prof

Loading…
Cancel
Save