about summary refs log tree commit diff stats
path: root/test/controllers/admin
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:44:38 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-12 17:44:38 -0400
commit17d660fd4b8516d6b446f7c41d7b076a29a242a1 (patch)
tree115e7f3c1a3aa5bdc29dfa6d0c994eb795c658f6 /test/controllers/admin
parent835af696703484208882a70cc5dd47c5838ecf58 (diff)
downloadthoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.tar.gz
thoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.tar.bz2
thoughts-17d660fd4b8516d6b446f7c41d7b076a29a242a1.zip
Added comment deleting
Also I seem to have fixed the JS errors that were preventing the fancy stuff in the admin panel from working.
Diffstat (limited to 'test/controllers/admin')
-rw-r--r--test/controllers/admin/comments_controller_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/controllers/admin/comments_controller_test.rb b/test/controllers/admin/comments_controller_test.rb new file mode 100644 index 0000000..33f1a47 --- /dev/null +++ b/test/controllers/admin/comments_controller_test.rb
@@ -0,0 +1,8 @@
1require "test_helper"
2
3class Admin::CommentsControllerTest < ActionDispatch::IntegrationTest
4 test "should get index" do
5 get admin_comments_index_url
6 assert_response :success
7 end
8end