aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-01-24 15:08:11 +0100
committerYves Senn <yves.senn@gmail.com>2015-01-24 15:08:11 +0100
commitc8e39e2fd439c0d3a6cedb858229fc93f430c295 (patch)
tree484c6237006551939897c575a85465bd5ee5aeb8 /activemodel/test/cases
parent9bf9097973c083b23305fe3dddfb359f7049fec9 (diff)
parentfb7d95b21222f762eb4dded727a5999fb198fdfb (diff)
downloadrails-c8e39e2fd439c0d3a6cedb858229fc93f430c295.tar.gz
rails-c8e39e2fd439c0d3a6cedb858229fc93f430c295.tar.bz2
rails-c8e39e2fd439c0d3a6cedb858229fc93f430c295.zip
Merge pull request #18670 from morgoth/fix-duplicating-errors-details
Fixed duplicating ActiveModel::Errors#details
Diffstat (limited to 'activemodel/test/cases')
-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