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

Upgraded to Rails 5.1.1

This commit is contained in:
2017-06-08 21:45:36 -04:00
parent f409918f5b
commit 98e63a2ff0
19 changed files with 174 additions and 170 deletions

View File

@@ -1,7 +1,7 @@
require 'test_helper'
class MatchesControllerTest < ActionController::TestCase
include Devise::TestHelpers
include Devise::Test::ControllerHelpers
setup do
@tournament = Tournament.find(1)
@@ -10,11 +10,11 @@ class MatchesControllerTest < ActionController::TestCase
end
def post_update
patch :update, id: @match.id, match: {tournament_id: 1, mat_id: 1}
patch :update, params: { id: @match.id, match: {tournament_id: 1, mat_id: 1} }
end
def get_edit
get :edit, id: @match.id
get :edit, params: { id: @match.id }
end
def sign_in_owner