summaryrefslogtreecommitdiff
path: root/test/controllers/targets_controller_test.rb
diff options
context:
space:
mode:
authorMarius Peter <dev@marius-peter.com>2025-09-08 21:21:56 +0200
committerMarius Peter <dev@marius-peter.com>2025-09-08 21:21:56 +0200
commit7116826b854188604e21e2a613ac6672b6fd81f3 (patch)
tree33150bf2e04e69b8e1fa7d37901d2643b1955534 /test/controllers/targets_controller_test.rb
parent8ba568ae0ebe715b5da453681eb141886f1977a8 (diff)
Create Target and nutrient target table on dashboard.
Diffstat (limited to 'test/controllers/targets_controller_test.rb')
-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