Sha256: 1696944842a14b5ef2be36d7c2da5b937b8783dac6aa1e364307993dc719efef

Contents?: true

Size: 235 Bytes

Versions: 8

Compression:

Stored size: 235 Bytes

Contents

module Assertions

  # Assert that the two Arrays contain the same Strings or Symbols
  def assert_equal_arrays(expected_array, actual_array)
    assert_equal expected_array.map(&:to_s).sort, actual_array.map(&:to_s).sort
  end
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
massimo-0.4.6 test/assertions.rb
massimo-0.4.5 test/assertions.rb
massimo-0.4.4 test/assertions.rb
massimo-0.4.3 test/assertions.rb
massimo-0.4.2 test/assertions.rb
massimo-0.4.1 test/assertions.rb
massimo-0.4.0 test/assertions.rb
massimo-0.3.9 test/assertions.rb