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
545d7837
Commit
545d7837
authored
Aug 24, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding more access rights
parent
a6fc5917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/features/promotion_spec.rb
spec/features/promotion_spec.rb
+2
-1
No files found.
spec/features/promotion_spec.rb
View file @
545d7837
...
...
@@ -5,7 +5,7 @@ describe 'Promotions', js: true do
let
(
:user
)
{
create
(
:user
)
}
let
(
:otherdeveloper
)
{
create
(
:user
,
name:
'TheOtherDeveloper'
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
,
namespace:
group
.
namespace
)
}
let
(
:milestone
)
{
create
(
:milestone
,
project:
project
,
start_date:
Date
.
today
,
due_date:
7
.
days
.
from_now
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
)
}
let
(
:otherproject
)
{
create
(
:project
,
:repository
,
namespace:
otherdeveloper
.
namespace
)
}
...
...
@@ -183,6 +183,7 @@ describe 'Promotions', js: true do
allow
(
Gitlab
).
to
receive
(
:com?
)
{
true
}
project
.
team
<<
[
user
,
:master
]
otherproject
.
team
<<
[
user
,
:master
]
sign_in
(
user
)
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