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
c7f23e25
Commit
c7f23e25
authored
Jul 07, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix close_reopen_report_toggle_spec.rb path helpers rubocop offense
parent
78dd2f05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/issuables/close_reopen_report_toggle_spec.rb
spec/features/issuables/close_reopen_report_toggle_spec.rb
+4
-4
No files found.
spec/features/issuables/close_reopen_report_toggle_spec.rb
View file @
c7f23e25
...
@@ -52,7 +52,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
...
@@ -52,7 +52,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
context
'when user has permission to update'
,
:js
do
context
'when user has permission to update'
,
:js
do
before
do
before
do
visit
namespace_project_issue_path
(
project
.
namespace
,
project
,
issuable
)
visit
project_issue_path
(
project
,
issuable
)
end
end
it_behaves_like
'an issuable close/reopen/report toggle'
it_behaves_like
'an issuable close/reopen/report toggle'
...
@@ -65,7 +65,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
...
@@ -65,7 +65,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
before
do
before
do
cant_project
.
add_guest
(
user
)
cant_project
.
add_guest
(
user
)
visit
namespace_project_issue_path
(
cant_project
.
namespace
,
cant_project
,
cant_issuable
)
visit
project_issue_path
(
cant_project
,
cant_issuable
)
end
end
it
'only shows the `Report abuse` and `New issue` buttons'
do
it
'only shows the `Report abuse` and `New issue` buttons'
do
...
@@ -89,7 +89,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
...
@@ -89,7 +89,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
context
'when user has permission to update'
,
:js
do
context
'when user has permission to update'
,
:js
do
before
do
before
do
visit
namespace_project_merge_request_path
(
project
.
namespace
,
project
,
issuable
)
visit
project_merge_request_path
(
project
,
issuable
)
end
end
it_behaves_like
'an issuable close/reopen/report toggle'
it_behaves_like
'an issuable close/reopen/report toggle'
...
@@ -102,7 +102,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
...
@@ -102,7 +102,7 @@ describe 'Issuables Close/Reopen/Report toggle', :feature do
before
do
before
do
cant_project
.
add_reporter
(
user
)
cant_project
.
add_reporter
(
user
)
visit
namespace_project_merge_request_path
(
cant_project
.
namespace
,
cant_project
,
cant_issuable
)
visit
project_merge_request_path
(
cant_project
,
cant_issuable
)
end
end
it
'only shows a `Report abuse` button'
do
it
'only shows a `Report abuse` button'
do
...
...
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