```ruby
FactoryGirl.define do
  factory :user do
  	username "Bob"
    password "password"
  end
end
```

Add user_id field to factory girl user object
user
```ruby
FactoryGirl.define do
  factory :user do
    id 1
  	username "Bob"
    password "password"
  end
end
```
assistant