Skip to content

Commit f74d75c

Browse files
committed
Remove instance variables for test
1 parent f5ac5fc commit f74d75c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/test_entry.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ def test_to_h
5656
end
5757

5858
def test_equal_operator
59-
@entry_two = Net::LDAP::Entry.new 'cn=Barbara,o=corp'
60-
assert_equal @entry, @entry_two
59+
entry_two = Net::LDAP::Entry.new 'cn=Barbara,o=corp'
60+
assert_equal @entry, entry_two
6161

6262
@entry['sn'] = 'Jensen'
63-
assert_not_equal @entry, @entry_two
63+
assert_not_equal @entry, entry_two
6464

65-
@entry_two['sn'] = 'Jensen'
66-
assert_equal @entry, @entry_two
65+
entry_two['sn'] = 'Jensen'
66+
assert_equal @entry, entry_two
6767
end
6868
end
6969

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy