Sha256: ae0d816987524ed338612afd21f06168e8cc91f9cfae47a4a84e01834a3e1abe

Contents?: true

Size: 662 Bytes

Versions: 10

Compression:

Stored size: 662 Bytes

Contents

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

ENV['RAILS_ENV'] = 'test'
ENV['RAILS_ROOT'] = 'app_root'

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

# Load dependencies
require 'rspec_candy/all'

# 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

10 entries across 10 versions & 1 rubygems

Version Path
rspec_candy-0.3.1 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.3.0 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.10 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.9 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.8 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.7 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.6 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.5 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.4 spec/rspec1/spec/spec_helper.rb
rspec_candy-0.2.3 spec/rspec1/spec/spec_helper.rb