# Configure Rails Environment ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require "rails/test_help" require 'factory_girl' #load 'factories.rb' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } Dir["#{File.dirname(__FILE__)}/factories/**/*.rb"].each { |f| load f } #Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} Rails.logger.level = 4