Displaying 1 result from an estimated 1 matches for "venues_control".
2007 Jan 30
5
errors while testing resource controller using rpec
...end
end
==========================
and the test fails as
===============
TypeError in ''Requesting /venues using POST should create a new venue''
can''t convert Fixnum into String
(eval):19:in `venue_url''
/home/deepak/personalcode/worlds/config/../app/controllers/venues_controller.rb:43:in
`create''
/home/deepak/personalcode/worlds/config/../app/controllers/venues_controller.rb:40:in
`create''
./spec/controllers/venues_controller_spec.rb:242:in `do_post''
./spec/controllers/venues_controller_spec.rb:247:
================
the relevant portion of th...