Sha256: 4fde4eadbb93a31893891993df42b080db0697af063842ed30115e38d803c800

Contents?: true

Size: 706 Bytes

Versions: 8

Compression:

Stored size: 706 Bytes

Contents

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

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'
require "#{File.dirname(__FILE__)}/../../../lib/cucumber_factory"

# 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

8 entries across 8 versions & 1 rubygems

Version Path
cucumber_factory-1.11.4 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.11.3 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.11.2 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.11.1 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.11.0 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.10.0 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.9.2 spec/rails-2.3/spec/spec_helper.rb
cucumber_factory-1.9.1 spec/rails-2.3/spec/spec_helper.rb