summaryrefslogtreecommitdiffhomepage
path: root/test/controllers/api/v1
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-02 20:54:36 -0400
committerrealtradam <[email protected]>2024-05-02 20:54:36 -0400
commita97531e77e9e3f0e391b2504fcb278cabc2b901e (patch)
treeb8cd2f6094b66a574a5f1f6dda68f5c852a8c105 /test/controllers/api/v1
parent3108882fd50308ed1e3d0a587ce2709aa12a6d9e (diff)
downloadgameHolster-a97531e77e9e3f0e391b2504fcb278cabc2b901e.tar.gz
gameHolster-a97531e77e9e3f0e391b2504fcb278cabc2b901e.zip
finish inital auth
Diffstat (limited to 'test/controllers/api/v1')
-rw-r--r--test/controllers/api/v1/users_controller_test.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/controllers/api/v1/users_controller_test.rb b/test/controllers/api/v1/users_controller_test.rb
new file mode 100644
index 0000000..e5636d1
--- /dev/null
+++ b/test/controllers/api/v1/users_controller_test.rb
@@ -0,0 +1,23 @@
+require "test_helper"
+
+class Api::V1::UsersControllerTest < ActionDispatch::IntegrationTest
+ test "should get index" do
+ get api_v1_users_index_url
+ assert_response :success
+ end
+
+ test "should get new" do
+ get api_v1_users_new_url
+ assert_response :success
+ end
+
+ test "should get create" do
+ get api_v1_users_create_url
+ assert_response :success
+ end
+
+ test "should get delete" do
+ get api_v1_users_delete_url
+ assert_response :success
+ end
+end