Sha256: 519d63332faeff43c9a3a6d7127d46758b40ee064e55b3b4ed18649bb67c4037

Contents?: true

Size: 241 Bytes

Versions: 7

Compression:

Stored size: 241 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object) { described_class }

  it_should_behave_like 'an idempotent method'

  it { should eql(-Float::INFINITY) }
end

Version data entries

7 entries across 7 versions & 2 rubygems

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