mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-01 20:25:26 +00:00
Tests for non privileged routes
This commit is contained in:
@@ -108,6 +108,10 @@ class WrestlersControllerTest < ActionController::TestCase
|
||||
redirect
|
||||
end
|
||||
|
||||
test "view wrestler" do
|
||||
get :show, id: @wrestler.id
|
||||
success
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user