55 lines
945 B
Ruby
55 lines
945 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe TeamsController do
|
||
|
|
||
|
describe "GET 'index'" do
|
||
|
it "returns http success" do
|
||
|
get 'index'
|
||
|
response.should be_success
|
||
|
end
|
||
|
end
|
||
|
|
||
|
describe "GET 'show'" do
|
||
|
it "returns http success" do
|
||
|
get 'show'
|
||
|
response.should be_success
|
||
|
end
|
||
|
end
|
||
|
|
||
|
describe "GET 'new'" do
|
||
|
it "returns http success" do
|
||
|
get 'new'
|
||
|
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 'create'" do
|
||
|
it "returns http success" do
|
||
|
get 'create'
|
||
|
response.should be_success
|
||
|
end
|
||
|
end
|
||
|
|
||
|
describe "GET 'destroy'" do
|
||
|
it "returns http success" do
|
||
|
get 'destroy'
|
||
|
response.should be_success
|
||
|
end
|
||
|
end
|
||
|
|
||
|
end
|