Sha256: 2b1749d41afa5909ca65a9ec7ec90158b4248c336424da163bef302930f23bf0
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' require 'sugar-high/dsl' describe "SugarHigh" do describe "DSL pack" do describe '#with' do it "should allow calls on instance in block" do with(Hash.new) do merge!(:a => 1) merge!(:b => 2) end.should == {:a => 1, :b => 2} end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sugar-high-0.5.4 | spec/sugar-high/dsl_spec.rb |