test/test_helper.rb in activevalidators-3.3.0 vs test/test_helper.rb in activevalidators-4.0.0

- old
+ new

@@ -1,8 +1,9 @@ gem 'minitest' require 'minitest/autorun' require 'minitest/mock' +require 'active_support/test_case' # silence warnings old_w, $-w = $-w, false require 'activevalidators' @@ -18,6 +19,10 @@ :text_color, :redirect_rule def initialize(attrs = {}) attrs.each_pair { |k,v| send("#{k}=", v) } end +end + +class Minitest::Spec + include ActiveSupport::Testing::Deprecation end