Sha256: 5ac41bab653d27ba8224bc060201ddbe8cb0f3c31442e8d0dbf05e076bef1a39
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
require 'dm-core/spec/setup' require 'dm-core/spec/lib/adapter_helpers' require 'dm-validations' require 'dm-types' require 'dm-migrations' class Hash def except(*keys) hash = dup keys.each { |key| hash.delete(key) } hash end end Dir["#{File.realpath(File.dirname(__FILE__))}/fixtures/**/*.rb"].sort.each { |file| require file } Dir["#{File.realpath(File.dirname(__FILE__))}/integration/shared/**/*.rb"].sort.each { |file| require file } DataMapper::Spec.setup DataMapper.finalize RSpec.configure do |config| config.extend(DataMapper::Spec::Adapters::Helpers) config.before :suite do DataMapper.finalize.auto_migrate! end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sbf-dm-validations-1.4.0 | spec/spec_helper.rb |
sbf-dm-validations-1.3.0 | spec/spec_helper.rb |
sbf-dm-validations-1.3.0.beta | spec/spec_helper.rb |