<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -77,15 +77,15 @@ class ConnectionTest &lt; Test::Unit::TestCase
 
   def test_url_for_uses_default_protocol_server_and_port
     connection = Connection.new(:access_key_id =&gt; '123', :secret_access_key =&gt; 'abc', :port =&gt; 80)
-    assert_match %r(^http://s3\.amazonaws\.com/foo\?), connection.url_for('/foo', 'mybucket')
+    assert_match %r(^http://mybucket\.s3\.amazonaws\.com/foo\?), connection.url_for('/foo', 'mybucket')
 
     connection = Connection.new(:access_key_id =&gt; '123', :secret_access_key =&gt; 'abc', :use_ssl =&gt; true, :port =&gt; 443)
-    assert_match %r(^https://s3\.amazonaws\.com/foo\?), connection.url_for('/foo', 'mybucket')
+    assert_match %r(^https://mybucket\.s3\.amazonaws\.com/foo\?), connection.url_for('/foo', 'mybucket')
   end
 
   def test_url_for_remembers_custom_protocol_server_and_port
     connection = Connection.new(:access_key_id =&gt; '123', :secret_access_key =&gt; 'abc', :server =&gt; 'example.org', :port =&gt; 555, :use_ssl =&gt; true)
-    assert_match %r(^https://example\.org:555/foo\?), connection.url_for('/foo', 'mybucket')
+    assert_match %r(^https://mybucket\.example\.org:555/foo\?), connection.url_for('/foo', 'mybucket')
   end
 
   def test_url_for_with_and_without_authenticated_urls</diff>
      <filename>test/connection_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f8f41fe948cae8168e2390d1b513abf5f7d4a3bd</id>
    </parent>
  </parents>
  <author>
    <name>Isaac Feliu</name>
    <email>isaac@vesne.com</email>
  </author>
  <url>http://github.com/isaacfeliu/aws-s3/commit/1396f0e44e9d4c72d0ce1074de10375ec8d41932</url>
  <id>1396f0e44e9d4c72d0ce1074de10375ec8d41932</id>
  <committed-date>2008-12-22T03:53:31-08:00</committed-date>
  <authored-date>2008-12-22T03:53:31-08:00</authored-date>
  <message>BugFix tests</message>
  <tree>825ca5cd47f9ed54eb989f15f4af242e8a23cc00</tree>
  <committer>
    <name>Isaac Feliu</name>
    <email>isaac@vesne.com</email>
  </committer>
</commit>
