Sha256: da9ef37cac498438ee70a1824d3e21b1f209fef83e313aae8e23fa2ee56ef82c
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 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_instance_of(Aggregate::Minimum) } its(:operand) { should be(object) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/aggregate/minimum/methods/minimum_spec.rb |
axiom-0.1.1 | spec/unit/axiom/aggregate/minimum/methods/minimum_spec.rb |