fixed unit tests

This commit is contained in:
albert
2010-03-18 18:35:16 -04:00
parent 06a959a9fd
commit be10906044
4 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ require 'fileutils'
Factory.define(:upload) do |f|
f.rating "s"
f.uploader {|x| x.association(:user)}
f.uploader {|x| x.association(:user, :is_contributor => true)}
f.uploader_ip_addr "127.0.0.1"
f.tag_string "special"
f.status "pending"