Methods
T
Instance Public methods
test_excludes_duplicates_in_one_call()
# File activesupport/test/callbacks_test.rb, line 854
def test_excludes_duplicates_in_one_call
  model = DuplicatingCallbacksInSameCall.new
  model.save
  assert_equal ["two", "one", "three", "yielded"], model.record
end
test_excludes_duplicates_in_separate_calls()
# File activesupport/test/callbacks_test.rb, line 848
def test_excludes_duplicates_in_separate_calls
  model = DuplicatingCallbacks.new
  model.save
  assert_equal ["two", "one", "three", "yielded"], model.record
end