Sha256: 71d00c7152bd98833e9ca340c1a63e35edd87f1797c1824a199cbf4b0676d032

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

describe Hamster::List do

  before do
    @list = Hamster::List.new
  end

  describe "#dup" do

    it "returns self" do
      @list.dup.should equal(@list)
    end

  end

  describe "#clone" do

    it "returns self" do
      @list.clone.should equal(@list)
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hamster-0.1.8 spec/hamster/list/copying_spec.rb
hamster-0.1.7 spec/hamster/list/copying_spec.rb
hamster-0.1.6 spec/hamster/list/copying_spec.rb
hamster-0.1.5 spec/hamster/list/copying_spec.rb