module Minitest::Given::NewAssertions

If this version of Minitest does not support the assertions and assertions= methods, define a working version of them.

This allows Minitest/Given to work with Minitest 4.x.

Public Instance Methods

assertions() click to toggle source
   # File lib/given/minitest/new_assertions.rb
11 def assertions
12   _assertions
13 end
assertions=(new_value) click to toggle source
   # File lib/given/minitest/new_assertions.rb
15 def assertions=(new_value)
16   self._assertions = new_value
17 end