diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-11-22 14:23:53 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-12-16 15:08:10 +0530 |
commit | 1d0ccec6dd8375b751846f69bb170ebd11e9a391 (patch) | |
tree | be7f4331508c7cbcd1da679bfb0d3def05da5e2a /spec/factories/personal_access_tokens.rb | |
parent | 49a70d1e45b4f841379db059177856671c65159c (diff) | |
download | gitlab-ce-1d0ccec6dd8375b751846f69bb170ebd11e9a391.tar.gz |
Add a `scopes` column to the `personal_access_tokens` table
Diffstat (limited to 'spec/factories/personal_access_tokens.rb')
-rw-r--r-- | spec/factories/personal_access_tokens.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/personal_access_tokens.rb b/spec/factories/personal_access_tokens.rb index da4c72bcb5b..811eab7e15b 100644 --- a/spec/factories/personal_access_tokens.rb +++ b/spec/factories/personal_access_tokens.rb @@ -5,5 +5,6 @@ FactoryGirl.define do name { FFaker::Product.brand } revoked false expires_at { 5.days.from_now } + scopes ['api'] end end |