mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
keep same dir structure for specs as in lib/
This commit is contained in:
@@ -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
|
||||
@@ -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",
|
||||
Reference in New Issue
Block a user