Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
Kazuhiko Shiozaki
gitlab-shell
Commits
8d374284
Commit
8d374284
authored
Feb 05, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rspec helper
parent
4b2a3138
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
.gitignore
.gitignore
+1
-0
.rspec
.rspec
+1
-0
spec/gitlab_shell_spec.rb
spec/gitlab_shell_spec.rb
+2
-2
spec/spec_helper.rb
spec/spec_helper.rb
+1
-0
No files found.
.gitignore
View file @
8d374284
config.yml
config.yml
tmp/*
.rspec
0 → 100644
View file @
8d374284
--color
spec/gitlab_shell_spec.rb
View file @
8d374284
require_relative
'spec_helper'
require_relative
'../lib/gitlab_shell'
require_relative
'../lib/gitlab_shell'
describe
GitlabShell
do
describe
GitlabShell
do
describe
:initialize
do
describe
:initialize
do
before
do
before
do
ROOT_PATH
=
File
.
join
(
File
.
expand_path
(
File
.
dirname
(
__FILE__
)),
".."
)
ENV
[
'SSH_ORIGINAL_COMMAND'
]
=
'git-receive-pack'
ENV
[
'SSH_ORIGINAL_COMMAND'
]
=
'git-receive-pack'
ARGV
=
[
'dzaporozhets'
]
ARGV
[
0
]
=
'dzaporozhets'
@shell
=
GitlabShell
.
new
@shell
=
GitlabShell
.
new
end
end
...
...
spec/spec_helper.rb
0 → 100644
View file @
8d374284
ROOT_PATH
=
File
.
join
(
File
.
expand_path
(
File
.
dirname
(
__FILE__
)),
".."
)
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