aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/model_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/model_test.rb')
-rw-r--r--activemodel/test/cases/model_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/model_test.rb b/activemodel/test/cases/model_test.rb
index 9a8d873ec9..3017f3541b 100644
--- a/activemodel/test/cases/model_test.rb
+++ b/activemodel/test/cases/model_test.rb
@@ -70,7 +70,7 @@ class ModelTest < ActiveModel::TestCase
end
def test_mixin_initializer_when_args_dont_exist
- assert_raises(ActiveModel::AttributeAssignment::UnknownAttributeError) do
+ assert_raises(ActiveModel::UnknownAttributeError) do
SimpleModel.new(hello: 'world')
end
end