Sha256: 16659b06b7f03fd9670465d6c931787f4c1dae91520787bfaca188ca6f6b7218

Contents?: true

Size: 185 Bytes

Versions: 1

Compression:

Stored size: 185 Bytes

Contents

# encoding: utf-8

shared_examples_for 'an invertible method' do
  it_should_behave_like 'an idempotent method'

  it 'is invertible' do
    subject.inverse.should be(object)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.1 spec/shared/invertible_method_behaviour.rb