# encoding: utf-8

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

  specification = proc do
    should be_instance_of(Fixnum)
  end

  it 'is a fixnum' do
    instance_eval(&specification)
  end

  it 'memoizes the hash code' do
    expect(subject).to eql(object.memoized(:hash))
  end
end

# encoding: utf-8

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

  specification = proc do
    should be_instance_of(Fixnum)
  end

  it 'is a fixnum' do
    instance_eval(&specification)
  end
end

Remove test for memoized(), which is being removed from Adamantium
Remove test for memoized(), which is being removed from Adamantium
