Rework DiaryEntry and DiaryComment model tests to use factories.
[rails.git] / test / models / diary_comment_test.rb
1 require "test_helper"
2
3 class DiaryCommentTest < ActiveSupport::TestCase
4   def test_diary_comment_count
5     comment = create(:diary_comment)
6     assert_includes DiaryComment.all, comment
7   end
8 end