diff options
Diffstat (limited to 'spec/requests/oauth_tokens_spec.rb')
-rw-r--r-- | spec/requests/oauth_tokens_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/requests/oauth_tokens_spec.rb b/spec/requests/oauth_tokens_spec.rb index 180341fc85d..f2fb380bde0 100644 --- a/spec/requests/oauth_tokens_spec.rb +++ b/spec/requests/oauth_tokens_spec.rb @@ -78,11 +78,12 @@ RSpec.describe 'OAuth Tokens requests' do context 'revoked refresh token' do let!(:existing_token) do - create(:oauth_access_token, application: application, - resource_owner_id: user.id, - created_at: 2.hours.ago, - revoked_at: 1.hour.ago, - expires_in: 5) + create(:oauth_access_token, + application: application, + resource_owner_id: user.id, + created_at: 2.hours.ago, + revoked_at: 1.hour.ago, + expires_in: 5) end it 'does not issue a new token' do |