Browse Source

load factories in sample (for production)

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
2d6d73a264
  1. 4
      db/samples.rb

4
db/samples.rb

@ -1,3 +1,7 @@
require 'factory_girl'
require 'faker'
require Rails.root.join('spec', 'factories.rb')
# more sample users # more sample users
users = [User.find_by_email('user@entrydns.net')] users = [User.find_by_email('user@entrydns.net')]
for i in 1..5 do for i in 1..5 do

Loading…
Cancel
Save