sms-pager/test/controllers/parents_controller_test.rb

17 lines
320 B
Ruby
Raw Permalink Normal View History

2015-09-12 15:37:05 -05:00
require 'test_helper'
class ParentsControllerTest < ActionController::TestCase
2015-10-19 22:05:28 -05:00
include Sorcery::TestHelpers::Rails::Integration
include Sorcery::TestHelpers::Rails::Controller
def setup
@admin = people(:admin)
login_user(@admin)
end
2015-09-12 15:37:05 -05:00
def test_parents
2015-09-18 15:50:52 -05:00
get :index
2015-09-12 15:37:05 -05:00
assert response.ok?
end
end