spec/spec_helper.rb in rom-yesql-0.2.0 vs spec/spec_helper.rb in rom-yesql-0.3.0
- old
+ new
@@ -14,11 +14,11 @@
require 'inflecto'
require 'logger'
begin
require 'byebug'
-rescue LoadError
+rescue LoadError # rubocop:disable Lint/HandleExceptions
end
LOGGER = Logger.new(File.open('./log/test.log', 'a'))
root = Pathname(__FILE__).dirname
@@ -33,7 +33,5 @@
config.after do
added_constants = Object.constants - @constants
added_constants.each { |name| Object.send(:remove_const, name) }
end
end
-
-ROM.use :auto_registration