class TransactionalFixturesOnCustomConnectionTest

Public Instance Methods

test_it_twice_in_whatever_order_to_check_for_fixture_leakage() click to toggle source
# File activerecord/test/cases/fixtures_test.rb, line 681
def test_it_twice_in_whatever_order_to_check_for_fixture_leakage
  test_leaky_destroy
end
test_leaky_destroy() click to toggle source
# File activerecord/test/cases/fixtures_test.rb, line 676
def test_leaky_destroy
  assert_nothing_raised { courses(:ruby) }
  courses(:ruby).destroy
end