Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
932e80ed
Commit
932e80ed
authored
Aug 03, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Still record redundant user session destruction events
parent
0dd0dc23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/users/login_spec.rb
spec/features/users/login_spec.rb
+2
-2
No files found.
spec/features/users/login_spec.rb
View file @
932e80ed
...
@@ -71,7 +71,7 @@ describe 'Login' do
...
@@ -71,7 +71,7 @@ describe 'Login' do
expect
(
authentication_metrics
)
expect
(
authentication_metrics
)
.
to
increment
(
:user_blocked_counter
)
.
to
increment
(
:user_blocked_counter
)
.
and
increment
(
:user_unauthenticated_counter
)
.
and
increment
(
:user_unauthenticated_counter
)
.
and
increment
(
:user_session_destroyed_counter
)
.
and
increment
(
:user_session_destroyed_counter
)
.
twice
user
=
create
(
:user
,
:blocked
)
user
=
create
(
:user
,
:blocked
)
...
@@ -84,7 +84,7 @@ describe 'Login' do
...
@@ -84,7 +84,7 @@ describe 'Login' do
expect
(
authentication_metrics
)
expect
(
authentication_metrics
)
.
to
increment
(
:user_blocked_counter
)
.
to
increment
(
:user_blocked_counter
)
.
and
increment
(
:user_unauthenticated_counter
)
.
and
increment
(
:user_unauthenticated_counter
)
.
and
increment
(
:user_session_destroyed_counter
)
.
and
increment
(
:user_session_destroyed_counter
)
.
twice
user
=
create
(
:user
,
:blocked
)
user
=
create
(
:user
,
:blocked
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment