modqueue: move url from /moderator/post/queue to /modqueue.

This commit is contained in:
evazion
2020-02-29 14:00:09 -06:00
parent 72210c0226
commit 475d6ae7cf
15 changed files with 44 additions and 53 deletions

View File

@@ -0,0 +1,20 @@
require 'test_helper'
class ModqueueControllerTest < ActionDispatch::IntegrationTest
context "The modqueue controller" do
setup do
@admin = create(:admin_user)
@user = create(:user)
as_user do
@post = create(:post, :is_pending => true)
end
end
context "index action" do
should "render" do
get_auth modqueue_index_path, @admin
assert_response :success
end
end
end
end