Sha256: 58ee8b9ea80325d727f1530b3d67399352e053e0e280d17872afbfc4e2e6ec05

Contents?: true

Size: 664 Bytes

Versions: 7

Compression:

Stored size: 664 Bytes

Contents

$: << File.join(File.dirname(__FILE__), "/../lib" )

# Set the default environment to sqlite3's in_memory database
ENV['RAILS_ENV'] ||= 'test'

# Load the Rails environment and testing framework
require "#{File.dirname(__FILE__)}/app_root/config/environment"
require 'spec/rails'

# Load dependencies
# require 'has_defaults'

# Require support code
# Dir["../shared/support/**/*.rb"].each {|f| require f}

# Run the migrations
print "\033[30m" # dark gray text
ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate")
print "\033[0m"

Spec::Runner.configure do |config|
  config.use_transactional_fixtures = true
  config.use_instantiated_fixtures  = false
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
has_defaults-0.4.2 spec/rails-2.3/spec_helper.rb
has_defaults-0.4.1 spec/rails-2.3/spec_helper.rb
assignable_values-0.4.1 spec/rails-2.3/spec_helper.rb
assignable_values-0.4.0 spec/rails-2.3/spec_helper.rb
assignable_values-0.3.0 spec/rails-2.3/spec_helper.rb
assignable_values-0.2.1 spec/rails-2.3/spec_helper.rb
has_defaults-0.4.0 spec/rails-2.3/spec_helper.rb