Sha256: 510f2e2f786654fdf4a886d15c654d2c8a74f41f0a24a67b91a87dcec483233b

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

require 'spec_helper'
require File.expand_path('../fixtures/classes', __FILE__)

describe 'Veritas::Logic::Predicate#inspect' do
  subject { object.inspect }

  let(:klass)     { PredicateSpecs::Object      }
  let(:attribute) { Attribute::Integer.new(:id) }
  let(:object)    { klass.new(attribute, 1)     }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/logic/predicate/inspect_spec.rb