Skip to content

Commit abfd8e1

Browse files
committed
Removed ActiveSupport code
1 parent c8b9c24 commit abfd8e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/spec_helper.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
require "yaml"
99
require "active_support"
1010

11-
ActiveSupport::Deprecation.behavior = lambda do |msg, stack|
12-
# when running this test suite ignore our own deprecation warnings
13-
unless /use AuthorizeNet::API::Transaction/ =~ msg
14-
ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:stderr].call(msg, stack, ActiveSupport::Deprecation.new)
15-
end
16-
end
11+
# ActiveSupport::Deprecation.behavior = lambda do |msg, stack|
12+
# # when running this test suite ignore our own deprecation warnings
13+
# unless /use AuthorizeNet::API::Transaction/ =~ msg
14+
# ActiveSupport::Deprecation::DEFAULT_BEHAVIORS[:stderr].call(msg, stack, ActiveSupport::Deprecation.new)
15+
# end
16+
# end
1717

1818
Dir['./spec/support/**/*.rb'].each { |f| require f }
1919

0 commit comments

Comments
 (0)