Sha256: ba004a923ad208e56520441ef1c5cc07522725101d6978bce9ef09a35fc44941

Contents?: true

Size: 906 Bytes

Versions: 2

Compression:

Stored size: 906 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
ENV["RAILS_ENV"] ||= "test"

require 'rubygems'
require 'bundler/setup'
require 'bundler'
Bundler.setup

require 'active_support'
#require 'active_support/test_case'
require 'action_controller'
require 'warden'
require 'cancan'
require 'mongoid'

#root = File.expand_path(File.dirname(__FILE__))

ENV["RAILS_ENV"] = "test"
require "rails"
case Rails.version
when '3.2.22'
  require "apps/rails3_2"
when '4.2.5'
  require "apps/rails4"
end

require 'rspec/rails'

RSpec.configure do |config|
  #config.rspec_opts = '--format documentation'
  # The different available types are documented in the features, such as in
  # https://relishapp.com/rspec/rspec-rails/docs
  config.infer_spec_type_from_file_location!
end

Test::Unit::AutoRunner.need_auto_run = false if defined?(Test::Unit::AutoRunner)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
egregious-0.2.13 spec/spec_helper.rb
egregious-0.2.12 spec/spec_helper.rb