comments: let mods click score to see votes.

This commit is contained in:
evazion
2021-01-22 04:26:55 -06:00
parent bed5fdafb8
commit 2eecf4d695
5 changed files with 50 additions and 10 deletions

View File

@@ -44,6 +44,13 @@ class CommentVotesControllerTest < ActionDispatch::IntegrationTest
should respond_to_search(user: {level: User::Levels::GOLD}).with { @vote }
end
end
context "compact variant" do
should "render" do
get_auth comment_votes_path(variant: "compact"), create(:moderator_user)
assert_response :success
end
end
end
context "create action" do