Some updates to translation engine, added dotenv but have not yet set it up.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
end
|
||||
sequence(:email) { |n| "person-#{n}@example.com" }
|
||||
sequence(:username) { |n| "person-#{n}" }
|
||||
|
||||
factory :user, class: User do
|
||||
username
|
||||
email
|
||||
password "secret"
|
||||
password_confirmation "secret"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user