Commit 2f3bb27c authored by Rémy Coutable's avatar Rémy Coutable

Remove a spec that was removed in CE

See bb0cba92Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent da0189b1
...@@ -217,22 +217,6 @@ describe User, models: true do ...@@ -217,22 +217,6 @@ describe User, models: true do
expect(user).to be_invalid expect(user).to be_invalid
end end
describe 'ghost users' do
it 'does not allow a non-blocked ghost user' do
user = build(:user, :ghost)
user.state = 'active'
expect(user).to be_invalid
end
it 'allows a blocked ghost user' do
user = build(:user, :ghost)
user.state = 'blocked'
expect(user).to be_valid
end
end
end end
describe "non_ldap" do describe "non_ldap" do
......
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