Sha256: dd0b1abd24d574cd5cfb5bbdfefd776e7037ed47e333f4b536afd4274b74c426

Contents?: true

Size: 690 Bytes

Versions: 38

Compression:

Stored size: 690 Bytes

Contents

require 'fileutils'

# Load the environment
ENV['RAILS_ENV'] = 'test'

rails_root = File.dirname(__FILE__) + '/rails_root'

require "#{rails_root}/config/environment.rb"

# Load the testing framework
require 'test_help'
silence_warnings { RAILS_ENV = ENV['RAILS_ENV'] }

# Run the migrations
ActiveRecord::Migration.verbose = false
ActiveRecord::Migrator.migrate("#{RAILS_ROOT}/db/migrate")

# Setup the fixtures path
ActiveSupport::TestCase.fixture_path =
  File.join(File.dirname(__FILE__), "fixtures")

class ActiveSupport::TestCase #:nodoc:
  self.use_transactional_fixtures = false
  self.use_instantiated_fixtures  = false
end

require 'test/fail_macros'
require 'test/model_builder'

Version data entries

38 entries across 38 versions & 10 rubygems

Version Path
auser-poolparty-1.3.0 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.1 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.10 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.11 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.12 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.13 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.14 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.15 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.16 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.17 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.2 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.3 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.4 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.5 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.6 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.7 vendor/gems/shoulda/test/test_helper.rb
auser-poolparty-1.3.8 vendor/gems/shoulda/test/test_helper.rb
fairchild-poolparty-1.3.17 vendor/gems/shoulda/test/test_helper.rb
fairchild-poolparty-1.3.5 vendor/gems/shoulda/test/test_helper.rb
iGEL-shoulda-2.10.2 test/test_helper.rb