17 lines
320 B
Ruby
17 lines
320 B
Ruby
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?
|
|
end
|
|
end
|