Sha256: 91bcc71db7f12f0a029c58581ffc0e16f2aa947d137bee5cd68c628c2dece65b

Contents?: true

Size: 224 Bytes

Versions: 7

Compression:

Stored size: 224 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate::Count, '.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/count/class_methods/default_spec.rb
axiom-0.1.1 spec/unit/axiom/aggregate/count/class_methods/default_spec.rb
axiom-0.1.0 spec/unit/axiom/aggregate/count/class_methods/default_spec.rb
veritas-0.0.7 spec/unit/veritas/aggregate/count/class_methods/default_spec.rb
veritas-0.0.6 spec/unit/veritas/aggregate/count/class_methods/default_spec.rb
veritas-0.0.5 spec/unit/veritas/aggregate/count/class_methods/default_spec.rb
veritas-0.0.4 spec/unit/veritas/aggregate/count/class_methods/default_spec.rb