diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-21 13:24:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-21 13:24:24 -0400 |
commit | 0d50b1f18993827cb6862efeedea528b64fad164 (patch) | |
tree | 3e01bd704662742a8847bd281616e29f06249cfa /test/controllers/admin/quotes_controller_test.rb | |
parent | 35906f26e24467c52b6cf09346abe57444e5963a (diff) | |
download | thoughts-0d50b1f18993827cb6862efeedea528b64fad164.tar.gz thoughts-0d50b1f18993827cb6862efeedea528b64fad164.tar.bz2 thoughts-0d50b1f18993827cb6862efeedea528b64fad164.zip |
Added quote moderation panel
Diffstat (limited to 'test/controllers/admin/quotes_controller_test.rb')
-rw-r--r-- | test/controllers/admin/quotes_controller_test.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/controllers/admin/quotes_controller_test.rb b/test/controllers/admin/quotes_controller_test.rb new file mode 100644 index 0000000..4f5939b --- /dev/null +++ b/test/controllers/admin/quotes_controller_test.rb | |||
@@ -0,0 +1,13 @@ | |||
1 | require "test_helper" | ||
2 | |||
3 | class Admin::QuotesControllerTest < ActionDispatch::IntegrationTest | ||
4 | test "should get index" do | ||
5 | get admin_quotes_index_url | ||
6 | assert_response :success | ||
7 | end | ||
8 | |||
9 | test "should get pending" do | ||
10 | get admin_quotes_pending_url | ||
11 | assert_response :success | ||
12 | end | ||
13 | end | ||