diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 11:34:28 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2024-03-14 14:09:11 +0100 |
| commit | 64e2bca8326bd46a2ad80b6a7a430dea0f81ff6b (patch) | |
| tree | bf4d1894c45471ee1d38b6292b87e356737f2fb6 /test/models/comment_test.rb | |
| parent | 90feff2bfcbdb5586a459c2350a4172a4423668e (diff) | |
| download | operum-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.rb | 3 |
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 |
