summaryrefslogtreecommitdiff
path: root/test/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'test/controllers')
-rw-r--r--test/controllers/targets_controller_test.rb33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/controllers/targets_controller_test.rb b/test/controllers/targets_controller_test.rb
new file mode 100644
index 0000000..911e3ae
--- /dev/null
+++ b/test/controllers/targets_controller_test.rb
@@ -0,0 +1,33 @@
+require "test_helper"
+
+class TargetsControllerTest < ActionDispatch::IntegrationTest
+ test "should get index" do
+ get targets_index_url
+ assert_response :success
+ end
+
+ test "should get new" do
+ get targets_new_url
+ assert_response :success
+ end
+
+ test "should get create" do
+ get targets_create_url
+ assert_response :success
+ end
+
+ test "should get edit" do
+ get targets_edit_url
+ assert_response :success
+ end
+
+ test "should get update" do
+ get targets_update_url
+ assert_response :success
+ end
+
+ test "should get show" do
+ get targets_show_url
+ assert_response :success
+ end
+end
Copyright 2019--2025 Marius PETER