Commit a3ac178a authored by James Lopez's avatar James Lopez

refactor spec

parent 200b70f2
...@@ -303,9 +303,9 @@ describe EE::Gitlab::LDAP::Sync::Group do ...@@ -303,9 +303,9 @@ describe EE::Gitlab::LDAP::Sync::Group do
it 'does not update permissions when group base is missing' do it 'does not update permissions when group base is missing' do
stub_ldap_config(group_base: nil) stub_ldap_config(group_base: nil)
sync_group.update_permissions expect_any_instance_of(EE::Gitlab::LDAP::Sync::Proxy).not_to receive(:dns_for_group_cn)
expect(group.members.pluck(:user_id)).not_to include(user.id) sync_group.update_permissions
end end
end end
end end
......
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