diff options
author | Akira Matsuda <ronnie@dio.jp> | 2019-08-02 06:18:19 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2019-08-02 06:21:14 +0900 |
commit | dd779c9686f49f5ed6dda8ad5a1cb3b0788e1dd4 (patch) | |
tree | 797506f4a715a3185ed6625433b8489c04b70c0c /activemodel/test/cases/validations | |
parent | 89399ed88ce2e88581401109a6e57ddca03554ea (diff) | |
download | rails-dd779c9686f49f5ed6dda8ad5a1cb3b0788e1dd4.tar.gz rails-dd779c9686f49f5ed6dda8ad5a1cb3b0788e1dd4.tar.bz2 rails-dd779c9686f49f5ed6dda8ad5a1cb3b0788e1dd4.zip |
No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f
Diffstat (limited to 'activemodel/test/cases/validations')
16 files changed, 16 insertions, 16 deletions
diff --git a/activemodel/test/cases/validations/absence_validation_test.rb b/activemodel/test/cases/validations/absence_validation_test.rb index 8bc4f4723a..1701acd568 100644 --- a/activemodel/test/cases/validations/absence_validation_test.rb +++ b/activemodel/test/cases/validations/absence_validation_test.rb @@ -5,7 +5,7 @@ require "models/topic" require "models/person" require "models/custom_reader" -class AbsenceValidationTest < ActiveModel::TestCase +class AbsenceValidationTest < ActiveSupport::TestCase teardown do Topic.clear_validators! Person.clear_validators! diff --git a/activemodel/test/cases/validations/acceptance_validation_test.rb b/activemodel/test/cases/validations/acceptance_validation_test.rb index 6bd3d292f8..3cdebec1ac 100644 --- a/activemodel/test/cases/validations/acceptance_validation_test.rb +++ b/activemodel/test/cases/validations/acceptance_validation_test.rb @@ -6,7 +6,7 @@ require "models/topic" require "models/reply" require "models/person" -class AcceptanceValidationTest < ActiveModel::TestCase +class AcceptanceValidationTest < ActiveSupport::TestCase teardown do self.class.send(:remove_const, :TestClass) end diff --git a/activemodel/test/cases/validations/callbacks_test.rb b/activemodel/test/cases/validations/callbacks_test.rb index ff3cf61746..65b5ee1e57 100644 --- a/activemodel/test/cases/validations/callbacks_test.rb +++ b/activemodel/test/cases/validations/callbacks_test.rb @@ -85,7 +85,7 @@ class DogValidatorWithIfCondition < Dog def set_after_validation_marker2; history << "after_validation_marker2" ; end end -class CallbacksWithMethodNamesShouldBeCalled < ActiveModel::TestCase +class CallbacksWithMethodNamesShouldBeCalled < ActiveSupport::TestCase def test_if_condition_is_respected_for_before_validation d = DogValidatorWithIfCondition.new d.valid? diff --git a/activemodel/test/cases/validations/conditional_validation_test.rb b/activemodel/test/cases/validations/conditional_validation_test.rb index 9674068aff..e82aa2eacb 100644 --- a/activemodel/test/cases/validations/conditional_validation_test.rb +++ b/activemodel/test/cases/validations/conditional_validation_test.rb @@ -4,7 +4,7 @@ require "cases/helper" require "models/topic" -class ConditionalValidationTest < ActiveModel::TestCase +class ConditionalValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/confirmation_validation_test.rb b/activemodel/test/cases/validations/confirmation_validation_test.rb index 7bf15e4bee..9a289e77ea 100644 --- a/activemodel/test/cases/validations/confirmation_validation_test.rb +++ b/activemodel/test/cases/validations/confirmation_validation_test.rb @@ -5,7 +5,7 @@ require "cases/helper" require "models/topic" require "models/person" -class ConfirmationValidationTest < ActiveModel::TestCase +class ConfirmationValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/exclusion_validation_test.rb b/activemodel/test/cases/validations/exclusion_validation_test.rb index 50bd47065c..389195a8ad 100644 --- a/activemodel/test/cases/validations/exclusion_validation_test.rb +++ b/activemodel/test/cases/validations/exclusion_validation_test.rb @@ -6,7 +6,7 @@ require "active_support/core_ext/numeric/time" require "models/topic" require "models/person" -class ExclusionValidationTest < ActiveModel::TestCase +class ExclusionValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/format_validation_test.rb b/activemodel/test/cases/validations/format_validation_test.rb index 2a7088b3e8..feae66602c 100644 --- a/activemodel/test/cases/validations/format_validation_test.rb +++ b/activemodel/test/cases/validations/format_validation_test.rb @@ -5,7 +5,7 @@ require "cases/helper" require "models/topic" require "models/person" -class FormatValidationTest < ActiveModel::TestCase +class FormatValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/i18n_generate_message_validation_test.rb b/activemodel/test/cases/validations/i18n_generate_message_validation_test.rb index d3e44945db..e9adc7d446 100644 --- a/activemodel/test/cases/validations/i18n_generate_message_validation_test.rb +++ b/activemodel/test/cases/validations/i18n_generate_message_validation_test.rb @@ -4,7 +4,7 @@ require "cases/helper" require "models/person" -class I18nGenerateMessageValidationTest < ActiveModel::TestCase +class I18nGenerateMessageValidationTest < ActiveSupport::TestCase def setup Person.clear_validators! @person = Person.new diff --git a/activemodel/test/cases/validations/i18n_validation_test.rb b/activemodel/test/cases/validations/i18n_validation_test.rb index c81649f493..aaa3e4909d 100644 --- a/activemodel/test/cases/validations/i18n_validation_test.rb +++ b/activemodel/test/cases/validations/i18n_validation_test.rb @@ -3,7 +3,7 @@ require "cases/helper" require "models/person" -class I18nValidationTest < ActiveModel::TestCase +class I18nValidationTest < ActiveSupport::TestCase def setup Person.clear_validators! @person = person_class.new diff --git a/activemodel/test/cases/validations/inclusion_validation_test.rb b/activemodel/test/cases/validations/inclusion_validation_test.rb index 6669d028a0..3469dd5e9d 100644 --- a/activemodel/test/cases/validations/inclusion_validation_test.rb +++ b/activemodel/test/cases/validations/inclusion_validation_test.rb @@ -5,7 +5,7 @@ require "cases/helper" require "models/topic" require "models/person" -class InclusionValidationTest < ActiveModel::TestCase +class InclusionValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/length_validation_test.rb b/activemodel/test/cases/validations/length_validation_test.rb index 37e10f783c..7d59b9a035 100644 --- a/activemodel/test/cases/validations/length_validation_test.rb +++ b/activemodel/test/cases/validations/length_validation_test.rb @@ -5,7 +5,7 @@ require "cases/helper" require "models/topic" require "models/person" -class LengthValidationTest < ActiveModel::TestCase +class LengthValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/numericality_validation_test.rb b/activemodel/test/cases/validations/numericality_validation_test.rb index 191af033df..c8afc02894 100644 --- a/activemodel/test/cases/validations/numericality_validation_test.rb +++ b/activemodel/test/cases/validations/numericality_validation_test.rb @@ -8,7 +8,7 @@ require "models/person" require "bigdecimal" require "active_support/core_ext/big_decimal" -class NumericalityValidationTest < ActiveModel::TestCase +class NumericalityValidationTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/presence_validation_test.rb b/activemodel/test/cases/validations/presence_validation_test.rb index c3eca41070..ca91b49528 100644 --- a/activemodel/test/cases/validations/presence_validation_test.rb +++ b/activemodel/test/cases/validations/presence_validation_test.rb @@ -6,7 +6,7 @@ require "models/topic" require "models/person" require "models/custom_reader" -class PresenceValidationTest < ActiveModel::TestCase +class PresenceValidationTest < ActiveSupport::TestCase teardown do Topic.clear_validators! Person.clear_validators! diff --git a/activemodel/test/cases/validations/validates_test.rb b/activemodel/test/cases/validations/validates_test.rb index ae5a875c24..090274c0b5 100644 --- a/activemodel/test/cases/validations/validates_test.rb +++ b/activemodel/test/cases/validations/validates_test.rb @@ -6,7 +6,7 @@ require "models/topic" require "models/person_with_validator" require "validators/namespace/email_validator" -class ValidatesTest < ActiveModel::TestCase +class ValidatesTest < ActiveSupport::TestCase setup :reset_callbacks teardown :reset_callbacks diff --git a/activemodel/test/cases/validations/validations_context_test.rb b/activemodel/test/cases/validations/validations_context_test.rb index 3d2dea9828..0f5aee0751 100644 --- a/activemodel/test/cases/validations/validations_context_test.rb +++ b/activemodel/test/cases/validations/validations_context_test.rb @@ -4,7 +4,7 @@ require "cases/helper" require "models/topic" -class ValidationsContextTest < ActiveModel::TestCase +class ValidationsContextTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end diff --git a/activemodel/test/cases/validations/with_validation_test.rb b/activemodel/test/cases/validations/with_validation_test.rb index e6ae6603f2..6d00ece108 100644 --- a/activemodel/test/cases/validations/with_validation_test.rb +++ b/activemodel/test/cases/validations/with_validation_test.rb @@ -4,7 +4,7 @@ require "cases/helper" require "models/topic" -class ValidatesWithTest < ActiveModel::TestCase +class ValidatesWithTest < ActiveSupport::TestCase def teardown Topic.clear_validators! end |