diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-02-27 21:56:54 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-03-01 16:11:11 +0300 |
commit | 2b474dc2b226460782413e634792cf83e791173b (patch) | |
tree | aa4520aae3d0a1130a3349699a2e0c20f344aa39 /spec/models/personal_access_token_spec.rb | |
parent | 9f2e4742e354f5548b4956060f1bfa5ee3bd6657 (diff) |
refactors finder and correlated code
Diffstat (limited to 'spec/models/personal_access_token_spec.rb')
-rw-r--r-- | spec/models/personal_access_token_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/personal_access_token_spec.rb b/spec/models/personal_access_token_spec.rb index b98a4d7fd1c..173136ef899 100644 --- a/spec/models/personal_access_token_spec.rb +++ b/spec/models/personal_access_token_spec.rb @@ -16,6 +16,7 @@ describe PersonalAccessToken, models: true do expect(invalid_personal_access_token.token).not_to be_nil end end + describe ".active?" do let(:active_personal_access_token) { build(:personal_access_token) } let(:revoked_personal_access_token) { build(:revoked_personal_access_token) } |