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

Improve user factory to create usernames too
user
```ruby
FactoryGirl.define do
  factory :user do
    email { Faker::Internet.email }
    username {Faker::Internet.user_name}
    password "password"
    password_confirmation "password"
  end
end
```
assistant