Sha256: 2772aacf32160c945bb246dc77579a90a454fffb851239ffdd9bf48d0d3bab13
Contents?: true
Size: 398 Bytes
Versions: 7
Compression:
Stored size: 398 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'slide_hero' require 'minitest/autorun' require 'minitest/spec' def assert_dom_match(expected, actual) dom_clean(actual).must_equal( dom_clean(expected)) end def assert_dom_includes(expected, actual) dom_clean(actual).must_include( dom_clean(expected)) end def dom_clean(html) html.gsub!(/>\s*</, '><').strip end
Version data entries
7 entries across 7 versions & 1 rubygems