Sha256: baf7dc62e01834295990df8de26c4309b32b4b42628a5ad6a598eef91b9ba808
Contents?: true
Size: 724 Bytes
Versions: 5
Compression:
Stored size: 724 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) ENV["RAILS_ENV"] ||= "test" require File.expand_path("config/environment", ENV['RAILS_ROOT'] || File.expand_path("../internal", __FILE__)) require 'bundler/setup' require 'rspec/rails' require 'hydra-core' if ENV['COVERAGE'] and RUBY_VERSION =~ /^1.9/ require 'simplecov' require 'simplecov-rcov' SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter SimpleCov.start end RSpec.configure do |config| config.include Devise::TestHelpers, :type => :controller config.use_transactional_fixtures = true config.before(:suite) { User.destroy_all } config.infer_spec_type_from_file_location! end
Version data entries
5 entries across 5 versions & 1 rubygems