Sha256: 19e95945629866b768b0b40b149cc342008a6250b2af52d097f7c8264c1256ff

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate, '.finalize' do
  subject { object.finalize(accumulator) }

  let(:object)      { described_class       }
  let(:accumulator) { double('Accumulator') }

  it { should be(accumulator) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/aggregate/class_methods/finalize_spec.rb
axiom-0.1.1 spec/unit/axiom/aggregate/class_methods/finalize_spec.rb