Fix tests after can_create_team was removed
This commit is contained in:
parent
08be25eb4b
commit
668358439e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue