Sha256: 81dac39cee82739e5da835cbb02799f2a5ea331354d7405490b29467530e6f5a

Contents?: true

Size: 702 Bytes

Versions: 7

Compression:

Stored size: 702 Bytes

Contents

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

require File.expand_path('../dummy/config/environment.rb',  __FILE__)
require 'rails/test_help'

Rails.backtrace_cleaner.remove_silencers!

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

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
end

# Load database
config = YAML::load(File.read(File.expand_path('../dummy/config/database.yml', __FILE__)))
config['test']['adapter'] = 'jdbcsqlite3' if RUBY_PLATFORM == 'java'
ActiveRecord::Base.establish_connection(config['test'])

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
confidential-0.0.8 test/test_helper.rb
confidential-0.0.7 test/test_helper.rb
confidential-0.0.6 test/test_helper.rb
confidential-0.0.5 test/test_helper.rb
confidential-0.0.3 test/test_helper.rb
confidential-0.0.2 test/test_helper.rb
confidential-0.0.1 test/test_helper.rb