Sha256: 930f6e01e2b80eaff613a75f9e5c6b2a3b0e3dc28e16a53530757d6713ce1efd

Contents?: true

Size: 644 Bytes

Versions: 9

Compression:

Stored size: 644 Bytes

Contents

require 'rubygems'

require 'dm-core/spec/setup'
require 'dm-core/spec/lib/spec_helper'
require 'dm-core/spec/lib/adapter_helpers'
require 'dm-core/spec/lib/pending_helpers'

require 'dm-constraints'

Spec::Runner.configure do |config|

  config.extend(DataMapper::Spec::Adapters::Helpers)
  config.extend(DataMapper::Spec::Helpers)
  config.include(DataMapper::Spec::PendingHelpers)

  config.before(:each) do
    DataMapper.finalize
    DataMapper.auto_migrate!
  end

  config.after :each do
    DataMapper.send(:auto_migrate_down!, DataMapper::Spec.adapter.name)
  end

  config.after :all do
    DataMapper::Spec.cleanup_models
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dm-constraints-1.2.0 spec/spec_helper.rb
dm-constraints-1.2.0.rc2 spec/spec_helper.rb
dm-constraints-1.2.0.rc1 spec/spec_helper.rb
dm-constraints-1.1.0 spec/spec_helper.rb
dm-constraints-1.1.0.rc3 spec/spec_helper.rb
dm-constraints-1.1.0.rc2 spec/spec_helper.rb
dm-constraints-1.1.0.rc1 spec/spec_helper.rb
dm-constraints-1.0.2 spec/spec_helper.rb
dm-constraints-1.0.1 spec/spec_helper.rb