Commit 66835843 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix tests after can_create_team was removed

parent 08be25eb
...@@ -35,7 +35,6 @@ describe "Admin::Users" do ...@@ -35,7 +35,6 @@ describe "Admin::Users" do
user = User.last user = User.last
user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit 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_group.should == Gitlab.config.gitlab.default_can_create_group
user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team
end end
it "should create user with valid data" do it "should create user with valid data" do
......
...@@ -99,7 +99,6 @@ describe Gitlab::Auth do ...@@ -99,7 +99,6 @@ describe Gitlab::Auth do
user.should be_valid user.should be_valid
user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit 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_group.should == Gitlab.config.gitlab.default_can_create_group
user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team
end end
end end
end end
...@@ -198,7 +198,6 @@ describe User do ...@@ -198,7 +198,6 @@ describe User do
it "should not apply defaults to user" do it "should not apply defaults to user" do
user.projects_limit.should == 10 user.projects_limit.should == 10
user.can_create_group.should == true user.can_create_group.should == true
user.can_create_team.should == true
end end
end end
...@@ -207,7 +206,6 @@ describe User do ...@@ -207,7 +206,6 @@ describe User do
it "should apply defaults to user" do it "should apply defaults to user" do
user.projects_limit.should == 42 user.projects_limit.should == 42
user.can_create_group.should == false user.can_create_group.should == false
user.can_create_team.should == false
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment