Remove the nag message when an approver hasn't approved anything
recently. Also remove the modqueue random posts page. As of 3d410398a,
inactive approvers are now warned via dmails.
25 lines
574 B
Ruby
25 lines
574 B
Ruby
require 'test_helper'
|
|
|
|
module Moderator
|
|
module Post
|
|
class QueuesControllerTest < ActionDispatch::IntegrationTest
|
|
context "The moderator post queues controller" do
|
|
setup do
|
|
@admin = create(:admin_user)
|
|
@user = create(:user)
|
|
as_user do
|
|
@post = create(:post, :is_pending => true)
|
|
end
|
|
end
|
|
|
|
context "show action" do
|
|
should "render" do
|
|
get_auth moderator_post_queue_path, @admin
|
|
assert_response :success
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|