spec/spec_helper.rb in with_model-0.2.3 vs spec/spec_helper.rb in with_model-0.2.4
- old
+ new
@@ -39,5 +39,10 @@
end
before { @model = subject }
end
end
+
+if ENV["LOGGER"]
+ require "logger"
+ ActiveRecord::Base.logger = Logger.new(STDOUT)
+end