class CallbacksTest::AfterSaveConditionalPersonCallbackTest
Public Instance Methods
test_after_save_runs_in_the_reverse_order()
click to toggle source
# File activesupport/test/callbacks_test.rb, line 175 def test_after_save_runs_in_the_reverse_order person = AfterSaveConditionalPerson.new person.save assert_equal [ [:after_save, :string2], [:after_save, :string1] ], person.history end