* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -4,10 +4,10 @@ module Moderator
|
||||
class IpAddrsControllerTest < ActionController::TestCase
|
||||
context "The ip addrs controller" do
|
||||
setup do
|
||||
@user = Factory.create(:moderator_user)
|
||||
@user = FactoryGirl.create(:moderator_user)
|
||||
CurrentUser.user = @user
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
Factory.create(:comment)
|
||||
FactoryGirl.create(:comment)
|
||||
MEMCACHE.flush_all
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user