Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-02-22 00:17:23 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-03-06 17:41:25 +0300
commit2ff139ddee49dca7109b9f547e54c6e472c7195b (patch)
tree101b2d8553f311dc4eab9ca54c374e68ec48b3a0 /spec/lib/gitlab/auth
parent0ef8a643489ad1a3da4431155326f0a6e206d870 (diff)
Make Warden set_user hook validate user ip uniquness
+ rename shared context
Diffstat (limited to 'spec/lib/gitlab/auth')
-rw-r--r--spec/lib/gitlab/auth/unique_ips_limiter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth/unique_ips_limiter_spec.rb b/spec/lib/gitlab/auth/unique_ips_limiter_spec.rb
index 3214786d172..94dcddcc30c 100644
--- a/spec/lib/gitlab/auth/unique_ips_limiter_spec.rb
+++ b/spec/lib/gitlab/auth/unique_ips_limiter_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe Gitlab::Auth::UniqueIpsLimiter, :redis, lib: true do
- include_context 'enable unique ips sign in limit'
+ include_context 'unique ips sign in limit'
let(:user) { create(:user) }
describe '#count_unique_ips' do