* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -5,11 +5,11 @@ module Moderator
|
||||
class QueuesControllerTest < ActionController::TestCase
|
||||
context "The moderator post queues controller" do
|
||||
setup do
|
||||
@admin = Factory.create(:admin_user)
|
||||
@admin = FactoryGirl.create(:admin_user)
|
||||
CurrentUser.user = @admin
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
|
||||
@post = Factory.create(:post, :is_pending => true)
|
||||
@post = FactoryGirl.create(:post, :is_pending => true)
|
||||
end
|
||||
|
||||
context "show action" do
|
||||
|
||||
Reference in New Issue
Block a user