aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-08-01 18:11:24 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-08-01 18:27:24 +0900
commit03018cb79be301fb40a57c9ac92a392b1eb8ee61 (patch)
tree7e8cc52eca39e98ac7c929300f9f165aee2d5b3f /activemodel
parentd21e5fbc70c54e31b71483452d975448659fac67 (diff)
downloadrails-03018cb79be301fb40a57c9ac92a392b1eb8ee61.tar.gz
rails-03018cb79be301fb40a57c9ac92a392b1eb8ee61.tar.bz2
rails-03018cb79be301fb40a57c9ac92a392b1eb8ee61.zip
Don't require 'active_support/all' in an individual test case!!!
and Git taught me that this crap was added via this commit... https://github.com/rails/rails/commit/68db6bc431fbff0b2291f1f60ccf974b4eece596
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/helper.rb1
-rw-r--r--activemodel/test/cases/validations/inclusion_validation_test.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb
index a4cb472ffc..c6335ac9e3 100644
--- a/activemodel/test/cases/helper.rb
+++ b/activemodel/test/cases/helper.rb
@@ -10,6 +10,7 @@ I18n.enforce_available_locales = false
require "active_support/testing/autorun"
require "active_support/testing/method_call_assertions"
+require "active_support/core_ext/integer/time"
class ActiveModel::TestCase < ActiveSupport::TestCase
include ActiveSupport::Testing::MethodCallAssertions
diff --git a/activemodel/test/cases/validations/inclusion_validation_test.rb b/activemodel/test/cases/validations/inclusion_validation_test.rb
index daad76759f..6669d028a0 100644
--- a/activemodel/test/cases/validations/inclusion_validation_test.rb
+++ b/activemodel/test/cases/validations/inclusion_validation_test.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require "cases/helper"
-require "active_support/all"
require "models/topic"
require "models/person"