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:
authorAndrey Kumanyaev <me@zzet.org>2013-01-21 01:07:28 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-25 00:31:25 +0400
commit497f7ab5ba11bcb9d663c86e74326d8116125e18 (patch)
treed4dfff96e0f1fa2cc6b275b5602e7e2b7f8e2db9 /spec
parentb8dadd6427e50aa6d4f8f5dee113518340495550 (diff)
save autogenerated files
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admin/teams/projects_controller_spec.rb40
-rw-r--r--spec/helpers/admin/teams/projects_helper_spec.rb15
-rw-r--r--spec/views/admin/teams/projects/create.html.haml_spec.rb5
-rw-r--r--spec/views/admin/teams/projects/destroy.html.haml_spec.rb5
-rw-r--r--spec/views/admin/teams/projects/edit.html.haml_spec.rb5
-rw-r--r--spec/views/admin/teams/projects/new.html.haml_spec.rb5
-rw-r--r--spec/views/admin/teams/projects/update.html.haml_spec.rb5
7 files changed, 80 insertions, 0 deletions
diff --git a/spec/controllers/admin/teams/projects_controller_spec.rb b/spec/controllers/admin/teams/projects_controller_spec.rb
new file mode 100644
index 00000000000..7fe6ee0ca26
--- /dev/null
+++ b/spec/controllers/admin/teams/projects_controller_spec.rb
@@ -0,0 +1,40 @@
+require 'spec_helper'
+
+describe Admin::Teams::ProjectsController do
+
+ describe "GET 'new'" do
+ it "returns http success" do
+ get 'new'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'create'" do
+ it "returns http success" do
+ get 'create'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'edit'" do
+ it "returns http success" do
+ get 'edit'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'update'" do
+ it "returns http success" do
+ get 'update'
+ response.should be_success
+ end
+ end
+
+ describe "GET 'destroy'" do
+ it "returns http success" do
+ get 'destroy'
+ response.should be_success
+ end
+ end
+
+end
diff --git a/spec/helpers/admin/teams/projects_helper_spec.rb b/spec/helpers/admin/teams/projects_helper_spec.rb
new file mode 100644
index 00000000000..1c98d23cdb7
--- /dev/null
+++ b/spec/helpers/admin/teams/projects_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+# Specs in this file have access to a helper object that includes
+# the Admin::Teams::ProjectsHelper. For example:
+#
+# describe Admin::Teams::ProjectsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# helper.concat_strings("this","that").should == "this that"
+# end
+# end
+# end
+describe Admin::Teams::ProjectsHelper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/admin/teams/projects/create.html.haml_spec.rb b/spec/views/admin/teams/projects/create.html.haml_spec.rb
new file mode 100644
index 00000000000..74c4ee2d837
--- /dev/null
+++ b/spec/views/admin/teams/projects/create.html.haml_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "projects/create.html.haml" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/admin/teams/projects/destroy.html.haml_spec.rb b/spec/views/admin/teams/projects/destroy.html.haml_spec.rb
new file mode 100644
index 00000000000..b3eee48f38b
--- /dev/null
+++ b/spec/views/admin/teams/projects/destroy.html.haml_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "projects/destroy.html.haml" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/admin/teams/projects/edit.html.haml_spec.rb b/spec/views/admin/teams/projects/edit.html.haml_spec.rb
new file mode 100644
index 00000000000..ef41b7b0814
--- /dev/null
+++ b/spec/views/admin/teams/projects/edit.html.haml_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "projects/edit.html.haml" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/admin/teams/projects/new.html.haml_spec.rb b/spec/views/admin/teams/projects/new.html.haml_spec.rb
new file mode 100644
index 00000000000..9ee68e5ae05
--- /dev/null
+++ b/spec/views/admin/teams/projects/new.html.haml_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "projects/new.html.haml" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
diff --git a/spec/views/admin/teams/projects/update.html.haml_spec.rb b/spec/views/admin/teams/projects/update.html.haml_spec.rb
new file mode 100644
index 00000000000..fdaafd3924b
--- /dev/null
+++ b/spec/views/admin/teams/projects/update.html.haml_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "projects/update.html.haml" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end