fix upload controller test

This commit is contained in:
albert
2011-07-17 18:50:51 -04:00
parent 98403d0cb7
commit 5a2644f4a6
3 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ require 'test_helper'
class UploadsControllerTest < ActionController::TestCase
context "The uploads controller" do
setup do
@user = Factory.create(:user)
@user = Factory.create(:contributor_user)
CurrentUser.user = @user
CurrentUser.ip_addr = "127.0.0.1"
end