FactoryGirl.define do
  factory :user do
    email { Faker::Internet.email }
    password "password"
    password_confirmation "password"
  end
end

FactoryGirl.define do
  factory :user do
    email { Faker::Internet.email }
    username {Faker::Internet.user_name}
    password "password"
    password_confirmation "password"
  end
end

Improve user factory to create usernames too
Improve user factory to create usernames too
