Displaying 1 result from an estimated 1 matches for "person_controller_spec".
2007 Jun 05
6
Help with spec controller
...9;PersonController should tell the Person
model to create a new person on POST to create''
Mock ''person'' received unexpected message :save with (no args)
/home/gramos/src/rails/dental/config/../app/controllers/person_controller.rb:26:in
`create''
./spec/controllers/person_controller_spec.rb
I can''t find what I am doing wrong.
I would appreciate any help. thanks in advance.
--
Gast?n Ramos
"I always thought Smalltalk would beat Java, I just didn''t know it would be
called ''Ruby'' when it did."
-- Kent Beck