Sha256: a8edcbcfdb7258d52bc3f15979c1b40a1c681124f4fcacfbb4d593e4646405e4
Contents?: true
Size: 554 Bytes
Versions: 6
Compression:
Stored size: 554 Bytes
Contents
require 'dm-core/spec/setup' require 'dm-core/spec/lib/adapter_helpers' require 'dm-validations' require 'dm-types' require 'dm-migrations' SPEC_ROOT = Pathname(__FILE__).dirname Pathname.glob((SPEC_ROOT + 'fixtures/**/*.rb').to_s).each { |file| require file } Pathname.glob((SPEC_ROOT + 'integration/shared/**/*.rb').to_s).each { |file| require file } DataMapper::Spec.setup DataMapper.finalize Spec::Runner.configure do |config| config.extend(DataMapper::Spec::Adapters::Helpers) config.before :suite do DataMapper.auto_migrate! end end
Version data entries
6 entries across 6 versions & 1 rubygems