Sha256: 9a1d707d743671a6c585cb893bad798f95eba4913303f9ff86b128647c8b4bd5

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate, '#type' do
  subject { object.type }

  let(:described_class) { Class.new(Aggregate)         }
  let(:object)          { described_class.new(operand) }
  let(:operand)         { mock('Operand')              }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/aggregate/type_spec.rb