Files
danbooru/test/functional/moderator/post/queues_controller_test.rb
evazion cded0f763b approvers: remove "you haven't moderated in awhile" notice.
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.
2020-02-28 14:28:08 -06:00

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