Sha256: d57bd8e542baf65d0c428dc83ab7f6a1d6bbf44d5c40f0304d64926085fd5692
Contents?: true
Size: 703 Bytes
Versions: 35
Compression:
Stored size: 703 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 'rspec/autorun' 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 } end
Version data entries
35 entries across 35 versions & 1 rubygems