Commit 497f7ab5ba11bcb9d663c86e74326d8116125e18
Committed by
Dmitriy Zaporozhets
1 parent
b8dadd64
Exists in
master
and in
4 other branches
save autogenerated files
Showing
9 changed files
with
86 additions
and
0 deletions
Show diff stats
spec/controllers/admin/teams/projects_controller_spec.rb
0 → 100644
| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | +require 'spec_helper' | |
| 2 | + | |
| 3 | +describe Admin::Teams::ProjectsController do | |
| 4 | + | |
| 5 | + describe "GET 'new'" do | |
| 6 | + it "returns http success" do | |
| 7 | + get 'new' | |
| 8 | + response.should be_success | |
| 9 | + end | |
| 10 | + end | |
| 11 | + | |
| 12 | + describe "GET 'create'" do | |
| 13 | + it "returns http success" do | |
| 14 | + get 'create' | |
| 15 | + response.should be_success | |
| 16 | + end | |
| 17 | + end | |
| 18 | + | |
| 19 | + describe "GET 'edit'" do | |
| 20 | + it "returns http success" do | |
| 21 | + get 'edit' | |
| 22 | + response.should be_success | |
| 23 | + end | |
| 24 | + end | |
| 25 | + | |
| 26 | + describe "GET 'update'" do | |
| 27 | + it "returns http success" do | |
| 28 | + get 'update' | |
| 29 | + response.should be_success | |
| 30 | + end | |
| 31 | + end | |
| 32 | + | |
| 33 | + describe "GET 'destroy'" do | |
| 34 | + it "returns http success" do | |
| 35 | + get 'destroy' | |
| 36 | + response.should be_success | |
| 37 | + end | |
| 38 | + end | |
| 39 | + | |
| 40 | +end | ... | ... |
| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | +require 'spec_helper' | |
| 2 | + | |
| 3 | +# Specs in this file have access to a helper object that includes | |
| 4 | +# the Admin::Teams::ProjectsHelper. For example: | |
| 5 | +# | |
| 6 | +# describe Admin::Teams::ProjectsHelper do | |
| 7 | +# describe "string concat" do | |
| 8 | +# it "concats two strings with spaces" do | |
| 9 | +# helper.concat_strings("this","that").should == "this that" | |
| 10 | +# end | |
| 11 | +# end | |
| 12 | +# end | |
| 13 | +describe Admin::Teams::ProjectsHelper do | |
| 14 | + pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | +end | ... | ... |
spec/views/admin/teams/projects/create.html.haml_spec.rb
0 → 100644
spec/views/admin/teams/projects/destroy.html.haml_spec.rb
0 → 100644
spec/views/admin/teams/projects/update.html.haml_spec.rb
0 → 100644