Skip to content

Commit

Permalink
Rubocopの指摘に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
unikounio committed Apr 11, 2024
1 parent 0ce1c94 commit a183c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/users_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class UsersHelperTest < ActionView::TestCase

test 'link_or_text_for_count' do
assert_equal '0', link_or_text_for_count(0, user_path(users(:kimura)))
assert_dom_equal %{<a href="/users/#{users(:kimura).id}">1</a>}, link_or_text_for_count(1, user_path(users(:kimura)))
assert_dom_equal %(<a href="/users/#{users(:kimura).id}">1</a>), link_or_text_for_count(1, user_path(users(:kimura)))
end
end

0 comments on commit a183c91

Please sign in to comment.