Sha256: 3ce14c23244cd13c3306f3b5c1b55772cf9ee48d617792ecac28c147d45d2016
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [ :mean, :average, :avg ].each do |method| describe Aggregate::Mean::Methods, "##{method}" do subject { object.send(method) } let(:described_class) { Class.new { include Aggregate::Mean::Methods } } let(:object) { described_class.new.freeze } it { should be_kind_of(Aggregate::Mean) } 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/mean/methods/mean_spec.rb |