authentication via google

This commit is contained in:
2015-10-19 22:05:28 -05:00
parent b407d40747
commit 0cefdaf15c
8 changed files with 32 additions and 16 deletions

View File

@ -1,6 +1,14 @@
require 'test_helper'
class ParentsControllerTest < ActionController::TestCase
include Sorcery::TestHelpers::Rails::Integration
include Sorcery::TestHelpers::Rails::Controller
def setup
@admin = people(:admin)
login_user(@admin)
end
def test_parents
get :index
assert response.ok?