diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-23 03:09:07 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-23 03:09:07 +0000 |
commit | d5f3ebc322dec22bf58d366fd91037c69add3fc0 (patch) | |
tree | 40da39f5e1cb3fa7a17b7364767d60ff4dfa73d8 /spec | |
parent | 9c71f76e2b49c070c35cb209fe3729e01a7ce92c (diff) | |
download | gitlab-ce-d5f3ebc322dec22bf58d366fd91037c69add3fc0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/rate_limit_helpers_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/rate_limit_helpers_spec.rb b/spec/lib/gitlab/rate_limit_helpers_spec.rb index 7eee30d60ca..5ab79a2bbfe 100644 --- a/spec/lib/gitlab/rate_limit_helpers_spec.rb +++ b/spec/lib/gitlab/rate_limit_helpers_spec.rb @@ -43,6 +43,7 @@ describe Gitlab::RateLimitHelpers, :clean_gitlab_redis_shared_state do end expect(class_instance.archive_rate_limit_reached?(nil, project)).to be_truthy + expect(class_instance.archive_rate_limit_reached?(user, project)).to be_falsey end end end |