diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-12 17:44:38 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-12 17:44:38 -0400 |
commit | 17d660fd4b8516d6b446f7c41d7b076a29a242a1 (patch) | |
tree | 115e7f3c1a3aa5bdc29dfa6d0c994eb795c658f6 /test/controllers | |
parent | 835af696703484208882a70cc5dd47c5838ecf58 (diff) | |
download | thoughts-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')
-rw-r--r-- | test/controllers/admin/comments_controller_test.rb | 8 |
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 @@ | |||
1 | require "test_helper" | ||
2 | |||
3 | class Admin::CommentsControllerTest < ActionDispatch::IntegrationTest | ||
4 | test "should get index" do | ||
5 | get admin_comments_index_url | ||
6 | assert_response :success | ||
7 | end | ||
8 | end | ||