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
d04fec8e
Commit
d04fec8e
authored
Jan 25, 2021
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset notification_settings between examples
parent
04f30657
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
spec/features/projects/show/user_sees_git_instructions_spec.rb
...features/projects/show/user_sees_git_instructions_spec.rb
+7
-0
No files found.
spec/features/projects/show/user_sees_git_instructions_spec.rb
View file @
d04fec8e
...
...
@@ -5,6 +5,13 @@ require 'spec_helper'
RSpec
.
describe
'Projects > Show > User sees Git instructions'
do
let_it_be
(
:user
)
{
create
(
:user
)
}
before
do
# Reset user notification settings between examples to prevent
# validation failure on NotificationSetting.
# See https://gitlab.com/gitlab-org/gitlab/-/issues/299822#note_492817174
user
.
notification_settings
.
reset
end
shared_examples_for
'redirects to the sign in page'
do
it
'redirects to the sign in page'
do
expect
(
current_path
).
to
eq
(
new_user_session_path
)
...
...
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