From 64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 11:34:28 +0100 Subject: Added rubocop-minitest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- test/models/comment_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/models/comment_test.rb') 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 -- cgit v1.2.3