Sha256: 06cd9755e4b570117ce63b00fc9dce18c408d3e95df1502302a43f7a31f1d5b8
Contents?: true
Size: 370 Bytes
Versions: 10
Compression:
Stored size: 370 Bytes
Contents
module Support module Assertions def assert_same_content(result, expected) assert expected.size == result.size, "the arrays doesn't have the same size" expected.each do |element| assert result.include?(element), "The array doesn't include '#{element}'." end end def assert_not(assertion) assert !assertion end end end
Version data entries
10 entries across 10 versions & 2 rubygems