diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-08-03 13:58:00 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-08-03 13:58:00 +0300 |
commit | 98e9f52cf4e02562055f9106a155184e7b55012f (patch) | |
tree | ba2b9b0deeb3fb3ff92bb844ae67cc6edb8251a2 /spec | |
parent | 5bbd3a93e963addfa2f1bbfa96c6a3c231e66d09 (diff) |
Improve blocked user tracking code readability
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/auth/blocked_user_tracker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth/blocked_user_tracker_spec.rb b/spec/lib/gitlab/auth/blocked_user_tracker_spec.rb index c0b56b5665e..f39863fdda1 100644 --- a/spec/lib/gitlab/auth/blocked_user_tracker_spec.rb +++ b/spec/lib/gitlab/auth/blocked_user_tracker_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe Gitlab::Auth::BlockedUserTracker do describe '#log_blocked_user_activity!' do context 'when user is not blocked' do - it 'does not blocked user activity' do + it 'does not log blocked user activity' do expect_any_instance_of(SystemHooksService) .not_to receive(:execute_hooks_for) expect(Gitlab::AppLogger).not_to receive(:info) |