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

Version Path
microscope-0.5.10 spec/spec_helper.rb
microscope-0.5.9 spec/spec_helper.rb
microscope-0.5.8 spec/spec_helper.rb
microscope-0.5.7 spec/spec_helper.rb
microscope-0.5.6.1 spec/spec_helper.rb
microscope-0.5.6 spec/spec_helper.rb
microscope-0.5.5 spec/spec_helper.rb
microscope-0.5.4 spec/spec_helper.rb
microscope-0.5.3 spec/spec_helper.rb
microscope-0.5.2 spec/spec_helper.rb
microscope-0.5.1 spec/spec_helper.rb