Commit 668358439e5f4c92c96fc1ae72b0cf06df8dbd90
1 parent
08be25eb
Exists in
master
and in
4 other branches
Fix tests after can_create_team was removed
Showing
3 changed files
with
0 additions
and
4 deletions
Show diff stats
spec/features/admin/admin_users_spec.rb
... | ... | @@ -35,7 +35,6 @@ describe "Admin::Users" do |
35 | 35 | user = User.last |
36 | 36 | user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit |
37 | 37 | user.can_create_group.should == Gitlab.config.gitlab.default_can_create_group |
38 | - user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team | |
39 | 38 | end |
40 | 39 | |
41 | 40 | it "should create user with valid data" do | ... | ... |
spec/lib/auth_spec.rb
... | ... | @@ -99,7 +99,6 @@ describe Gitlab::Auth do |
99 | 99 | user.should be_valid |
100 | 100 | user.projects_limit.should == Gitlab.config.gitlab.default_projects_limit |
101 | 101 | user.can_create_group.should == Gitlab.config.gitlab.default_can_create_group |
102 | - user.can_create_team.should == Gitlab.config.gitlab.default_can_create_team | |
103 | 102 | end |
104 | 103 | end |
105 | 104 | end | ... | ... |
spec/models/user_spec.rb
... | ... | @@ -198,7 +198,6 @@ describe User do |
198 | 198 | it "should not apply defaults to user" do |
199 | 199 | user.projects_limit.should == 10 |
200 | 200 | user.can_create_group.should == true |
201 | - user.can_create_team.should == true | |
202 | 201 | end |
203 | 202 | end |
204 | 203 | |
... | ... | @@ -207,7 +206,6 @@ describe User do |
207 | 206 | it "should apply defaults to user" do |
208 | 207 | user.projects_limit.should == 42 |
209 | 208 | user.can_create_group.should == false |
210 | - user.can_create_team.should == false | |
211 | 209 | end |
212 | 210 | end |
213 | 211 | end | ... | ... |