Add users controller
This commit is contained in:
28
test/controllers/users_controller_test.rb
Normal file
28
test/controllers/users_controller_test.rb
Normal file
@@ -0,0 +1,28 @@
|
||||
require "test_helper"
|
||||
|
||||
class UsersControllerTest < ActionDispatch::IntegrationTest
|
||||
test "should get index" do
|
||||
get users_index_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get users_edit_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get show" do
|
||||
get users_show_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get users_new_url
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get destroy" do
|
||||
get users_destroy_url
|
||||
assert_response :success
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user