Skip to content
Browse files

Changed port used in tests.

  • Loading branch information...
1 parent d681208 commit 96892352d25a6be281389b2fcf9f21124906fb0d @aarongough committed Nov 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/mini_smtp_server_test.rb
View
4 test/unit/mini_smtp_server_test.rb
@@ -20,7 +20,7 @@ class MiniSmtpServerTest < Test::Unit::TestCase
def setup
$messages = []
- @server = TestSmtpServer.new(1234)
+ @server = TestSmtpServer.new
@server.start
end
@@ -70,7 +70,7 @@ def teardown
private
def send_mail(message = $example_mail, from_address = "smtp@test.com", to_address = "some1@test.com")
- Net::SMTP.start('127.0.0.1', 1234) do |smtp|
+ Net::SMTP.start('127.0.0.1', 2525) do |smtp|
smtp.send_message(message, from_address, to_address)
smtp.finish
sleep 0.01

0 comments on commit 9689235

Please sign in to comment.
Something went wrong with that request. Please try again.