Bryan Ray wrote: > It has to do with your "find_city" method. You spec is expecting it to > be > called from controller, hence: > > controller.should_receive(:find_city) > > Where is that method and why isn't it being called should be your next > questions based on the code and spec you've pasted. >
The method find_city is in application controller. I think the method 'find_city' is being called but its expecting some args. Thanks, Namrata. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users