[rspec-users] Unable to stub a class method in a before_filter

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


> That work?

It could. But in such case, how will I test my before_filter 
independently?

My real problem is to stub the find_by_domain_name instance method.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list