test/test_entry.rb in net-ldap-0.16.2 vs test/test_entry.rb in net-ldap-0.16.3
- old
+ new
@@ -45,11 +45,12 @@
def setup
@entry = Net::LDAP::Entry.from_single_ldif_string(
%Q{dn: something
foo: foo
barAttribute: bar
- })
+ },
+ )
end
def test_attribute
assert_equal ['foo'], @entry.foo
assert_equal ['foo'], @entry.Foo
@@ -57,9 +58,9 @@
def test_modify_attribute
@entry.foo = 'bar'
assert_equal ['bar'], @entry.foo
- @entry.fOo= 'baz'
+ @entry.fOo = 'baz'
assert_equal ['baz'], @entry.foo
end
end