# File lib/spec/rails/matchers/route_to.rb, line 108 def failure_message_for_should "Expected '#{@actual.keys.first.to_s.upcase} #{@actual.values.first}' to be routable, but it wasn't.\n"+ "To really test routability, we recommend #{@actual.inspect}.\n"+ " should route_to( :action => 'action', :controller => 'controller' )\n\n"+ "That way, you'll verify where your route goes to. Plus, we'll verify\n"+ "the generation of the expected path from the action/controller, as in\n"+ "the url_for() helper." end