Sha256: e77e549126c1aeb6146657e15986217fc4bd64e7fa3dca3da8b00969acb3de46

Contents?: true

Size: 800 Bytes

Versions: 10

Compression:

Stored size: 800 Bytes

Contents

require 'bundler/setup'
Bundler.setup

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../../spec/dummy/config/environment.rb",  __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../spec/dummy/db/migrate", __FILE__)]
require "rails/test_help"

# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
# Minitest.backtrace_filter = Minitest::BacktraceFilter.new

ActiveRecord::Base.configurations = YAML.load_file(File.join(File.dirname(__FILE__), 'config/database.yml'))
ActiveRecord::Base.establish_connection(:test)

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

RSpec.configure do |config|
	config.expect_with :rspec do |c|
		c.syntax = :expect
	end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
advanced_connection-0.6.0 spec/spec_helper.rb
advanced_connection-0.5.14 spec/spec_helper.rb
advanced_connection-0.5.13 spec/spec_helper.rb
advanced_connection-0.5.12 spec/spec_helper.rb
advanced_connection-0.5.11 spec/spec_helper.rb
advanced_connection-0.5.8 spec/spec_helper.rb
advanced_connection-0.5.7 spec/spec_helper.rb
advanced_connection-0.5.6 spec/spec_helper.rb
advanced_connection-0.5.5 spec/spec_helper.rb
advanced_connection-0.5.1 spec/spec_helper.rb