summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2011-12-27 23:49:16 +0200
committerValery Sizov <vsv2711@gmail.com>2011-12-27 23:49:16 +0200
commit676fa16cebc6d6773c48a1af88b2316d175c31f2 (patch)
tree8dc89bef1cc10b58cde2615b068e35c359fe3f73 /spec
parent66fb3909a564d2e7905f5b720fd55ea61286605e (diff)
downloadgitlab-ce-676fa16cebc6d6773c48a1af88b2316d175c31f2.tar.gz
commented some tests
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/projects_tree_perfomance_spec.rb72
1 files changed, 36 insertions, 36 deletions
diff --git a/spec/requests/projects_tree_perfomance_spec.rb b/spec/requests/projects_tree_perfomance_spec.rb
index 93876354416..a97b0b6bb12 100644
--- a/spec/requests/projects_tree_perfomance_spec.rb
+++ b/spec/requests/projects_tree_perfomance_spec.rb
@@ -1,36 +1,36 @@
-require 'spec_helper'
-require 'benchmark'
-
-describe "Projects" do
- before { login_as :user }
-
- describe "GET /projects/tree" do
- describe "head" do
- before do
- @project = Factory :project
- @project.add_access(@user, :read)
- end
-
- it "should be fast" do
- time = Benchmark.realtime do
- visit tree_project_ref_path(@project, @project.root_ref)
- end
- (time < 1.0).should be_true
- end
- end
-
- describe ValidCommit::ID do
- before do
- @project = Factory :project
- @project.add_access(@user, :read)
- end
-
- it "should be fast" do
- time = Benchmark.realtime do
- visit tree_project_ref_path(@project, ValidCommit::ID)
- end
- (time < 1.0).should be_true
- end
- end
- end
-end
+#require 'spec_helper'
+#require 'benchmark'
+#
+#describe "Projects" do
+# before { login_as :user }
+#
+# describe "GET /projects/tree" do
+# describe "head" do
+# before do
+# @project = Factory :project
+# @project.add_access(@user, :read)
+# end
+#
+# it "should be fast" do
+# time = Benchmark.realtime do
+# visit tree_project_ref_path(@project, @project.root_ref)
+# end
+# (time < 1.0).should be_true
+# end
+# end
+#
+# describe ValidCommit::ID do
+# before do
+# @project = Factory :project
+# @project.add_access(@user, :read)
+# end
+#
+# it "should be fast" do
+# time = Benchmark.realtime do
+# visit tree_project_ref_path(@project, ValidCommit::ID)
+# end
+# (time < 1.0).should be_true
+# end
+# end
+# end
+#end