aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/eye.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-04-28 19:15:42 -0400
committereileencodes <eileencodes@gmail.com>2014-04-28 19:15:42 -0400
commita0401aa22adcebb099f9d53fdb743b645d24cf94 (patch)
tree110ebb25e98f8b1ce2c5f41a34609bba6667a9c9 /activerecord/test/models/eye.rb
parentfe5d0988241cf34a378f05ce84e90c5d0636287a (diff)
downloadrails-a0401aa22adcebb099f9d53fdb743b645d24cf94.tar.gz
rails-a0401aa22adcebb099f9d53fdb743b645d24cf94.tar.bz2
rails-a0401aa22adcebb099f9d53fdb743b645d24cf94.zip
rewrite test to correctly test clear method
Clear should not call callbacks because it clear calls delete_all and then returns self. It should behave the same as delete_all. This test clarifies the goal of the test and tests the correct outcome.
Diffstat (limited to 'activerecord/test/models/eye.rb')
0 files changed, 0 insertions, 0 deletions