Sha256: 635c34c43612c4ad2d76f6167c9cc01dac462f5b28454cc8e6da11fee9334cc2
Contents?: true
Size: 561 Bytes
Versions: 11
Compression:
Stored size: 561 Bytes
Contents
$:.unshift File.expand_path('../lib', __FILE__) require 'coveralls' Coveralls.wear! require 'rspec' require 'sqlite3' require 'mysql2' require 'pg' require 'microscope' # Require our macros and extensions Dir[File.expand_path('../../spec/support/macros/**/*.rb', __FILE__)].map(&method(:require)) RSpec.configure do |config| # Include our macros config.include DatabaseMacros config.include ModelMacros config.before :each do adapter = ENV['DB_ADAPTER'] || 'sqlite3' setup_database(adapter: adapter, database: 'microscope_test') end end
Version data entries
11 entries across 11 versions & 1 rubygems