40 lines
732 B
Ruby
40 lines
732 B
Ruby
require 'test_helper'
|
|
|
|
class CoursesControllerTest < ActionDispatch::IntegrationTest
|
|
test "should get index" do
|
|
get courses_index_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get show_basic" do
|
|
get courses_show_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get new" do
|
|
get courses_new_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get edit" do
|
|
get courses_edit_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get create" do
|
|
get courses_create_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get update" do
|
|
get courses_update_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get destroy" do
|
|
get courses_destroy_url
|
|
assert_response :success
|
|
end
|
|
|
|
end
|