tests: fixup post votes, comment votes controller tests.

This commit is contained in:
evazion
2019-10-28 16:52:02 -05:00
parent 4bb1bdbe10
commit 68c74ed9d8
2 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ class PostVotesControllerTest < ActionDispatch::IntegrationTest
context "index action" do
should "work" do
as(@user) { create(:post_vote, post_id: @post.id, user_id: @user.id) }
get post_votes_path
get_auth post_votes_path, @user
assert_response :success
end