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
119c4875
Commit
119c4875
authored
May 01, 2018
by
blackst0ne
Committed by
Stan Hu
May 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/features/projects/issues/user_toggles_subscription_spec.rb
parent
ff68f961
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/projects/issues/user_toggles_subscription_spec.rb
...eatures/projects/issues/user_toggles_subscription_spec.rb
+4
-4
No files found.
spec/features/projects/issues/user_toggles_subscription_spec.rb
View file @
119c4875
require
"spec_helper"
describe
"User toggles subscription"
,
:js
do
s
et
(
:project
)
{
create
(
:project_empty_repo
,
:public
)
}
s
et
(
:user
)
{
create
(
:user
)
}
s
et
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
)
}
l
et
(
:project
)
{
create
(
:project_empty_repo
,
:public
)
}
l
et
(
:user
)
{
create
(
:user
)
}
l
et
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
)
}
before
do
project
.
add_developer
(
user
)
...
...
@@ -12,7 +12,7 @@ describe "User toggles subscription", :js do
visit
(
project_issue_path
(
project
,
issue
))
end
it
"uns
i
bscribes from issue"
do
it
"uns
u
bscribes from issue"
do
subscription_button
=
find
(
".js-issuable-subscribe-button"
)
# Check we're subscribed.
...
...
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