Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-03 22:09:07 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-03 22:09:07 +0400
commite91ff84df72a76b91bb8c24a6e677cdca98120de (patch)
tree71997153a4063f957da502bc87dc4e962bd2f960 /spec
parent3011ac4150e355da9e5956cb223d19e18425e0eb (diff)
keep same dir structure for specs as in lib/
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/backend/shell_spec.rb (renamed from spec/lib/shell_spec.rb)0
-rw-r--r--spec/lib/gitlab/git/commit_spec.rb (renamed from spec/lib/git/commit_spec.rb)11
-rw-r--r--spec/lib/gitlab/git/repository_spec.rb (renamed from spec/lib/git/repository_spec.rb)8
-rw-r--r--spec/lib/gitlab/popen_spec.rb (renamed from spec/lib/popen_spec.rb)0
4 files changed, 0 insertions, 19 deletions
diff --git a/spec/lib/shell_spec.rb b/spec/lib/gitlab/backend/shell_spec.rb
index 3c04f4bbeb6..3c04f4bbeb6 100644
--- a/spec/lib/shell_spec.rb
+++ b/spec/lib/gitlab/backend/shell_spec.rb
diff --git a/spec/lib/git/commit_spec.rb b/spec/lib/gitlab/git/commit_spec.rb
index 5f3297eea17..bf2cd98eba1 100644
--- a/spec/lib/git/commit_spec.rb
+++ b/spec/lib/gitlab/git/commit_spec.rb
@@ -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
diff --git a/spec/lib/git/repository_spec.rb b/spec/lib/gitlab/git/repository_spec.rb
index b2b6f1964de..c68bdaaae00 100644
--- a/spec/lib/git/repository_spec.rb
+++ b/spec/lib/gitlab/git/repository_spec.rb
@@ -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",
diff --git a/spec/lib/popen_spec.rb b/spec/lib/gitlab/popen_spec.rb
index 4791be41613..4791be41613 100644
--- a/spec/lib/popen_spec.rb
+++ b/spec/lib/gitlab/popen_spec.rb