class TestAutosaveAssociationWithTouch

Public Instance Methods

test_autosave_with_touch_should_not_raise_system_stack_error() click to toggle source
# File activerecord/test/cases/autosave_association_test.rb, line 1706
def test_autosave_with_touch_should_not_raise_system_stack_error
  invoice = Invoice.create
  assert_nothing_raised { invoice.line_items.create(amount: 10) }
end