aboutsummaryrefslogtreecommitdiff
path: root/test/models/comment_test.rb
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-14 11:34:28 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-14 14:09:11 +0100
commit64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b (patch)
treebf4d1894c45471ee1d38b6292b87e356737f2fb6 /test/models/comment_test.rb
parent90feff2bfcbdb5586a459c2350a4172a4423668e (diff)
downloadoperum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.tar.gz
operum-64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b.zip
Added rubocop-minitest
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'test/models/comment_test.rb')
-rw-r--r--test/models/comment_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/models/comment_test.rb b/test/models/comment_test.rb
index 087963a..deb1a1d 100644
--- a/test/models/comment_test.rb
+++ b/test/models/comment_test.rb
@@ -13,6 +13,7 @@ class CommentTest < ActiveSupport::TestCase
test 'has many tags through tag_references' do
comment = comments(:comment1)
- assert comment.tags.size == 1
+
+ assert_equal 1, comment.tags.size
end
end