diff --git a/app/assets/javascripts/admin/teams/projects.js.coffee b/app/assets/javascripts/admin/teams/projects.js.coffee new file mode 100644 index 00000000..76156794 --- /dev/null +++ b/app/assets/javascripts/admin/teams/projects.js.coffee @@ -0,0 +1,3 @@ +# Place all the behaviors and hooks related to the matching controller here. +# All this logic will automatically be available in application.js. +# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ diff --git a/app/assets/stylesheets/admin/teams/projects.css.scss b/app/assets/stylesheets/admin/teams/projects.css.scss new file mode 100644 index 00000000..e6a6ec39 --- /dev/null +++ b/app/assets/stylesheets/admin/teams/projects.css.scss @@ -0,0 +1,3 @@ +// Place all the styles related to the Admin::Teams::Projects controller here. +// They will automatically be included in application.css. +// You can use Sass (SCSS) here: http://sass-lang.com/ 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 00000000..7fe6ee0c --- /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 00000000..1c98d23c --- /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 00000000..74c4ee2d --- /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 00000000..b3eee48f --- /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 00000000..ef41b7b0 --- /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 00000000..9ee68e5a --- /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 00000000..fdaafd39 --- /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