diff options
author | Simon Vocella <voxsim@gmail.com> | 2016-12-28 19:19:08 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-03-01 01:15:39 +0300 |
commit | a3dfb58e7f1b1a3df4a4c16b2d09e50831370a69 (patch) | |
tree | e97662cc1d8ec3691184316f71e942bb6476249c /spec/factories/personal_access_tokens.rb | |
parent | 81246e5649a8fb9e73369cbd117505a546d7e807 (diff) |
add impersonation token
Diffstat (limited to 'spec/factories/personal_access_tokens.rb')
-rw-r--r-- | spec/factories/personal_access_tokens.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/personal_access_tokens.rb b/spec/factories/personal_access_tokens.rb index 3464d2d5d89..1905b22935b 100644 --- a/spec/factories/personal_access_tokens.rb +++ b/spec/factories/personal_access_tokens.rb @@ -6,6 +6,7 @@ FactoryGirl.define do revoked false expires_at { 5.days.from_now } scopes ['api'] + impersonation false factory :revoked_personal_access_token do revoked true @@ -14,5 +15,9 @@ FactoryGirl.define do factory :expired_personal_access_token do expires_at { 1.day.ago } end + + factory :impersonation_personal_access_token do + impersonation true + end end end |