hacker.rb 263 Bytes
Newer Older
mafolz's avatar
mafolz committed
1
2
3
4
5
6
7
8
9
10
FactoryGirl.define do

  sequence :nickname do |n|
    "#{n}hacker"
  end

  factory :hacker do
    nickname { generate(:nickname) }
    email    { Faker::Internet.email }
    password {'test1234'}
surma Lodur's avatar
surma Lodur committed
11
12
13
14

    trait :cool_kim do
      nickname 'KimCM'
    end
mafolz's avatar
mafolz committed
15
16
  end
end