Sha256: 2495024add39f9440537e22144e8b569ff0e2ebd7ea4dd775b5ee26726cf1474

Contents?: true

Size: 712 Bytes

Versions: 2

Compression:

Stored size: 712 Bytes

Contents

require 'simplecov'
require 'simplecov-gem-profile'
SimpleCov.start "gem" do
  add_filter "/tasks/"
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'rspec'
require 'rspec/given'
require 'its-it'
require 'active_record'
require 'schema_monkey'
require 'schema_dev/rspec'

SchemaDev::Rspec.setup

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.warnings = true
  config.before(:each) do
    SchemaMonkey.reset_for_rspec
  end
end

SimpleCov.command_name "[ruby #{RUBY_VERSION} - ActiveRecord #{::ActiveRecord::VERSION::STRING} - #{ActiveRecord::Base.connection.adapter_name}]"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schema_monkey-2.1.6 spec/spec_helper.rb
schema_monkey-2.1.5 spec/spec_helper.rb