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
d813759b
Commit
d813759b
authored
Aug 04, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed specs
parent
01090760
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
ee/app/views/projects/ee/_issues_settings.html.haml
ee/app/views/projects/ee/_issues_settings.html.haml
+1
-1
spec/features/projects/edit_spec.rb
spec/features/projects/edit_spec.rb
+4
-1
No files found.
ee/app/views/projects/ee/_issues_settings.html.haml
View file @
d813759b
-
if
@project
.
feature_available?
(
:issuable_default_templates
)
-
expanded
=
Rails
.
env
.
test?
%section
.settings.issues-feature
s
{
style:
(
"display:none;"
if
@project
.
project_feature
.
send
(
:issues_access_level
)
==
0
)
}
%section
.settings.issues-feature
{
style:
(
"display:none;"
if
@project
.
project_feature
.
send
(
:issues_access_level
)
==
0
)
}
.settings-header
%h4
Issue settings
...
...
spec/features/projects/edit_spec.rb
View file @
d813759b
...
...
@@ -20,7 +20,10 @@ feature 'Project edit', js: true do
it
'allows user to change request access settings'
do
find
(
'#project_request_access_enabled'
).
set
(
true
)
click_button
'Save changes'
page
.
within
(
'.sharing-permissions'
)
do
click_button
'Save changes'
end
wait_for_requests
expect
(
find
(
'#project_request_access_enabled'
)).
to
be_checked
...
...
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