Sha256: 513e8ec02fff42382a4bdf7b6af6fa4f02dcdccdda9f8509ac7093e4e5c27b12
Contents?: true
Size: 945 Bytes
Versions: 7
Compression:
Stored size: 945 Bytes
Contents
ENV["RAILS_ENV"] = "test" require 'simplecov' SimpleCov.start require 'active_support' require File.expand_path("../dummy/config/application.rb", __FILE__) require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'factory_girl_rails' require 'shoulda/matchers' Rails.backtrace_cleaner.remove_silencers! RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. config.use_transactional_fixtures = true # If true, the base class of anonymous controllers will be inferred # automatically. This will be the default behavior in future versions of # rspec-rails. config.infer_base_class_for_anonymous_controllers = false config.order = "random" ActiveSupport::Deprecation.silenced = true end
Version data entries
7 entries across 7 versions & 1 rubygems