test/test_helper.rb in thoughtbot-shoulda-2.0.6 vs test/test_helper.rb in thoughtbot-shoulda-2.9.0
- old
+ new
@@ -1,8 +1,9 @@
require 'fileutils'
+
# Load the environment
-ENV['RAILS_ENV'] = 'sqlite3'
+ENV['RAILS_ENV'] = 'test'
rails_root = File.dirname(__FILE__) + '/rails_root'
require "#{rails_root}/config/environment.rb"
@@ -29,5 +30,6 @@
self.use_transactional_fixtures = false
self.use_instantiated_fixtures = false
end
require 'test/fail_macros'
+require 'test/model_builder'