diff options
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/test/cases/errors_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/errors_test.rb b/activemodel/test/cases/errors_test.rb index 27631005e5..ddd003d53f 100644 --- a/activemodel/test/cases/errors_test.rb +++ b/activemodel/test/cases/errors_test.rb @@ -380,7 +380,7 @@ class ErrorsTest < ActiveModel::TestCase test "delete returns the deleted messages" do errors = ActiveModel::Errors.new(Person.new) errors.add(:name, :invalid) - assert_equal errors.delete(:name), ["is invalid"] + assert_equal ["is invalid"], errors.delete(:name) end test "clear removes details" do |