aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>2015-01-24 11:58:52 +0100
committerWojciech Wnętrzak <w.wnetrzak@gmail.com>2015-01-24 11:58:55 +0100
commitfb7d95b21222f762eb4dded727a5999fb198fdfb (patch)
tree2aaca617207d1c219196fce47c013e677bc1e5b4 /activemodel/test
parent847395a04df52a389823ff4367c4b002cdbb5c6a (diff)
downloadrails-fb7d95b21222f762eb4dded727a5999fb198fdfb.tar.gz
rails-fb7d95b21222f762eb4dded727a5999fb198fdfb.tar.bz2
rails-fb7d95b21222f762eb4dded727a5999fb198fdfb.zip
Fixed duplicating ActiveModel::Errors#details
Diffstat (limited to 'activemodel/test')
-rw-r--r--activemodel/test/cases/errors_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/errors_test.rb b/activemodel/test/cases/errors_test.rb
index 9cfba9812b..17dbb817d0 100644
--- a/activemodel/test/cases/errors_test.rb
+++ b/activemodel/test/cases/errors_test.rb
@@ -347,7 +347,7 @@ class ErrorsTest < ActiveModel::TestCase
errors.add(:name, :invalid)
errors_dup = errors.dup
errors_dup.add(:name, :taken)
- assert_not_same errors_dup.details, errors.details
+ assert_not_equal errors_dup.details, errors.details
end
test "delete removes details on given attribute" do