diff options
author | Rubén Dávila <ruben@gitlab.com> | 2017-08-17 18:37:36 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-09-06 20:54:09 +0300 |
commit | 6c49a628000605d1beb120431003abb329b9fd16 (patch) | |
tree | 03ede462b30999149411ec70287f6aad2507eb56 /spec/models/user_spec.rb | |
parent | 8d1321d66977dc50577cf23f7cb0a6e9caa8283e (diff) |
Restore some changes from !9199
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index abf732e60bf..961f891f559 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -716,6 +716,7 @@ describe User do it "applies defaults to user" do expect(user.projects_limit).to eq(Gitlab.config.gitlab.default_projects_limit) expect(user.can_create_group).to eq(Gitlab.config.gitlab.default_can_create_group) + expect(user.theme_id).to eq(Gitlab.config.gitlab.default_theme) expect(user.external).to be_falsey end end @@ -726,6 +727,7 @@ describe User do it "applies defaults to user" do expect(user.projects_limit).to eq(123) expect(user.can_create_group).to be_falsey + expect(user.theme_id).to eq(1) end end |