diff options
author | Adam Hegyi <ahegyi@gitlab.com> | 2019-08-28 13:38:50 +0000 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2019-08-28 13:38:50 +0000 |
commit | 55d28efa1f1fb0d2ce074ac3ebecf6d4e67aaa90 (patch) | |
tree | 84ca61d57b7ccbfbed42d3fa8af847209bc7b169 /spec/models/user_spec.rb | |
parent | a773f70f7b9c61b5e1445c1e9b3f44ebacf6c230 (diff) | |
download | gitlab-ce-55d28efa1f1fb0d2ce074ac3ebecf6d4e67aaa90.tar.gz |
Adding NOT NULL constraint to private_profile
This change sets NOT NULL constraint to users.private profile.
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57538
Diffstat (limited to 'spec/models/user_spec.rb')
-rw-r--r-- | spec/models/user_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 8338d2b5b39..f1408194250 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -1176,7 +1176,7 @@ describe User do 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 - expect(user.private_profile).to eq false + expect(user.private_profile).to eq(false) end end |