40 lines
710 B
Ruby
40 lines
710 B
Ruby
require 'test_helper'
|
|
|
|
class LoginControllerTest < ActionDispatch::IntegrationTest
|
|
test "should get index" do
|
|
get login_index_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get show" do
|
|
get login_show_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get new" do
|
|
get login_new_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get edit" do
|
|
get login_edit_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get create" do
|
|
get login_create_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get update" do
|
|
get login_update_url
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get destroy" do
|
|
get login_destroy_url
|
|
assert_response :success
|
|
end
|
|
|
|
end
|