trustieforge/spec/factories/users.rb

10 lines
185 B
Ruby

require 'faker'
FactoryGirl.define do
factory :user do
login "ExampleUser"
mail "user@example.com"
password "foobar"
password_confirmation "foobar"
end
end