Sha256: 600f5282bce0f5ace9b7b2ed04ff88a83394e17d6a069e1d05f0b60c061229b1
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 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_instance_of(Aggregate::Mean) } 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/mean/methods/mean_spec.rb |
axiom-0.1.1 | spec/unit/axiom/aggregate/mean/methods/mean_spec.rb |