Sha256: 03c67d95008c1b069b2e7b5f955048a4b2c4c1fb028b5fa1931132f2bc8c6136
Contents?: true
Size: 336 Bytes
Versions: 2
Compression:
Stored size: 336 Bytes
Contents
require File.expand_path('../../spec_helper', File.dirname(__FILE__)) require 'hamster/set' describe Hamster::Set do describe ".set" do before do @set = Hamster.set("A", "B", "C") end it "is equivalent to repeatedly using #add" do @set.should == Hamster.set.add("A").add("B").add("C") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hamster-0.2.7 | spec/hamster/set/construction_spec.rb |
hamster-0.2.6 | spec/hamster/set/construction_spec.rb |