Permalink
Browse files

Merge pull request #7451 from frodsan/fix_dep_ag

fix order dependent test in AggregationsTest
  • Loading branch information...
2 parents ea84b0c + 47cce91 commit 930dbbbcff71dfb1818549ea936aabe91cc357a6 @spastorino spastorino committed Aug 27, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 activerecord/test/cases/aggregations_test.rb
@@ -114,6 +114,8 @@ def test_nil_return_from_converter_is_respected_when_allow_nil_is_true
customers(:david).save
customers(:david).reload
assert_nil customers(:david).non_blank_gps_location
+ ensure
+ Customer.gps_conversion_was_run = nil
end
def test_nil_return_from_converter_results_in_failure_when_allow_nil_is_false

0 comments on commit 930dbbb

Please sign in to comment.