Flowdock
method

assert_not_deprecated

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Deprecation::Assertions
assert_not_deprecated(&block) public

No documentation

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

Hide source
# File activesupport/lib/active_support/deprecation.rb, line 128
      def assert_not_deprecated(&block)
        result, deprecations = collect_deprecations(&block)
        assert deprecations.empty?, "Expected no deprecation warning within the block but received #{deprecations.size}: \n  #{deprecations * "\n  "}"
        result
      end
Register or log in to add new notes.