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
33dad3f8
Commit
33dad3f8
authored
Apr 01, 2019
by
Phil Hughes
Committed by
Bob Van Landuyt
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added permissions feature spec
parent
00639265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
ee/spec/features/projects/issues/design_management/user_permissions_upload_spec.rb
.../issues/design_management/user_permissions_upload_spec.rb
+20
-0
No files found.
ee/spec/features/projects/issues/design_management/user_permissions_upload_spec.rb
0 → 100644
View file @
33dad3f8
require
'spec_helper'
describe
'User design permissions'
,
:js
do
let
(
:project
)
{
create
(
:project_empty_repo
,
:public
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
before
do
stub_licensed_features
(
design_management:
true
)
visit
project_issue_path
(
project
,
issue
)
click_link
'Designs'
wait_for_requests
end
it
'user does not have permissions to upload design'
do
expect
(
page
).
not_to
have_field
(
'design_file'
)
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