Sha256: ba52ecf4aa8e732b854c5ef3677f33daff3a44d95b629886ef161ca91b3bb9e3
Contents?: true
Size: 258 Bytes
Versions: 8
Compression:
Stored size: 258 Bytes
Contents
require "test_helper" class ArrayTest < ActiveSupport::TestCase should "verify to_hash_with" do keys, values = %w(a b c), %w(1 2 3) expected = { "a" => "1", "b" => "2", "c" => "3" } assert_equal expected, keys.to_hash_with(values) end end
Version data entries
8 entries across 8 versions & 1 rubygems