Top Level Namespace

Defined Under Namespace

Modules: AeEasy

Instance Method Summary collapse

Instance Method Details

#assert_diff(diff) ⇒ Object



1
2
3
4
5
6
7
8
9
# File 'lib/ae_easy/test/assert.rb', line 1

def assert_diff diff
  flush
  diff = match_expected_pages opts
  log_caller = opts[:log_caller] || ([] + caller)
  unless diff[:match]
    AeEasy::Test.verbose_match_diff 'pages', diff, log_caller
  end
  diff[:match]
end