Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7451 from frodsan/fix_dep_ag

fix order dependent test in AggregationsTest
  • Loading branch information...
commit 930dbbbcff71dfb1818549ea936aabe91cc357a6 2 parents ea84b0c + 47cce91
@spastorino spastorino authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  activerecord/test/cases/aggregations_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.