Sha256: 79bb89a79732755b2c255cee0dd16f4990f8ecc5b78bf7e803df33143ccab07b

Contents?: true

Size: 760 Bytes

Versions: 72

Compression:

Stored size: 760 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'])
load(File.expand_path('../dummy/db/schema.rb', __FILE__))

Version data entries

72 entries across 72 versions & 15 rubygems

Version Path
slugs-1.3.2 test/test_helper.rb
translatable_records-1.1.7 test/test_helper.rb
pagers-3.1.5 test/test_helper.rb
crumbs-2.1.2 test/test_helper.rb
translatable_routes-1.4.0 test/test_helper.rb
pagers-3.1.4 test/test_helper.rb
translatable_routes-1.3.6 test/test_helper.rb
crumbs-2.1.1 test/test_helper.rb
pagers-3.1.3 test/test_helper.rb
translatable_routes-1.3.5 test/test_helper.rb
crumbs-2.0.2 test/test_helper.rb
translatable_records-1.1.6 test/test_helper.rb
slugs-1.3.1 test/test_helper.rb
crumbs-1.2.1 test/test_helper.rb
slugs-1.3.0 test/test_helper.rb
translatable_records-1.1.4 test/test_helper.rb
pagers-3.1.2 test/test_helper.rb
translatable_routes-1.3.4 test/test_helper.rb
slugs-1.2.5 test/test_helper.rb
crumbs-1.2.0 test/test_helper.rb