diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-04-05 11:14:26 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2018-04-05 11:14:32 +0200 |
commit | 7de250fb81fb24f8e905cfb330072206c4a8a40a (patch) | |
tree | f5545cd212e4c6c6ac743a202b3b5763453b8ce7 /spec | |
parent | eaed588bf228c833cb666a61bc7d25cf21d5f94b (diff) | |
download | gitlab-ce-7de250fb81fb24f8e905cfb330072206c4a8a40a.tar.gz |
Ensure internal users (ghost, support bot) get assigned a namespacedm-internal-user-namespace
Diffstat (limited to 'spec')
-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 4027c420e47..a600987d0bf 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -2071,6 +2071,8 @@ describe User do expect(ghost).to be_ghost expect(ghost).to be_persisted + expect(ghost.namespace).not_to be_nil + expect(ghost.namespace).to be_persisted end it "does not create a second ghost user if one is already present" do |