Module: SimplyTestable::ActionControllerExtension::Routing::ClassMethods
- Defined in:
- lib/simply_testable/action_controller_extension/routing.rb
Instance Method Summary collapse
-
#assert_no_route(verb, action, args = {}) ⇒ Object
def assert_route end.
Instance Method Details
#assert_no_route(verb, action, args = {}) ⇒ Object
def assert_route end
13 14 15 16 17 18 19 |
# File 'lib/simply_testable/action_controller_extension/routing.rb', line 13 def assert_no_route(verb,action,args={}) test "#{brand}no route to #{verb} #{action} #{args}" do assert_raise(ActionController::RoutingError){ send(verb,action,args) } end end |