Displaying 1 result from an estimated 1 matches for "ticket_1000".
Did you mean:
ticket_1001
2007 Jun 14
1
rspec will_paginate
...9;
end
it "should assign the found tickets for the view" do
do_get
assigns[:tickets].should == [@tickets]
end
end
1)
''TicketsController handling GET /tickets should assign the found tickets for
the view'' FAILED
expected [#<Ticket:0x1aa340c @name="Ticket_1000">], got [nil] (using ==)
./spec/controllers/tickets_controller_spec.rb:71:
script/spec:4:
Finished in 0.207992 seconds
13 examples, 1 failure
Any suggestions or criticisms about my rspec?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org...