From 1511118bba293e51483c0b162340d309ed15420a Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 3 Feb 2017 19:40:11 -0600 Subject: [PATCH] test_helper.rb: remove unused assert_authentication_* helpers. --- test/test_helper.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 0f973978c..a766dbd6e 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -43,20 +43,6 @@ class ActiveSupport::TestCase include UploadTestMethods end -class ActionController::TestCase - include UploadTestMethods - - def assert_authentication_passes(action, http_method, role, params, session) - __send__(http_method, action, params, session.merge(:user_id => @users[role].id)) - assert_response :success - end - - def assert_authentication_fails(action, http_method, role) - __send__(http_method, action, params, session.merge(:user_id => @users[role].id)) - assert_redirected_to(new_sessions_path) - end -end - class MockMemcache def initialize @memory = {}