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
8a47c720
Commit
8a47c720
authored
Jul 05, 2017
by
Toon Claes
Committed by
Toon Claes
Jul 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove CE from spec example descriptions
They are confusing.
parent
49430c47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec/features/issues/form_spec.rb
spec/features/issues/form_spec.rb
+2
-2
spec/requests/api/issues_spec.rb
spec/requests/api/issues_spec.rb
+2
-2
No files found.
spec/features/issues/form_spec.rb
View file @
8a47c720
...
@@ -23,7 +23,7 @@ describe 'New/edit issue', :feature, :js do
...
@@ -23,7 +23,7 @@ describe 'New/edit issue', :feature, :js do
visit
new_project_issue_path
(
project
)
visit
new_project_issue_path
(
project
)
end
end
describe
'shorten users API pagination limit
(CE)
'
do
describe
'shorten users API pagination limit'
do
before
do
before
do
# Using `allow_any_instance_of`/`and_wrap_original`, `original` would
# Using `allow_any_instance_of`/`and_wrap_original`, `original` would
# somehow refer to the very block we defined to _wrap_ that method, instead of
# somehow refer to the very block we defined to _wrap_ that method, instead of
...
@@ -63,7 +63,7 @@ describe 'New/edit issue', :feature, :js do
...
@@ -63,7 +63,7 @@ describe 'New/edit issue', :feature, :js do
end
end
end
end
describe
'single assignee
(CE)
'
do
describe
'single assignee'
do
before
do
before
do
click_button
'Unassigned'
click_button
'Unassigned'
...
...
spec/requests/api/issues_spec.rb
View file @
8a47c720
...
@@ -772,7 +772,7 @@ describe API::Issues do
...
@@ -772,7 +772,7 @@ describe API::Issues do
end
end
end
end
context
'
CE
restrictions'
do
context
'
single assignee
restrictions'
do
it
'creates a new project issue with no more than one assignee'
do
it
'creates a new project issue with no more than one assignee'
do
post
api
(
"/projects/
#{
project
.
id
}
/issues"
,
user
),
post
api
(
"/projects/
#{
project
.
id
}
/issues"
,
user
),
title:
'new issue'
,
assignee_ids:
[
user2
.
id
,
guest
.
id
]
title:
'new issue'
,
assignee_ids:
[
user2
.
id
,
guest
.
id
]
...
@@ -1123,7 +1123,7 @@ describe API::Issues do
...
@@ -1123,7 +1123,7 @@ describe API::Issues do
expect
(
json_response
[
'assignees'
].
first
[
'name'
]).
to
eq
(
user2
.
name
)
expect
(
json_response
[
'assignees'
].
first
[
'name'
]).
to
eq
(
user2
.
name
)
end
end
context
'
CE
restrictions'
do
context
'
single assignee
restrictions'
do
it
'updates an issue with several assignees but only one has been applied'
do
it
'updates an issue with several assignees but only one has been applied'
do
put
api
(
"/projects/
#{
project
.
id
}
/issues/
#{
issue
.
iid
}
"
,
user
),
put
api
(
"/projects/
#{
project
.
id
}
/issues/
#{
issue
.
iid
}
"
,
user
),
assignee_ids:
[
user2
.
id
,
guest
.
id
]
assignee_ids:
[
user2
.
id
,
guest
.
id
]
...
...
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