Some updates to translation engine, added dotenv but have not yet set it up.

This commit is contained in:
Godwin
2014-04-29 21:02:02 -06:00
parent 3759910993
commit cc948937bc
35 changed files with 707 additions and 190 deletions
+9 -2
View File
@@ -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