Sha256: 4ed2e72d367cce0f1241d1ec4ddf31849e98fa9b4f6dc9508320d1606dba1cc4

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an invertible method'

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

Version data entries

2 entries across 2 versions & 1 rubygems

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