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
f7c8474f
Commit
f7c8474f
authored
May 21, 2020
by
peterhegman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply reviewer suggestions to feature test
parent
ac7713f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/issues/user_views_issue_spec.rb
spec/features/issues/user_views_issue_spec.rb
+4
-4
No files found.
spec/features/issues/user_views_issue_spec.rb
View file @
f7c8474f
...
...
@@ -35,13 +35,13 @@ describe "User views issue" do
describe
'user status'
do
subject
{
visit
(
project_issue_path
(
project
,
issue
))
}
context
'showing status of the author of the issue'
do
context
'
when
showing status of the author of the issue'
do
it_behaves_like
'showing user status'
do
let
(
:user_with_status
)
{
issue
.
author
}
end
end
context
'showing status of a user who commented on an issue'
,
:js
do
context
'
when
showing status of a user who commented on an issue'
,
:js
do
let!
(
:note
)
{
create
(
:note
,
noteable:
issue
,
project:
project
,
author:
user_with_status
)
}
it_behaves_like
'showing user status'
do
...
...
@@ -50,8 +50,8 @@ describe "User views issue" do
end
context
'when status message has an emoji'
,
:js
do
message
=
'My status with an emoji'
message_emoji
=
'basketball'
let
(
:message
)
{
'My status with an emoji'
}
let
(
:message_emoji
)
{
'basketball'
}
let!
(
:note
)
{
create
(
:note
,
noteable:
issue
,
project:
project
,
author:
user
)
}
let!
(
:status
)
{
create
(
:user_status
,
user:
user
,
emoji:
'smirk'
,
message:
"
#{
message
}
:
#{
message_emoji
}
:"
)
}
...
...
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