Remove reference to invites counter from db seeds, close #1778

This commit is contained in:
Raphael Sofaer 2011-08-16 15:07:25 -07:00
parent f2e079f532
commit a5d9d6d212

View file

@ -15,9 +15,9 @@ require 'factory_girl_rails'
require File.join(File.dirname(__FILE__), "..", "spec", "helper_methods") require File.join(File.dirname(__FILE__), "..", "spec", "helper_methods")
include HelperMethods include HelperMethods
alice = Factory(:user_with_aspect, :username => "alice", :password => 'evankorth', :invites => 10) alice = Factory(:user_with_aspect, :username => "alice", :password => 'evankorth')
bob = Factory(:user_with_aspect, :username => "bob", :password => 'evankorth', :invites => 10) bob = Factory(:user_with_aspect, :username => "bob", :password => 'evankorth')
eve = Factory(:user_with_aspect, :username => "eve", :password => 'evankorth', :invites => 10) eve = Factory(:user_with_aspect, :username => "eve", :password => 'evankorth')
print "Creating seeded users... " print "Creating seeded users... "
alice.person.profile.update_attributes(:first_name => "Alice", :last_name => "Smith", alice.person.profile.update_attributes(:first_name => "Alice", :last_name => "Smith",