@@ -112,7 +112,7 @@ def test_auth_plain
112
112
assert_equal "AUTH PLAIN AGFjY291bnQAcGFzc3dvcmQ=\r \n " , server . commands . last
113
113
end
114
114
115
- def test_unsucessful_auth_plain
115
+ def test_unsuccessful_auth_plain
116
116
server = FakeServer . start ( auth : 'plain' )
117
117
smtp = Net ::SMTP . start 'localhost' , server . port
118
118
err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "foo" , "bar" , :plain ) }
@@ -126,7 +126,7 @@ def test_auth_login
126
126
assert smtp . authenticate ( "account" , "password" , :login ) . success?
127
127
end
128
128
129
- def test_unsucessful_auth_login
129
+ def test_unsuccessful_auth_login
130
130
server = FakeServer . start ( auth : 'login' )
131
131
smtp = Net ::SMTP . start 'localhost' , server . port
132
132
err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "foo" , "bar" , :login ) }
@@ -154,7 +154,7 @@ def test_auth_xoauth2
154
154
assert_equal "AUTH XOAUTH2 dXNlcj1hY2NvdW50AWF1dGg9QmVhcmVyIHRva2VuAQE=\r \n " , server . commands . last
155
155
end
156
156
157
- def test_unsucessful_auth_xoauth2
157
+ def test_unsuccessful_auth_xoauth2
158
158
server = FakeServer . start ( auth : 'xoauth2' )
159
159
smtp = Net ::SMTP . start 'localhost' , server . port
160
160
err = assert_raise ( Net ::SMTPAuthenticationError ) { smtp . authenticate ( "account" , "password" , :xoauth2 ) }
0 commit comments