spec/spec_helper.rb in seymour-0.0.3 vs spec/spec_helper.rb in seymour-0.0.4
- old
+ new
@@ -1,10 +1,14 @@
# Configure Rails Environment
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../dummy/config/environment.rb", __FILE__)
require 'rspec/rails'
-require "rails/test_help"
+# require "rails/test_help"
+Rails.backtrace_cleaner.remove_silencers!
+
+# Load support files
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
dir = File.dirname(File.expand_path(__FILE__))
$LOAD_PATH.unshift dir + '/../lib'
$LOAD_PATH.unshift dir + '/support'
\ No newline at end of file