Sha256: decc2ee848d1badf5f95f5e90c6e3aa6dfcd7ecde600ad140bf7280cd803c240
Contents?: true
Size: 553 Bytes
Versions: 14
Compression:
Stored size: 553 Bytes
Contents
require File.expand_path('spec/spec_helper') require 'geoff' require 'geoff/container' describe Container do subject(:container) { Container.new } context 'attempt to access missing key' do specify do lambda do container.egg end.should raise_error Geoff::ContainerLabelMissing end end context '#merge' do let(:other_container) do Container.new(node_dsls: {egg: 'cheese'}) end specify do container.merge other_container container.node_dsls[:egg].should == 'cheese' end end end
Version data entries
14 entries across 14 versions & 1 rubygems