Skip to content

Commit df579bf

Browse files
pbolingCopilot
andauthored
Update spec/omniauth-ldap/adaptor_spec.rb
Co-authored-by: Copilot <[email protected]>
1 parent be51e41 commit df579bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/omniauth-ldap/adaptor_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@
205205

206206
it "omits timeout settings when not provided" do
207207
adaptor = described_class.new(host: "192.168.1.145", encryption: "plain", base: "dc=example,dc=com", port: 389, uid: "uid")
208-
expect(adaptor.connection.instance_variable_get(:@connect_timeout)).to be_nil.or be false
209-
expect(adaptor.connection.instance_variable_get(:@read_timeout)).to be_nil.or be false
208+
expect(adaptor.connection.instance_variable_get(:@connect_timeout)).to be_nil
209+
expect(adaptor.connection.instance_variable_get(:@read_timeout)).to be_nil
210210
end
211211
end
212212
end

0 commit comments

Comments
 (0)