# File lib/shoulda/action_controller/macros.rb, line 227
227:       def should_route(method, path, options)
228:         unless options[:controller]
229:           options[:controller] = self.name.gsub(/ControllerTest$/, '').tableize
230:         end
231: 
232:         matcher = route(method, path).to(options)
233: 
234:         should matcher.description do
235:           assert_accepts matcher.in_context(self), self
236:         end
237:       end