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
e91ff84d
Commit
e91ff84d
authored
Apr 03, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep same dir structure for specs as in lib/
parent
3011ac41
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
19 deletions
+0
-19
spec/lib/gitlab/backend/shell_spec.rb
spec/lib/gitlab/backend/shell_spec.rb
+0
-0
spec/lib/gitlab/git/commit_spec.rb
spec/lib/gitlab/git/commit_spec.rb
+0
-11
spec/lib/gitlab/git/repository_spec.rb
spec/lib/gitlab/git/repository_spec.rb
+0
-8
spec/lib/gitlab/popen_spec.rb
spec/lib/gitlab/popen_spec.rb
+0
-0
No files found.
spec/lib/shell_spec.rb
→
spec/lib/
gitlab/backend/
shell_spec.rb
View file @
e91ff84d
File moved
spec/lib/git/commit_spec.rb
→
spec/lib/git
lab/git
/commit_spec.rb
View file @
e91ff84d
...
...
@@ -37,15 +37,4 @@ describe Gitlab::Git::Commit do
it
{
@commit
.
committer_email
.
should
==
@committer
.
email
}
it
{
@commit
.
different_committer?
.
should
be_true
}
end
describe
"Class methods"
do
subject
{
Gitlab
::
Git
::
Commit
}
it
{
should
respond_to
(
:find_or_first
)
}
it
{
should
respond_to
(
:fresh_commits
)
}
it
{
should
respond_to
(
:commits_with_refs
)
}
it
{
should
respond_to
(
:commits_since
)
}
it
{
should
respond_to
(
:commits_between
)
}
it
{
should
respond_to
(
:commits
)
}
end
end
spec/lib/git/repository_spec.rb
→
spec/lib/git
lab/git
/repository_spec.rb
View file @
e91ff84d
...
...
@@ -14,8 +14,6 @@ describe Gitlab::Git::Repository do
it
{
should
respond_to
(
:commits
)
}
it
{
should
respond_to
(
:commits_between
)
}
it
{
should
respond_to
(
:commits_with_refs
)
}
it
{
should
respond_to
(
:commits_since
)
}
it
{
should
respond_to
(
:commits_between
)
}
end
...
...
@@ -84,12 +82,6 @@ describe Gitlab::Git::Repository do
end
end
describe
"fresh commits"
do
it
{
repository
.
fresh_commits
(
3
).
count
.
should
==
3
}
it
{
repository
.
fresh_commits
.
first
.
id
.
should
==
"bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a"
}
it
{
repository
.
fresh_commits
.
last
.
id
.
should
==
"f403da73f5e62794a0447aca879360494b08f678"
}
end
describe
"commits_between"
do
subject
do
commits
=
repository
.
commits_between
(
"3a4b4fb4cde7809f033822a171b9feae19d41fff"
,
...
...
spec/lib/popen_spec.rb
→
spec/lib/
gitlab/
popen_spec.rb
View file @
e91ff84d
File moved
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