BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3c36d9dc
Commit
3c36d9dc
authored
Dec 06, 2016
by
jnoortheen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: removed signed_out notification
test: replaced signed_out message check with check for sign_in button fixes #25294
parent
87f3a66c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
sessions_controller.rb
app/controllers/sessions_controller.rb
+6
-0
25294-remove-signed-out-msg.yml
changelogs/unreleased/25294-remove-signed-out-msg.yml
+4
-0
login_helpers.rb
spec/support/login_helpers.rb
+2
-1
No files found.
app/controllers/sessions_controller.rb
View file @
3c36d9dc
...
...
@@ -37,6 +37,12 @@ class SessionsController < Devise::SessionsController
end
end
def
destroy
super
# hide the signed_out notice
flash
[
:notice
]
=
nil
end
private
# Handle an "initial setup" state, where there's only one user, it's an admin,
...
...
changelogs/unreleased/25294-remove-signed-out-msg.yml
0 → 100644
View file @
3c36d9dc
---
title
:
'
fix:
removed
signed_out
notification'
merge_request
:
7958
author
:
jnoortheen
spec/support/login_helpers.rb
View file @
3c36d9dc
...
...
@@ -75,7 +75,8 @@ module LoginHelpers
def
logout
find
(
".header-user-dropdown-toggle"
).
click
click_link
"Sign out"
expect
(
page
).
to
have_content
(
'Signed out successfully'
)
# check the sign_in button
expect
(
page
).
to
have_button
(
'Sign in'
)
end
# Logout without JavaScript driver
...
...
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