Sha256: bb3d0349334ab425a3fe94a19fd0b19a4eab58cc4cc98652e23139c86cd444bf

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

require 'spec_helper'
module Domain
  describe Scalar, "hash" do

    let(:point){ Point.new(1, 2) }

    subject{ point.hash }

    it 'should equal the hash of an equivalent point' do
      subject.should eq(Point.new(1,2).hash)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
domain-1.0.0.rc3 spec/factory/scalar_domain/test_hash.rb
domain-1.0.0.rc2 spec/factory/scalar_domain/test_hash.rb
domain-1.0.0.rc1 spec/factory/scalar_domain/test_hash.rb