提交 aff5e524 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #27928 from y-yagi/remove_activemodel_testcase_from_lib

Remove `ActiveModel::TestCase` from lib
* Remove unused `ActiveModel::TestCase` class.
*Yuji Yaginuma*
* Moved DecimalWithoutScale, Text, and UnsignedInteger from Active Model to Active Record * Moved DecimalWithoutScale, Text, and UnsignedInteger from Active Model to Active Record
*Iain Beeston* *Iain Beeston*
......
...@@ -42,7 +42,6 @@ module ActiveModel ...@@ -42,7 +42,6 @@ module ActiveModel
autoload :Naming autoload :Naming
autoload :SecurePassword autoload :SecurePassword
autoload :Serialization autoload :Serialization
autoload :TestCase
autoload :Translation autoload :Translation
autoload :Validations autoload :Validations
autoload :Validator autoload :Validator
......
module ActiveModel #:nodoc:
class TestCase < ActiveSupport::TestCase #:nodoc:
end
end
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
require "active_support/testing/autorun" require "active_support/testing/autorun"
require "active_support/testing/method_call_assertions" require "active_support/testing/method_call_assertions"
class ActiveModel::TestCase class ActiveModel::TestCase < ActiveSupport::TestCase
include ActiveSupport::Testing::MethodCallAssertions include ActiveSupport::Testing::MethodCallAssertions
# Skips the current run on Rubinius using Minitest::Assertions#skip # Skips the current run on Rubinius using Minitest::Assertions#skip
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册