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
Boxiang Sun
gitlab-ce
Commits
cf259cdb
Commit
cf259cdb
authored
Jun 22, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary whitespace between let and (
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f167f37e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
19 deletions
+19
-19
spec/lib/gitlab/ldap/authentication_spec.rb
spec/lib/gitlab/ldap/authentication_spec.rb
+1
-1
spec/lib/gitlab/popen_spec.rb
spec/lib/gitlab/popen_spec.rb
+1
-1
spec/models/service_spec.rb
spec/models/service_spec.rb
+2
-2
spec/services/git_push_service_spec.rb
spec/services/git_push_service_spec.rb
+3
-3
spec/services/git_tag_push_service_spec.rb
spec/services/git_tag_push_service_spec.rb
+3
-3
spec/services/system_hooks_service_spec.rb
spec/services/system_hooks_service_spec.rb
+6
-6
spec/services/test_hook_service_spec.rb
spec/services/test_hook_service_spec.rb
+3
-3
No files found.
spec/lib/gitlab/ldap/authentication_spec.rb
View file @
cf259cdb
...
...
@@ -50,4 +50,4 @@ describe Gitlab::LDAP::Authentication do
expect
(
klass
.
login
(
login
,
''
)).
to
be_falsey
end
end
end
\ No newline at end of file
end
spec/lib/gitlab/popen_spec.rb
View file @
cf259cdb
require
'spec_helper'
describe
'Gitlab::Popen'
,
no_db:
true
do
let
(
:path
)
{
Rails
.
root
.
join
(
'tmp'
).
to_s
}
let
(
:path
)
{
Rails
.
root
.
join
(
'tmp'
).
to_s
}
before
do
@klass
=
Class
.
new
(
Object
)
...
...
spec/models/service_spec.rb
View file @
cf259cdb
...
...
@@ -36,7 +36,7 @@ describe Service do
end
describe
"Testable"
do
let
(
:project
)
{
create
:project
}
let
(
:project
)
{
create
:project
}
before
do
@service
.
stub
(
...
...
@@ -51,7 +51,7 @@ describe Service do
end
describe
"With commits"
do
let
(
:project
)
{
create
:project
}
let
(
:project
)
{
create
:project
}
before
do
@service
.
stub
(
...
...
spec/services/git_push_service_spec.rb
View file @
cf259cdb
...
...
@@ -3,9 +3,9 @@ require 'spec_helper'
describe
GitPushService
do
include
RepoHelpers
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:service
)
{
GitPushService
.
new
}
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:service
)
{
GitPushService
.
new
}
before
do
@blankrev
=
Gitlab
::
Git
::
BLANK_SHA
...
...
spec/services/git_tag_push_service_spec.rb
View file @
cf259cdb
...
...
@@ -3,9 +3,9 @@ require 'spec_helper'
describe
GitTagPushService
do
include
RepoHelpers
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:service
)
{
GitTagPushService
.
new
}
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:service
)
{
GitTagPushService
.
new
}
before
do
@oldrev
=
Gitlab
::
Git
::
BLANK_SHA
...
...
spec/services/system_hooks_service_spec.rb
View file @
cf259cdb
require
'spec_helper'
describe
SystemHooksService
do
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:project_member
)
{
create
:project_member
}
let
(
:key
)
{
create
(
:key
,
user:
user
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:group_member
)
{
create
(
:group_member
)
}
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:project_member
)
{
create
:project_member
}
let
(
:key
)
{
create
(
:key
,
user:
user
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:group_member
)
{
create
(
:group_member
)
}
context
'event data'
do
it
{
expect
(
event_data
(
user
,
:create
)).
to
include
(
:event_name
,
:name
,
:created_at
,
:email
,
:user_id
)
}
...
...
spec/services/test_hook_service_spec.rb
View file @
cf259cdb
require
'spec_helper'
describe
TestHookService
do
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:hook
)
{
create
:project_hook
,
project:
project
}
let
(
:user
)
{
create
:user
}
let
(
:project
)
{
create
:project
}
let
(
:hook
)
{
create
:project_hook
,
project:
project
}
describe
:execute
do
it
"should execute successfully"
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