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
77519774
Commit
77519774
authored
Feb 03, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a bogus test that only pass on retry
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
07bd816e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
spec/controllers/concerns/confirm_email_warning_spec.rb
spec/controllers/concerns/confirm_email_warning_spec.rb
+0
-10
No files found.
spec/controllers/concerns/confirm_email_warning_spec.rb
View file @
77519774
...
...
@@ -5,7 +5,6 @@ require 'spec_helper'
describe
ConfirmEmailWarning
do
before
do
stub_feature_flags
(
soft_email_confirmation:
true
)
allow
(
User
).
to
receive
(
:allow_unconfirmed_access_for
).
and_return
2
.
days
end
controller
(
ApplicationController
)
do
...
...
@@ -52,15 +51,6 @@ describe ConfirmEmailWarning do
context
'with an unconfirmed user'
do
let
(
:user
)
{
create
(
:user
,
confirmed_at:
nil
)
}
context
'when executing a peek request'
do
before
do
request
.
path
=
'/-/peek'
get
:index
end
it
{
is_expected
.
not_to
set_confirm_warning_for
(
user
.
email
)
}
end
context
'when executing a json request'
do
before
do
get
:index
,
format: :json
...
...
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