Sha256: c0f531a5ec0d2bd9c1b5505bc1e3a10da469a468227abb6cdf65384bdeced56c

Contents?: true

Size: 246 Bytes

Versions: 4

Compression:

Stored size: 246 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function, '.call' do
  subject { object.call }

  let(:object) { described_class }

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veritas-0.0.7 spec/unit/veritas/function/class_methods/call_spec.rb
veritas-0.0.6 spec/unit/veritas/function/class_methods/call_spec.rb
veritas-0.0.5 spec/unit/veritas/function/class_methods/call_spec.rb
veritas-0.0.4 spec/unit/veritas/function/class_methods/call_spec.rb