Sha256: db52741ca227e050e72a1a646a812576563476b43d7e5d5b93d65b49666b73a2
Contents?: true
Size: 566 Bytes
Versions: 39
Compression:
Stored size: 566 Bytes
Contents
require File.expand_path("../../../../base", __FILE__) require "vagrant/config/v2/util" describe Vagrant::Config::V2::Util do describe "merging errors" do it "should merge matching keys and leave the rest alone" do first = { "one" => ["foo"], "two" => ["two"] } second = { "one" => ["bar"], "three" => ["three"] } expected = { "one" => ["foo", "bar"], "two" => ["two"], "three" => ["three"] } result = described_class.merge_errors(first, second) expect(result).to eq(expected) end end end
Version data entries
39 entries across 32 versions & 8 rubygems