Skip to content

Commit c572837

Browse files
committed
Updated factory deprication for next
1 parent c94a8ee commit c572837

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/factories.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
factory :user do |f|
1919
f.first_name "Test"
2020
f.last_name "User"
21-
f.password { Factory.next(:password)}
22-
f.email { Factory.next(:email) }
23-
f.ido_id { Factory.next(:ido_id) }
21+
f.password { FactoryGirl.generate(:password)}
22+
f.email { FactoryGirl.generate(:email) }
23+
f.ido_id { FactoryGirl.generate(:ido_id) }
2424
end
2525
end

0 commit comments

Comments
 (0)