Flowdock
method

fail_on

Importance_0
fail_on(exception_class) 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)
          yield
        rescue exception_class => e
          raise MiniTest::Assertion, e.message
        end
Register or log in to add new notes.