Sha256: d2dd1411df1e9aab4244274ed757b04ff74942deaf3dd9d1d9446b610b4d1af8

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 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_kind_of(Aggregate::Count) }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/aggregate/count/methods/count_spec.rb