Re: [rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3 [re : Pat & David)

2009-03-18 Thread Tom Meier
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

Re: [rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3

2009-03-18 Thread Pat Maddox
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

Re: [rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3

2009-03-17 Thread David Chelimsky
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

[rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3

2009-03-17 Thread 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... Can anyone give me any pointers as to what changes are required in spec_helper.rb to ensure mock_mod