X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c83f15821d5a48dd424cc5b534939d7f30a9fae0..6a9b0f05b28cee95b06377978339fc0028261583:/test/models/diary_comment_test.rb diff --git a/test/models/diary_comment_test.rb b/test/models/diary_comment_test.rb index aa03dc66c..aeb054a02 100644 --- a/test/models/diary_comment_test.rb +++ b/test/models/diary_comment_test.rb @@ -1,6 +1,8 @@ require "test_helper" class DiaryCommentTest < ActiveSupport::TestCase + fixtures :users, :languages + test "body must be present" do comment = build(:diary_comment, :body => "") assert_not comment.valid?