Sha256: 4254ffcc04848006461c4daf7841e6a917ff77ca6f7ca9ba0e9428b614c23747
Contents?: true
Size: 708 Bytes
Versions: 1
Compression:
Stored size: 708 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require 'simplecov' SimpleCov.start do unless defined?(JRUBY_VERSION) || defined?(JRuby) minimum_coverage 95 refuse_coverage_drop end end require File.expand_path('../dummy/config/environment.rb', __FILE__) require 'rspec/rails' require 'factory_girl_rails' require 'faker' Rails.backtrace_cleaner.remove_silencers! %w(factories support).each do |path| Dir["#{File.dirname(__FILE__)}/#{path}/**/*.rb"].each { |f| require f } end RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.infer_spec_type_from_file_location! config.order = 'random' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_api_auth-0.0.8 | spec/spec_helper.rb |