Sha256: 051074adabe6f2d634d120cd36ef3afe57179faad57d29db16e5f97243bf0668
Contents?: true
Size: 343 Bytes
Versions: 13
Compression:
Stored size: 343 Bytes
Contents
describe Chicanery::Collections do include Chicanery::Collections %w{server repo}.each do |entity| it "should default to an empty list of #{entity}s" do send("#{entity}s").should == [] end it "should append to #{entity}s list" do send entity, :entity send("#{entity}s").should == [:entity] end end end
Version data entries
13 entries across 13 versions & 1 rubygems