Module: MiniTest::Assertions

Defined in:
lib/ramcrest/minitest_assert.rb

Instance Method Summary collapse

Instance Method Details

#assert_that(object, matcher) ⇒ Object



5
6
7
8
9
# File 'lib/ramcrest/minitest_assert.rb', line 5

def assert_that(object, matcher)
  Ramcrest::Assertion.assert_match(object, matcher) do |description|
    assert false, description
  end
end