diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-08-26 16:32:08 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-08-26 16:32:08 -0500 |
commit | 47cce917f266baa0c51bb259b8ad678c0422830d (patch) | |
tree | eea620a54de98e9a78ea1e73b726d7003dea954c /activerecord/test/cases/finder_respond_to_test.rb | |
parent | ea84b0c6183949750f0801db50d22e58d62ec024 (diff) | |
download | rails-47cce917f266baa0c51bb259b8ad678c0422830d.tar.gz rails-47cce917f266baa0c51bb259b8ad678c0422830d.tar.bz2 rails-47cce917f266baa0c51bb259b8ad678c0422830d.zip |
fix order dependent test in AggregationsTest
Ensure class variable is set to nil.
It prevents the following test to fail:
def test_do_not_run_the_converter_when_nil_was_set
customers(:david).non_blank_gps_location = nil
assert_nil Customer.gps_conversion_was_run
end
Check https://github.com/rails/rails/blob/master/activerecord/test/models/customer.rb#L7
for more information.
Diffstat (limited to 'activerecord/test/cases/finder_respond_to_test.rb')
0 files changed, 0 insertions, 0 deletions