Sha256: cb7100ca95872709c5a396bbcf6d1725eafcad556ed212d7798d93dd7f121c22

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Function::Proposition, '#inspect' do
  subject { object.inspect }

  let(:described_class) { Class.new(Function::Proposition) }
  let(:object)          { described_class.new              }

  before do
    described_class.stub!(:name).and_return('Veritas::Function::Proposition')
  end

  specify { expect { subject }.to raise_error(NotImplementedError, "#{described_class.name}.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/proposition/inspect_spec.rb
veritas-0.0.6 spec/unit/veritas/function/proposition/inspect_spec.rb
veritas-0.0.5 spec/unit/veritas/function/proposition/inspect_spec.rb
veritas-0.0.4 spec/unit/veritas/function/proposition/inspect_spec.rb