Sha256: 7cc31eda2c038237e076c99aebe0a8d9c724654c8b02528cb176407131f374e3

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Predicate::GreaterThan, '.inverse' do
  subject { object.inverse }

  let(:object) { described_class }

  it_should_behave_like 'an invertible method'

  it { should be(Function::Predicate::LessThanOrEqualTo) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/function/predicate/greater_than/class_methods/inverse_spec.rb
axiom-0.1.1 spec/unit/axiom/function/predicate/greater_than/class_methods/inverse_spec.rb