Sha256: 97a8ddb305f45f28ae0eaeb8cac8d08015f50418951a27979af4fe486dbffabf
Contents?: true
Size: 861 Bytes
Versions: 3
Compression:
Stored size: 861 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'factory_girl_rails' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load dummy factories Dir["#{File.dirname(__FILE__)}/dummy/spec/factories/**/*.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.include FactoryGirl::Syntax::Methods config.include ActionDispatch::TestProcess config.fixture_path = "#{File.dirname(__FILE__)}/fixtures" end CarrierWave.configure do |config| config.storage = :file config.enable_processing = false end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tasuku-0.1.1 | spec/spec_helper.rb |
tasuku-0.1.0 | spec/spec_helper.rb |
tasuku-0.0.1 | spec/spec_helper.rb |