Skip to content

Commit

Permalink
Test redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jan 26, 2021
1 parent 961e152 commit 535ca84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,9 @@ def test_kill
# post pg_hero.kill_path(pid: 1_000_000_000)
# assert_redirected_to "/"
end

def test_reset_query_stats
post pg_hero.reset_query_stats_path
assert_redirected_to "/"
end
end

0 comments on commit 535ca84

Please sign in to comment.