Sha256: e4f912d67acc32edc36aabe2d18d5872776bf8c8d154c1ad6358886e988090a5
Contents?: true
Size: 544 Bytes
Versions: 12
Compression:
Stored size: 544 Bytes
Contents
require 'spec' require 'isolated/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 after calling DataMapper.setup" do before(:all) do @adapter = DataMapper::Spec.adapter require 'dm-aggregates' end it_should_behave_like "require 'dm-aggregates'" end end
Version data entries
12 entries across 12 versions & 2 rubygems