Sha256: eef5122528b4bd25ca1a46f8f24df8dd4ad915ed038b0cbc19dc94af6fb4c264

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should be_frozen }

  it { should eql([ 0, nil ]) }
end

Version data entries

5 entries across 5 versions & 2 rubygems

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