Sha256: 26ff5fa29b97c677df7299e1f7df29d71d62409fc0bb1d7680947b63920923a5
Contents?: true
Size: 599 Bytes
Versions: 19
Compression:
Stored size: 599 Bytes
Contents
require File.expand_path("../../../../base", __FILE__) describe Vagrant::Config::V1::DummyConfig do it "should allow attribute setting" do expect { subject.foo = :bar }. to_not raise_error end it "should allow method calls that return more DummyConfigs" do subject.foo.should be_kind_of(described_class) end it "should allow hash access" do expect { subject[:foo] }. to_not raise_error subject[:foo].should be_kind_of(described_class) end it "should allow setting hash values" do expect { subject[:foo] = :bar }. to_not raise_error end end
Version data entries
19 entries across 19 versions & 6 rubygems