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
6c3ce620
Commit
6c3ce620
authored
Mar 17, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary before block
parent
275b7797
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
spec/tasks/gitlab/gitaly_rake_spec.rb
spec/tasks/gitlab/gitaly_rake_spec.rb
+0
-3
spec/tasks/gitlab/workhorse_rake_spec.rb
spec/tasks/gitlab/workhorse_rake_spec.rb
+0
-3
No files found.
spec/tasks/gitlab/gitaly_rake_spec.rb
View file @
6c3ce620
...
@@ -9,9 +9,6 @@ describe 'gitlab:gitaly namespace rake task' do
...
@@ -9,9 +9,6 @@ describe 'gitlab:gitaly namespace rake task' do
let
(
:repo
)
{
'https://gitlab.com/gitlab-org/gitaly.git'
}
let
(
:repo
)
{
'https://gitlab.com/gitlab-org/gitaly.git'
}
let
(
:clone_path
)
{
Rails
.
root
.
join
(
'tmp/tests/gitaly'
).
to_s
}
let
(
:clone_path
)
{
Rails
.
root
.
join
(
'tmp/tests/gitaly'
).
to_s
}
let
(
:tag
)
{
"v
#{
File
.
read
(
Rails
.
root
.
join
(
Gitlab
::
GitalyClient
::
SERVER_VERSION_FILE
)).
chomp
}
"
}
let
(
:tag
)
{
"v
#{
File
.
read
(
Rails
.
root
.
join
(
Gitlab
::
GitalyClient
::
SERVER_VERSION_FILE
)).
chomp
}
"
}
before
do
allow
(
ENV
).
to
receive
(
:[]
)
end
context
'no dir given'
do
context
'no dir given'
do
it
'aborts and display a help message'
do
it
'aborts and display a help message'
do
...
...
spec/tasks/gitlab/workhorse_rake_spec.rb
View file @
6c3ce620
...
@@ -9,9 +9,6 @@ describe 'gitlab:workhorse namespace rake task' do
...
@@ -9,9 +9,6 @@ describe 'gitlab:workhorse namespace rake task' do
let
(
:repo
)
{
'https://gitlab.com/gitlab-org/gitlab-workhorse.git'
}
let
(
:repo
)
{
'https://gitlab.com/gitlab-org/gitlab-workhorse.git'
}
let
(
:clone_path
)
{
Rails
.
root
.
join
(
'tmp/tests/gitlab-workhorse'
).
to_s
}
let
(
:clone_path
)
{
Rails
.
root
.
join
(
'tmp/tests/gitlab-workhorse'
).
to_s
}
let
(
:tag
)
{
"v
#{
File
.
read
(
Rails
.
root
.
join
(
Gitlab
::
Workhorse
::
VERSION_FILE
)).
chomp
}
"
}
let
(
:tag
)
{
"v
#{
File
.
read
(
Rails
.
root
.
join
(
Gitlab
::
Workhorse
::
VERSION_FILE
)).
chomp
}
"
}
before
do
allow
(
ENV
).
to
receive
(
:[]
)
end
context
'no dir given'
do
context
'no dir given'
do
it
'aborts and display a help message'
do
it
'aborts and display a help message'
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