Sha256: 0be2724c42f7535aafb452ed0e5f77d974442f762a73f9cd435dad4cddfc2046
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 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.after(:each) do Mascot.instance_variable_set(:@configuration, nil) Rails.application.reload_routes! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mascot-rails-0.1.7 | spec/spec_helper.rb |
mascot-rails-0.1.6 | spec/spec_helper.rb |