Sha256: 6b3ebac13e69096180bedbbfcc9ed631f35298fd7099b1449b49f0f766447d65

Contents?: true

Size: 419 Bytes

Versions: 4

Compression:

Stored size: 419 Bytes

Contents

require "dm-migrations"
require "dm-aggregates"
require "dm-sql-finders"

DataMapper.setup(:default, "sqlite::memory:")

Dir[File.join(File.dirname(__FILE__), "support/**/*.rb")].each { |file| require file }

RSpec.configure do |config|
  config.mock_with :rspec

  config.before(:suite) do
    DataMapper.finalize
  end

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

  config.after(:each) do
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sbf-dm-sql-finders-0.0.4 spec/spec_helper.rb
dm-sql-finders-0.0.3 spec/spec_helper.rb
dm-sql-finders-0.0.2 spec/spec_helper.rb
dm-sql-finders-0.0.1 spec/spec_helper.rb