spec/spec_helper.rb in mail_manager-0.1.4 vs spec/spec_helper.rb in mail_manager-3.0.0

- old
+ new

@@ -1,10 +1,11 @@ # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../spec/test_app/config/environment", __FILE__) +require 'database_cleaner' require 'rspec/rails' # require 'rspec/autorun' `rake db:schema:load` # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. @@ -23,11 +24,11 @@ # config.fixture_path = "#{::Rails.root}/spec/fixtures" # 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 = false + 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 @@ -39,9 +40,9 @@ config.order = "random" # Use color in STDOUT config.color_enabled = true # Use color not only in STDOUT but also in pagers and files - config.tty = true + #config.tty = true - config.formatter = :documentation # :progress, :html, :textmate + #config.formatter = :documentation # :progress, :html, :textmate end