mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Fixed weights controller test
This commit is contained in:
@@ -18,7 +18,7 @@ class WeightsControllerTest < ActionController::TestCase
|
||||
end
|
||||
|
||||
def post_update
|
||||
patch :update, id: @weight.id, weight: {name: @weight.max, tournament_id: @weight.tournament_id}
|
||||
patch :update, id: @weight.id, weight: {max: @weight.max, tournament_id: @weight.tournament_id}
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in New Issue
Block a user