]> git.openstreetmap.org Git - rails.git/blob - test/models/diary_comment_test.rb
Assert there are no diary comments before creating one.
[rails.git] / test / models / diary_comment_test.rb
1 require "test_helper"
2
3 class DiaryCommentTest < ActiveSupport::TestCase
4   def test_diary_comment_exists
5     comment = create(:diary_comment)
6     assert_includes DiaryComment.all, comment
7   end
8 end