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
53f14dfa
Commit
53f14dfa
authored
Nov 18, 2020
by
Samantha Ming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust spec for FF scenario
parent
fbd03b90
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
spec/features/issues/user_edits_issue_spec.rb
spec/features/issues/user_edits_issue_spec.rb
+12
-2
No files found.
spec/features/issues/user_edits_issue_spec.rb
View file @
53f14dfa
...
...
@@ -20,6 +20,17 @@ RSpec.describe "Issues > User edits issue", :js do
sign_in
(
user
)
end
context
'with multiple_issue_assignees feature flag off'
do
before
do
stub_feature_flags
(
multiple_issue_assignees:
false
)
end
it
'displays singular Assignee title'
do
visit
edit_project_issue_path
(
project
,
issue
)
expect
(
page
).
to
have_content
"Assignee"
end
end
context
"from edit page"
do
before
do
visit
edit_project_issue_path
(
project
,
issue
)
...
...
@@ -38,8 +49,7 @@ RSpec.describe "Issues > User edits issue", :js do
it
'allows user to select unassigned'
do
visit
edit_project_issue_path
(
project
,
issue
)
expect
(
page
).
to
have_content
"Assignee
#{
user
.
name
}
"
expect
(
page
).
to
have_content
"Assignees
#{
user
.
name
}
"
first
(
'.js-user-search'
).
click
click_link
'Unassigned'
...
...
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