Skip to content
Snippets Groups Projects
Commit 66835843 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix tests after can_create_team was removed

parent 08be25eb
No related branches found
No related tags found
1 merge request!5081fixed command to update init script
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
@@ -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
 
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment