Sha256: 99f16f2eb72be83b207ba93950cbf6d0103f28f721184a0570448e4fd6ebdc44

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Predicate, '.call' do
  subject { object.call(left, right) }

  let(:left)   { 1               }
  let(:right)  { 1               }
  let(:object) { described_class }

  specify { expect { subject }.to raise_error(NotImplementedError, "#{object}.call is not implemented") }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/function/predicate/class_methods/call_spec.rb
axiom-0.1.1 spec/unit/axiom/function/predicate/class_methods/call_spec.rb
axiom-0.1.0 spec/unit/axiom/function/predicate/class_methods/call_spec.rb