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
56754866
Commit
56754866
authored
Nov 19, 2020
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create ee related spec
parent
60f29fbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
ee/spec/features/issues/user_edits_issue_spec.rb
ee/spec/features/issues/user_edits_issue_spec.rb
+21
-0
spec/features/issues/user_edits_issue_spec.rb
spec/features/issues/user_edits_issue_spec.rb
+0
-11
No files found.
ee/spec/features/issues/user_edits_issue_spec.rb
0 → 100644
View file @
56754866
# frozen_string_literal: true
require
"spec_helper"
RSpec
.
describe
"Issues > User edits issue"
,
:js
do
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:user
)
{
create
(
:user
)}
let!
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
let!
(
:label
)
{
create
(
:label
,
project:
project
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
assignees:
[
user
],
milestone:
milestone
)
}
context
'with multiple_issue_assignees'
do
it
'displays plural Assignees title'
do
stub_licensed_features
(
multiple_issue_assignees:
true
)
project
.
add_maintainer
(
user
)
sign_in
(
user
)
visit
edit_project_issue_path
(
project
,
issue
)
expect
(
page
).
to
have_content
"Assignees"
end
end
end
spec/features/issues/user_edits_issue_spec.rb
View file @
56754866
...
...
@@ -20,17 +20,6 @@ RSpec.describe "Issues > User edits issue", :js do
sign_in
(
user
)
end
# context 'with multiple_issue_assignees license feature on' do
# before do
# stub_licensed_features(multiple_issue_assignees: true)
# end
# it 'displays plural Assignees title' do
# visit edit_project_issue_path(project, issue)
# expect(page).to have_content "Assignees"
# end
# end
context
"from edit page"
do
before
do
stub_licensed_features
(
multiple_issue_assignees:
false
)
...
...
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