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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
336016fa
Commit
336016fa
authored
Mar 13, 2017
by
Douwe Maan
Committed by
Luke "Jared" Bennett
Apr 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Satisfy Rubocop
parent
08bbb9fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/controllers/projects/commit_controller_spec.rb
spec/controllers/projects/commit_controller_spec.rb
+1
-1
spec/controllers/projects/merge_requests_controller_spec.rb
spec/controllers/projects/merge_requests_controller_spec.rb
+1
-1
No files found.
spec/controllers/projects/commit_controller_spec.rb
View file @
336016fa
...
@@ -267,7 +267,7 @@ describe Projects::CommitController do
...
@@ -267,7 +267,7 @@ describe Projects::CommitController do
expect
(
assigns
(
:diff_notes_disabled
)).
to
be_falsey
expect
(
assigns
(
:diff_notes_disabled
)).
to
be_falsey
expect
(
assigns
(
:new_diff_note_attrs
)).
to
eq
(
noteable_type:
'Commit'
,
expect
(
assigns
(
:new_diff_note_attrs
)).
to
eq
(
noteable_type:
'Commit'
,
commit_id:
commit2
.
id
)
commit_id:
commit2
.
id
)
end
end
it
'only renders the diffs for the path given'
do
it
'only renders the diffs for the path given'
do
...
...
spec/controllers/projects/merge_requests_controller_spec.rb
View file @
336016fa
...
@@ -575,7 +575,7 @@ describe Projects::MergeRequestsController do
...
@@ -575,7 +575,7 @@ describe Projects::MergeRequestsController do
expect
(
assigns
(
:diff_notes_disabled
)).
to
be_falsey
expect
(
assigns
(
:diff_notes_disabled
)).
to
be_falsey
expect
(
assigns
(
:new_diff_note_attrs
)).
to
eq
(
noteable_type:
'MergeRequest'
,
expect
(
assigns
(
:new_diff_note_attrs
)).
to
eq
(
noteable_type:
'MergeRequest'
,
noteable_id:
merge_request
.
id
)
noteable_id:
merge_request
.
id
)
end
end
it
'only renders the diffs for the path given'
do
it
'only renders the diffs for the path given'
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