Sha256: 8cc511d3637808d092e2cae5151326613be3cef9d53fe9efb6bd578c7e120b0e

Contents?: true

Size: 222 Bytes

Versions: 7

Compression:

Stored size: 222 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate::Sum, '.default' do
  subject { object.default }

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should eql(0) }
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/aggregate/sum/class_methods/default_spec.rb
axiom-0.1.1 spec/unit/axiom/aggregate/sum/class_methods/default_spec.rb
axiom-0.1.0 spec/unit/axiom/aggregate/sum/class_methods/default_spec.rb
veritas-0.0.7 spec/unit/veritas/aggregate/sum/class_methods/default_spec.rb
veritas-0.0.6 spec/unit/veritas/aggregate/sum/class_methods/default_spec.rb
veritas-0.0.5 spec/unit/veritas/aggregate/sum/class_methods/default_spec.rb
veritas-0.0.4 spec/unit/veritas/aggregate/sum/class_methods/default_spec.rb