Sha256: 9aa20f09a57bdfbe69577dc0b9b4ecec51fd186ccc19e9e4e5b7f2f2f6b355aa

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

# encoding: utf-8

shared_examples_for 'a hash method' do
  it_should_behave_like 'an idempotent method'

  it { should be_kind_of(Fixnum) }

  it 'memoizes the hash code' do
    should == object.memoized('hash')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/shared/hash_method_behavior.rb