test/test_helper.rb in honeybadger-1.2.1 vs test/test_helper.rb in honeybadger-1.3.0

- old
+ new

@@ -25,15 +25,17 @@ end module DefinesConstants def setup @defined_constants = [] + Honeybadger.context.clear! end def teardown @defined_constants.each do |constant| Object.__send__(:remove_const, constant) end + Honeybadger.context.clear! end def define_constant(name, value) Object.const_set(name, value) @defined_constants << name