Sha256: 6411738325cb6fe57ff3b3d81d8818ad9004205588c64abbd94938897d9a3cb8

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

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

describe Hamster::List do

  describe "#eql?" do

    it "is true for the same instance" do
      list = Hamster::List.new
      list.should eql(list)
    end

    it "is true for two empty instances" do
      Hamster::List.new.should eql(Hamster::List.new)
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hamster-0.1.8 spec/hamster/list/eql_spec.rb