Sha256: f45de400e20882e8271e80c25e2955ed4e9d0bc83f6659f34f985e0cecdfea00

Contents?: true

Size: 260 Bytes

Versions: 2

Compression:

Stored size: 260 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an invertible method'

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

Version data entries

2 entries across 2 versions & 1 rubygems

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