rails/activemodel/test
Renato Mascarenhas cf7ab6056a Reset attributes should not report changes.
When resetting an attribute, you expect it to return to the state it was
before any changes. Namely, this fixes this unexpected behavior:

~~~ruby
model.name = "Bob"
model.reset_name!
model.name_changed? #=> true
~~~
2012-12-01 16:58:09 -02:00
..
cases Reset attributes should not report changes. 2012-12-01 16:58:09 -02:00
models Remove observers and sweepers 2012-11-28 22:46:49 -02:00
validators This is not an executable file 2010-12-16 01:49:28 +05:30
config.rb Make Active Model test suite similar to Active Record 2009-03-20 10:32:24 +00:00