authentication via google

This commit is contained in:
mmoser committed 2015-10-19 22:05:28 -05:00
1 parent b407d40747
commit 0cefdaf15c
8 files changed
+32 -16

No files matched your search

@@ -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?