BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c7b31e40
Commit
c7b31e40
authored
Aug 03, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable some Rubocop cops related to new lines
parent
e63729d9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
8 deletions
+2
-8
.rubocop.yml
.rubocop.yml
+2
-2
admin_disables_git_access_protocol_spec.rb
...features/admin/admin_disables_git_access_protocol_spec.rb
+0
-1
video_link_filter_spec.rb
spec/lib/banzai/filter/video_link_filter_spec.rb
+0
-1
gitlab_ci_yaml_processor_spec.rb
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
+0
-1
hook_spec.rb
spec/lib/gitlab/git/hook_spec.rb
+0
-1
project_tree_restorer_spec.rb
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+0
-1
user_access_spec.rb
spec/lib/gitlab/user_access_spec.rb
+0
-1
No files found.
.rubocop.yml
View file @
c7b31e40
...
...
@@ -149,7 +149,7 @@ Style/EmptyLinesAroundAccessModifier:
# Keeps track of empty lines around block bodies.
Style/EmptyLinesAroundBlockBody
:
Enabled
:
fals
e
Enabled
:
tru
e
# Keeps track of empty lines around class bodies.
Style/EmptyLinesAroundClassBody
:
...
...
@@ -161,7 +161,7 @@ Style/EmptyLinesAroundModuleBody:
# Keeps track of empty lines around method bodies.
Style/EmptyLinesAroundMethodBody
:
Enabled
:
fals
e
Enabled
:
tru
e
# Avoid the use of END blocks.
Style/EndBlock
:
...
...
spec/features/admin/admin_disables_git_access_protocol_spec.rb
View file @
c7b31e40
...
...
@@ -45,7 +45,6 @@ feature 'Admin disables Git access protocol', feature: true do
expect
(
page
).
to
have_content
(
"git clone
#{
project
.
ssh_url_to_repo
}
"
)
expect
(
page
).
to
have_selector
(
'#clone-dropdown'
)
end
end
def
visit_project
...
...
spec/lib/banzai/filter/video_link_filter_spec.rb
View file @
c7b31e40
...
...
@@ -47,5 +47,4 @@ describe Banzai::Filter::VideoLinkFilter, lib: true do
expect
(
element
[
'src'
]).
to
eq
'/path/my_image.jpg'
end
end
end
spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
View file @
c7b31e40
...
...
@@ -534,7 +534,6 @@ module Ci
end
context
'when also global variables are defined'
do
end
context
'when syntax is correct'
do
...
...
spec/lib/gitlab/git/hook_spec.rb
View file @
c7b31e40
...
...
@@ -25,7 +25,6 @@ describe Gitlab::Git::Hook, lib: true do
end
[
'pre-receive'
,
'post-receive'
,
'update'
].
each
do
|
hook_name
|
context
"when triggering a
#{
hook_name
}
hook"
do
context
"when the hook is successful"
do
it
"returns success with no errors"
do
...
...
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
View file @
c7b31e40
...
...
@@ -2,7 +2,6 @@ require 'spec_helper'
describe
Gitlab
::
ImportExport
::
ProjectTreeRestorer
,
services:
true
do
describe
'restore project tree'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:namespace
)
{
create
(
:namespace
,
owner:
user
)
}
let
(
:shared
)
{
Gitlab
::
ImportExport
::
Shared
.
new
(
relative_path:
""
,
project_path:
'path'
)
}
...
...
spec/lib/gitlab/user_access_spec.rb
View file @
c7b31e40
...
...
@@ -83,6 +83,5 @@ describe Gitlab::UserAccess, lib: true do
expect
(
access
.
can_merge_to_branch?
(
@branch
.
name
)).
to
be_falsey
end
end
end
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