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
014d9259
Commit
014d9259
authored
May 05, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CE upstream] fix rubocop & spec
parent
f6f8392b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.rubocop.yml
.rubocop.yml
+2
-2
spec/models/project_spec.rb
spec/models/project_spec.rb
+1
-1
No files found.
.rubocop.yml
View file @
014d9259
...
...
@@ -691,7 +691,7 @@ Style/ZeroLengthPredicate:
# branches, and conditions.
Metrics/AbcSize
:
Enabled
:
true
Max
:
6
0
Max
:
6
4
# Avoid excessive block nesting.
Metrics/BlockNesting
:
...
...
spec/models/project_spec.rb
View file @
014d9259
...
...
@@ -435,8 +435,8 @@ describe Project, models: true do
stub_request
(
:post
,
project_hook
.
url
)
stub_request
(
:post
,
group_hook
.
url
)
expect_any_instance_of
(
ProjectHook
).
to
receive
(
:async_execute
).
and_return
(
true
)
expect_any_instance_of
(
GroupHook
).
to
receive
(
:async_execute
).
and_return
(
true
)
expect_any_instance_of
(
ProjectHook
).
to
receive
(
:async_execute
).
and_return
(
true
)
project
.
execute_hooks
({},
:push_hooks
)
end
...
...
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