keep same dir structure for specs as in lib/

This commit is contained in:
Dmitriy Zaporozhets 2013-04-03 21:09:07 +03:00
parent 3011ac4150
commit e91ff84df7
4 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -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",