[rspec-users] mocking named_scope utilization

Fernando Perez lists at ruby-forum.com
Tue Nov 4 16:48:15 EST 2008


This trick to spec a named_scope method works very well. And it cleans 
up the chain mess in the controller.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list