Sha256: 73fdd0c6875965ba200fa34a7c850bfb6e9e78dbb01362ba1ff068e5368ef80d
Contents?: true
Size: 406 Bytes
Versions: 12
Compression:
Stored size: 406 Bytes
Contents
shared_examples_for "require 'dm-aggregates'" do %w[ Repository Model Collection Query ].each do |name| it "should include the aggregate api in DataMapper::#{name}" do (DataMapper.const_get(name) < DataMapper::Aggregates.const_get(name)).should be(true) end end it "should include the aggregate api into the adapter" do @adapter.respond_to?(:aggregate).should be(true) end end
Version data entries
12 entries across 12 versions & 2 rubygems