aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/error_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/error_test.rb')
-rw-r--r--activemodel/test/cases/error_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/test/cases/error_test.rb b/activemodel/test/cases/error_test.rb
index c87ab8b858..f557d50c32 100644
--- a/activemodel/test/cases/error_test.rb
+++ b/activemodel/test/cases/error_test.rb
@@ -44,7 +44,6 @@ class ErrorTest < ActiveModel::TestCase
test "initialize without type but with options" do
options = { message: "bar" }
error = ActiveModel::Error.new(Person.new, :name, options)
- assert_equal :invalid, error.type
assert_equal(options, error.options)
end