1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Updated to rails 7.2.2

This commit is contained in:
2024-12-05 17:18:29 -05:00
parent db440c0603
commit f92faf4f5c
16 changed files with 255 additions and 115 deletions

View File

@@ -143,6 +143,7 @@ class TournamentsControllerTest < ActionController::TestCase
test "logged in tournament owner can access post weigh_in_weight" do
sign_in_owner
post :weigh_in, params: { id: 1, weight: 1, wrestler: @wrestlers }
success
end
test "logged in non tournament owner cannot access post weigh_in_weight" do
@@ -514,6 +515,7 @@ class TournamentsControllerTest < ActionController::TestCase
test "logged in tournament delegate can access post weigh_in_weight" do
sign_in_delegate
post :weigh_in, params: { id: 1, weight: 1, wrestler: @wrestlers }
success
end
test "logged in tournament delegate should post update tournament" do