Flowdock
method

fail_on

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionDispatch::Assertions::RoutingAssertions
fail_on(exception_class, message) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/assertions/routing.rb, line 211
        def fail_on(exception_class, message)
          yield
        rescue exception_class => e
          raise Minitest::Assertion, message || e.message
        end
Register or log in to add new notes.