Module: Minitest::Assertions

Defined in:
lib/pantry/test/support/matchers.rb,
lib/pantry/test/support/fake_fs.rb

Overview

Some custom MiniTest matchers used throughout the system

Instance Method Summary collapse

Instance Method Details

#actual_diffObject



23
# File 'lib/pantry/test/support/fake_fs.rb', line 23

alias :actual_diff :diff

#diff(exp, act) ⇒ Object



25
26
27
28
29
# File 'lib/pantry/test/support/fake_fs.rb', line 25

def diff exp, act
  FakeFS.without do
    actual_diff exp, act
  end
end