Sha256: 659b74535316945426bcf8ab0e14ec18c589ad355dafbbf1951f77bd604d77e4

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path('../rails_app/config/environment.rb',  __FILE__)

require 'bundler'
Bundler.setup

require 'rspec'
require 'rspec/rails'
# require 'active_support/core_ext'
# require 'rails/test_help'

Dir[Rails.root.join('spec/support/**/*.rb')].each {|f| require f}

ActiveRecord::Migrator.migrate File.expand_path('../rails_app/db/migrate/', __FILE__)

Rspec.configure do |config|
  config.mock_with :mocha
  
  config.use_transactional_fixtures = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
governor-0.1.1 spec/spec_helper.rb
governor-0.1.0 spec/spec_helper.rb