On Feb 4, 10:22 pm, David Chelimsky wrote:
> On Wed, Feb 4, 2009 at 7:42 PM, Brad wrote:
> > I have a controller spec that works find with Rails 2.2.2 and Rspec-
> > Rails 1.1.11. The code is:
>
> > �...@activity=mock_model(Activity, :id => 7)
> > Activity.stub!(:get).with("7").and_return(@ac
On Wed, Feb 4, 2009 at 7:42 PM, Brad wrote:
> I have a controller spec that works find with Rails 2.2.2 and Rspec-
> Rails 1.1.11. The code is:
>
> @activity=mock_model(Activity, :id => 7)
> Activity.stub!(:get).with("7").and_return(@activity
>
> When I update to 1.1.12
>
> ArgumentError in 'Ac