Sha256: ac1fb944633c436356fb3b440e969e323e93f4270279dd53d28a32c1d42e251d
Contents?: true
Size: 561 Bytes
Versions: 19
Compression:
Stored size: 561 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) result.should == expected end end end
Version data entries
19 entries across 19 versions & 6 rubygems