Music
From: Pat Maddox
Date: 19 March 2009 3:54:10 AM
To: rspec-users
Subject: Re: [rspec-users] mock_model with Rspec/Rspec-rails 1.2 and
Rails 2.3
Reply-To: rspec-users
On Mar 17, 2009, at 11:37 PM, David Chelimsky wrote:
2009/3/18 Tom Meier :
With the above settings when our specs
On Mar 17, 2009, at 11:37 PM, David Chelimsky wrote:
2009/3/18 Tom Meier :
With the above settings when our specs run (while on rails 2.3 and
rspec
1.2), the following error occurs :
undefined method `mock_model=' for #
The error says "mock_model=", which indicates that you're trying to
s
2009/3/18 Tom Meier :
> Hi,
> Not sure if anyone has faced this problem yet and managed to resolve it... I
> understand Rspec 'decoupled' the mock frameworks, however it works fine with
> Rails 2.2 but fails in 2.3...
Why do you put decoupled in quotes? Are you mocking decoupling of mocking?
> Ca
Hi,
Not sure if anyone has faced this problem yet and managed to resolve
it... I understand Rspec 'decoupled' the mock frameworks, however it
works fine with Rails 2.2 but fails in 2.3...
Can anyone give me any pointers as to what changes are required in
spec_helper.rb to ensure mock_mod