Sha256: eec1e64e558bdf5b2170489f64cbe2e3ff602b06978c3dd674acbed3830ca52e
Contents?: true
Size: 607 Bytes
Versions: 38
Compression:
Stored size: 607 Bytes
Contents
require File.expand_path("../../../../base", __FILE__) describe Vagrant::Config::V2::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 expect(subject.foo).to be_kind_of(described_class) end it "should allow hash access" do expect { subject[:foo] }. to_not raise_error expect(subject[:foo]).to 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
38 entries across 31 versions & 7 rubygems