diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-23 10:59:05 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-09-23 10:59:05 -0300 |
commit | 9aa1a3d85327fa0a3055b5b757a0be092ce582f7 (patch) | |
tree | 963c86f32493da238498a52798c0c6018addd144 /activemodel/test | |
parent | 782055674a975e54846bcc103eac023ac84b046b (diff) | |
download | rails-9aa1a3d85327fa0a3055b5b757a0be092ce582f7.tar.gz rails-9aa1a3d85327fa0a3055b5b757a0be092ce582f7.tar.bz2 rails-9aa1a3d85327fa0a3055b5b757a0be092ce582f7.zip |
Merge pull request #10816 from bogdan/less-dirty-dirty
Make AM::Dirty less dirty to plugin into AR or other library
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/dirty_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activemodel/test/cases/dirty_test.rb b/activemodel/test/cases/dirty_test.rb index ba45089cca..ed34ca8a6e 100644 --- a/activemodel/test/cases/dirty_test.rb +++ b/activemodel/test/cases/dirty_test.rb @@ -29,8 +29,7 @@ class DirtyTest < ActiveModel::TestCase end def save - @previously_changed = changes - @changed_attributes.clear + changes_applied end end |