Sha256: 42e0491052148da4d744706aa5f8518208f497ec31140760d8bdedfbe781221c
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
shared_examples "require 'dm-aggregates'" do %w(Repository Model Collection Query).each do |name| it "includes the aggregate api in DataMapper::#{name}" do expect(DataMapper.const_get(name) < DataMapper::Aggregates.const_get(name)).to be(true) end end it 'includes the aggregate api into the adapter' do expect(@adapter.respond_to?(:aggregate)).to be(true) end end
Version data entries
4 entries across 4 versions & 1 rubygems