Sha256: ef1acb7fda028ede06a2af8799b61ceb29c0f284d297a2201664286adc06ecfc

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

[ :minimum, :min ].each do |method|
  describe Aggregate::Minimum::Methods, "##{method}" do
    subject { object.send(method) }

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

    it { should be_kind_of(Aggregate::Minimum) }

    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/minimum/methods/minimum_spec.rb