Commit f7fee132 authored by Patricio Cano's avatar Patricio Cano

Removed unnecessary stubs.

parent c7eee369
......@@ -661,10 +661,6 @@ describe Gitlab::LDAP::GroupSync, lib: true do
allow_any_instance_of(Gitlab::LDAP::Group)
.to receive(:adapter).and_return(adapter)
allow(Gitlab::LDAP::Group)
.to receive(:find_by_cn).with(external_group1.cn, any_args)
allow(Gitlab::LDAP::Group)
.to receive(:find_by_cn).with(external_group2.cn, any_args)
allow(Gitlab::LDAP::Group)
.to receive(:find_by_cn)
.with('external_group1', kind_of(Gitlab::LDAP::Adapter))
......
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