Sha256: 91716ecba4578470c807a6275a7d19cef5a1de7c0ac9f6babf4f0df63268b0d8

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

[ :maximum, :max ].each do |method|
  describe Aggregate::Maximum::Methods, "##{method}" do
    subject { object.send(method) }

    let(:described_class) { Class.new { include Aggregate::Maximum::Methods } }
    let(:object)          { described_class.new.freeze                        }

    it { should be_instance_of(Aggregate::Maximum) }

    its(:operand) { should equal(object) }
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/aggregate/maximum/methods/maximum_spec.rb
veritas-0.0.7 spec/unit/veritas/aggregate/maximum/methods/maximum_spec.rb
veritas-0.0.6 spec/unit/veritas/aggregate/maximum/methods/maximum_spec.rb
veritas-0.0.5 spec/unit/veritas/aggregate/maximum/methods/maximum_spec.rb