diff --git a/test/unit/comment_notifier_test.rb b/test/unit/comment_notifier_test.rb index bf227fa..e7a31ff 100644 --- a/test/unit/comment_notifier_test.rb +++ b/test/unit/comment_notifier_test.rb @@ -95,7 +95,7 @@ class CommentNotifierTest < ActiveSupport::TestCase private def create_comment_and_notify(args) - Comment.create!(args) + create(Comment, args) process_delayed_job_queue end -- libgit2 0.21.2