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
dd760446
Commit
dd760446
authored
Oct 13, 2020
by
Małgorzata Ksionek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add project specs
Add spec
parent
85558db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
spec/controllers/projects/project_members_controller_spec.rb
spec/controllers/projects/project_members_controller_spec.rb
+15
-0
No files found.
spec/controllers/projects/project_members_controller_spec.rb
View file @
dd760446
...
...
@@ -573,4 +573,19 @@ RSpec.describe Projects::ProjectMembersController do
end
end
end
describe
'POST resend_invite'
do
let
(
:member
)
{
create
(
:project_member
,
project:
project
)
}
before
do
project
.
add_maintainer
(
user
)
sign_in
(
user
)
end
it
'is successful'
do
post
:resend_invite
,
params:
{
namespace_id:
project
.
namespace
,
project_id:
project
,
id:
member
}
expect
(
response
).
to
have_gitlab_http_status
(
:found
)
end
end
end
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