Sha256: 751689b1a7ec34b21291298f37ab4089a3a349675027f7201c398db2a452bca8
Contents?: true
Size: 536 Bytes
Versions: 4
Compression:
Stored size: 536 Bytes
Contents
require 'rspec' require_relative 'require_spec' require 'dm-core/spec/setup' # To really test this behavior, this spec needs to be run in isolation and not # as part of the typical rake spec run, which requires dm-aggregates upfront if %w(postgres mysql sqlite oracle sqlserver).include?(ENV['ADAPTER']) describe "require 'dm-aggregates' before calling DataMapper.setup" do before(:all) do require 'dm-aggregates' @adapter = DataMapper::Spec.adapter end it_behaves_like "require 'dm-aggregates'" end end
Version data entries
4 entries across 4 versions & 1 rubygems