summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-06-03 10:10:58 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-06-03 10:11:36 +0530
commit0dff6fd7148957fa94d2626e3912cd929ba150d3 (patch)
tree83237ff06b62a97f04fc7b05cb6566aae7b1ac41 /spec/models
parent3adf125a155fd04fbba4f0882c739eae1cc73e15 (diff)
downloadgitlab-ce-0dff6fd7148957fa94d2626e3912cd929ba150d3.tar.gz
Fix rubocop spec.
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/personal_access_token_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/personal_access_token_spec.rb b/spec/models/personal_access_token_spec.rb
index 3e80a48175a..46eb71cef14 100644
--- a/spec/models/personal_access_token_spec.rb
+++ b/spec/models/personal_access_token_spec.rb
@@ -9,7 +9,7 @@ describe PersonalAccessToken, models: true do
it "doesn't save the record" do
personal_access_token = PersonalAccessToken.generate({})
- expect(personal_access_token).to_not be_persisted
+ expect(personal_access_token).not_to be_persisted
end
end
end