Sha256: 4ffd78fe4432e087e0bff918dcfa900affad7f96673d0c0ca7c29600efa22b26

Contents?: true

Size: 591 Bytes

Versions: 9

Compression:

Stored size: 591 Bytes

Contents

# encoding: utf-8

$: << 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 'rspec/rails'
require 'edge_rider/development'
DatabaseCleaner.strategy = :truncation

# Run the migrations
EdgeRider::Development.migrate_test_database

RSpec.configure do |config|
  config.use_transactional_fixtures = false
  config.use_instantiated_fixtures  = false
  config.before(:each) do
    DatabaseCleaner.clean
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
edge_rider-0.3.1 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.3.0 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.5 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.4 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.3 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.2 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.1 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.2.0 spec/rails-3.0/spec/spec_helper.rb
edge_rider-0.1.1 spec/rails-3.0/spec/spec_helper.rb