Sha256: cfd0f72167ce2d37a195ab96c910fb29dea2a1944316a8090b296d337fc68998
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Algebra::Summarization::Summaries, '#to_hash' do subject { object.to_hash } let(:object) { described_class.new(summarizers) } let(:summarizers) { { :count => mock('Summarizer') } } it 'matches the expected value' do key, value = subject.first key.should == :count value.should be_kind_of(Algebra::Summarization::Summary) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/algebra/summarization/summaries/to_hash_spec.rb |