Sha256: 34991a2a47ca161f258e8e86c655a73a0bc60fd932e839ace664fba21009503d

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Aggregate::Count::Methods, '#count' do
  subject { object.count }

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

  it { should be_instance_of(Aggregate::Count) }

  its(:operand) { should be(object) }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/aggregate/count/methods/count_spec.rb
axiom-0.1.1 spec/unit/axiom/aggregate/count/methods/count_spec.rb