gitlabhq/spec/controllers/admin/teams/projects_controller_spec.rb

41 lines
710 B
Ruby
Raw Normal View History

2013-01-20 22:07:28 +01:00
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