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
626c73d5
Commit
626c73d5
authored
Jan 10, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear, don't reassign, emails in test
parent
948ebb80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/workers/admin_emails_worker_spec.rb
spec/workers/admin_emails_worker_spec.rb
+3
-1
No files found.
spec/workers/admin_emails_worker_spec.rb
View file @
626c73d5
require
'spec_helper'
describe
AdminEmailsWorker
do
include
EmailHelpers
context
"recipients"
do
let
(
:group
)
{
create
:group
}
let
(
:project
)
{
create
:project
}
...
...
@@ -18,7 +20,7 @@ describe AdminEmailsWorker do
blocked_user
=
create
(
:user
,
state: :blocked
)
group
.
add_user
(
blocked_user
,
Gitlab
::
Access
::
DEVELOPER
)
project
.
add_user
(
blocked_user
,
Gitlab
::
Access
::
DEVELOPER
)
ActionMailer
::
Base
.
deliveries
=
[]
reset_delivered_emails!
end
context
"sending emails to members of a group only"
do
...
...
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