sections_controller_test.rb 224 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1 2 3
require 'test_helper'

class SectionsControllerTest < ActionDispatch::IntegrationTest
4
  test 'should get index' do
Zac Wood's avatar
Zac Wood committed
5 6 7
    get url_for controller: 'sections', action: 'index', course_id: 1
    assert_response :success
  end
Zac Wood's avatar
Zac Wood committed
8
end