Fix tests after can_create_team was removed

This commit is contained in:
Dmitriy Zaporozhets 2013-08-21 15:07:09 +03:00
parent 08be25eb4b
commit 668358439e
3 changed files with 0 additions and 4 deletions

View File

@ -35,7 +35,6 @@ describe "Admin::Users" do
user = User.last
user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit
user.can_create_group.should == Gitlab.config.gitlab.default_can_create_group
user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team
end
it "should create user with valid data" do

View File

@ -99,7 +99,6 @@ describe Gitlab::Auth do
user.should be_valid
user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit
user.can_create_group.should == Gitlab.config.gitlab.default_can_create_group
user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team
end
end
end

View File

@ -198,7 +198,6 @@ describe User do
it "should not apply defaults to user" do
user.projects_limit.should == 10
user.can_create_group.should == true
user.can_create_team.should == true
end
end
@ -207,7 +206,6 @@ describe User do
it "should apply defaults to user" do
user.projects_limit.should == 42
user.can_create_group.should == false
user.can_create_team.should == false
end
end
end