On Sun, Apr 6, 2008 at 4:33 PM, Rare <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying to test that a view file in Rails is being sent a new
> empty model (Product.new) in my rspec test, below is my code. I've
> tried comparing them with ==, ===, equal, eql none work. I just get an
> error (
Hi all,
I am trying to test that a view file in Rails is being sent a new
empty model (Product.new) in my rspec test, below is my code. I've
tried comparing them with ==, ===, equal, eql none work. I just get an
error (see below code). I guess it's the condition tester (e.g. ==)
that is incorrect,