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

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