* Renamed moderator/post/dashboard to moderator/post/queue

* Fixed bug with more overlay links being out of place if news listing is closed
This commit is contained in:
albert
2011-10-26 18:00:48 -04:00
parent 1fc7907374
commit a536a2699b
15 changed files with 94 additions and 65 deletions

View File

@@ -0,0 +1,24 @@
require 'test_helper'
module Moderator
module Post
class QueuesControllerTest < ActionController::TestCase
context "The moderator post queues controller" do
setup do
@admin = Factory.create(:admin_user)
CurrentUser.user = @admin
CurrentUser.ip_addr = "127.0.0.1"
@post = Factory.create(:post, :is_pending => true)
end
context "show action" do
should "render" do
get :show, {}, {:user_id => @admin.id}
assert_response :success
end
end
end
end
end
end