Sha256: dcd117420587b190215fc46050db6a8012e7ef8cb61582d926ab13b19b089218
Contents?: true
Size: 639 Bytes
Versions: 17
Compression:
Stored size: 639 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.order = "random" config.before(:each) do Rails.application.reload_routes! end config.after(:each) do Sitepress.reset_configuration end end
Version data entries
17 entries across 17 versions & 1 rubygems