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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7f08eeed
Commit
7f08eeed
authored
Mar 17, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use trait for builds_enabled of project
parent
e404ab51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
spec/features/projects/builds_spec.rb
spec/features/projects/builds_spec.rb
+1
-4
No files found.
spec/features/projects/builds_spec.rb
View file @
7f08eeed
...
@@ -494,10 +494,7 @@ feature 'Builds', :feature do
...
@@ -494,10 +494,7 @@ feature 'Builds', :feature do
end
end
context
'when Project is public and builds_access_level is Everyone with access'
do
context
'when Project is public and builds_access_level is Everyone with access'
do
let
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
:builds_enabled
)
}
before
do
project
.
project_feature
.
update_attribute
(
'builds_access_level'
,
ProjectFeature
::
ENABLED
)
end
context
'when user belongs to the project'
do
context
'when user belongs to the project'
do
before
do
before
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