class CallbacksTest::AroundCallbacksTest

Public Instance Methods

test_save_around() click to toggle source
# File activesupport/test/callbacks_test.rb, line 414
def test_save_around
  around = AroundPerson.new
  around.save
  assert_equal [
    "yup", "yup",
    "tweedle dum pre",
    "w0tyes before",
    "tweedle deedle pre",
    "running",
    "tweedle deedle post",
    "w0tyes after",
    "tweedle dum post",
    "tweedle"
  ], around.history
end