Commit cca993597013e1359d84230b0f69a2e02edb8e97
Committed by
Dmitriy Zaporozhets
1 parent
9804b7df
Exists in
master
and in
4 other branches
save generated files
Showing
11 changed files
with
91 additions
and
1 deletions
Show diff stats
config/routes.rb
| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | +require 'spec_helper' | |
| 2 | + | |
| 3 | +describe Admin::Teams::MembersController 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::MembersHelper. For example: | |
| 5 | +# | |
| 6 | +# describe Admin::Teams::MembersHelper 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::MembersHelper do | |
| 14 | + pending "add some examples to (or delete) #{__FILE__}" | |
| 15 | +end | ... | ... |
spec/views/admin/teams/members/destroy.html.haml_spec.rb
0 → 100644