Sha256: 50580bd71d512338ed92a500b980b4dd1af7e5f9072f3b8f0321eb1652abd8ba

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 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_kind_of(Aggregate::Maximum) }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/aggregate/maximum/methods/maximum_spec.rb