Sha256: b338c4d1df08a311ad9bf024546721c049ffe218b1f578f041ddb397988a8785
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper') describe Hamster::List do [:dup, :clone].each do |method| [ [], ["A"], ["A", "B", "C"], ].each do |values| describe "on #{values.inspect}" do before do @list = Hamster.list(*values) end it "returns self" do @list.send(method).should equal(@list) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hamster-0.1.14 | spec/hamster/list/copying_spec.rb |