Skip to content

Commit

Permalink
Updated factory deprication for next
Browse files Browse the repository at this point in the history
  • Loading branch information
amanelis committed Jan 24, 2013
1 parent c94a8ee commit c572837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/factories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
factory :user do |f|
f.first_name "Test"
f.last_name "User"
f.password { Factory.next(:password)}
f.email { Factory.next(:email) }
f.ido_id { Factory.next(:ido_id) }
f.password { FactoryGirl.generate(:password)}
f.email { FactoryGirl.generate(:email) }
f.ido_id { FactoryGirl.generate(:ido_id) }
end
end

0 comments on commit c572837

Please sign in to comment.