* Removed Pixa/Tinami sources
* Upgraded to Rails 3.2.3 * Fixed tests
This commit is contained in:
@@ -4,13 +4,13 @@ module Moderator
|
||||
class InvitationsControllerTest < ActionController::TestCase
|
||||
context "The invitations controller" do
|
||||
setup do
|
||||
@mod = Factory.create(:moderator_user)
|
||||
@mod = FactoryGirl.create(:moderator_user)
|
||||
CurrentUser.user = @mod
|
||||
CurrentUser.ip_addr = "127.0.0.1"
|
||||
MEMCACHE.flush_all
|
||||
|
||||
@user_1 = Factory.create(:user)
|
||||
@user_2 = Factory.create(:user, :inviter_id => @mod.id)
|
||||
@user_1 = FactoryGirl.create(:user)
|
||||
@user_2 = FactoryGirl.create(:user, :inviter_id => @mod.id)
|
||||
end
|
||||
|
||||
should "render the new page" do
|
||||
|
||||
Reference in New Issue
Block a user