@@ -112,7 +112,7 @@ def test_auth_plain
112112 assert_equal "AUTH PLAIN AGFjY291bnQAcGFzc3dvcmQ=\r \n " , server . commands . last
113113 end
114114
115- def test_unsucessful_auth_plain
115+ def test_unsuccessful_auth_plain
116116 server = FakeServer . start ( auth : 'plain' )
117117 smtp = Net ::SMTP . start 'localhost' , server . port
118118 err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "foo" , "bar" , :plain ) }
@@ -126,7 +126,7 @@ def test_auth_login
126126 assert smtp . authenticate ( "account" , "password" , :login ) . success?
127127 end
128128
129- def test_unsucessful_auth_login
129+ def test_unsuccessful_auth_login
130130 server = FakeServer . start ( auth : 'login' )
131131 smtp = Net ::SMTP . start 'localhost' , server . port
132132 err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "foo" , "bar" , :login ) }
@@ -154,7 +154,7 @@ def test_auth_xoauth2
154154 assert_equal "AUTH XOAUTH2 dXNlcj1hY2NvdW50AWF1dGg9QmVhcmVyIHRva2VuAQE=\r \n " , server . commands . last
155155 end
156156
157- def test_unsucessful_auth_xoauth2
157+ def test_unsuccessful_auth_xoauth2
158158 server = FakeServer . start ( auth : 'xoauth2' )
159159 smtp = Net ::SMTP . start 'localhost' , server . port
160160 err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "account" , "password" , :xoauth2 ) }
0 commit comments