```ruby
FactoryGirl.define do
  factory :access_token do
    sequence(:resource_owner_id) { |n| n }
    application
    expires_in { Time.now + 2.hours }
  end
end
```

Fix expiration in access token factory
user
```ruby
FactoryGirl.define do
  factory :access_token do
    sequence(:resource_owner_id) { |n| n }
    application
    expires_in 2.hours
  end
end
```
assistant