mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove ActiveModel::TestCase
from lib
`ActiveModel::TestCase` is used only for the test of Active Model. Also, it is a private API and can not be used in applications. Therefore, it is not necessary to include it in lib.
This commit is contained in:
parent
b9ae7481fd
commit
4f8d86c822
4 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
* Remove unused `ActiveModel::TestCase` class.
|
||||
|
||||
*Yuji Yaginuma*
|
||||
|
||||
* Moved DecimalWithoutScale, Text, and UnsignedInteger from Active Model to Active Record
|
||||
|
||||
*Iain Beeston*
|
||||
|
|
|
@ -42,7 +42,6 @@ module ActiveModel
|
|||
autoload :Naming
|
||||
autoload :SecurePassword
|
||||
autoload :Serialization
|
||||
autoload :TestCase
|
||||
autoload :Translation
|
||||
autoload :Validations
|
||||
autoload :Validator
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
module ActiveModel #:nodoc:
|
||||
class TestCase < ActiveSupport::TestCase #:nodoc:
|
||||
end
|
||||
end
|
|
@ -9,7 +9,7 @@ I18n.enforce_available_locales = false
|
|||
require "active_support/testing/autorun"
|
||||
require "active_support/testing/method_call_assertions"
|
||||
|
||||
class ActiveModel::TestCase
|
||||
class ActiveModel::TestCase < ActiveSupport::TestCase
|
||||
include ActiveSupport::Testing::MethodCallAssertions
|
||||
|
||||
# Skips the current run on Rubinius using Minitest::Assertions#skip
|
||||
|
|
Loading…
Reference in a new issue