test/cases/spec_utility.rb in s33r-0.5.4 vs test/cases/spec_utility.rb in s33r-0.5.5

- old
+ new

@@ -37,11 +37,10 @@ @correct_authenticated_url_with_ssl = "https://" + authenticated_url_end @correct_public_url = "http://s3.amazonaws.com/quotes/nelson" @correct_public_ssl_url = "https://s3.amazonaws.com/quotes/nelson" @correct_public_url_with_subdomain = "http://quotes.s3.amazonaws.com/nelson" - @correct_public_url_with_ssl_and_subdomain = "https://quotes.s3.amazonaws.com/nelson" @correct_public_url_without_key = "http://s3.amazonaws.com/quotes/" @correct_logging_url = "http://s3.amazonaws.com/quotes/?logging" @correct_acl_url = "http://s3.amazonaws.com/quotes/?acl" @correct_acl_url_with_key = "http://s3.amazonaws.com/quotes/nelson?acl" @correct_public_url_with_qstring = "http://s3.amazonaws.com/quotes/?prefix=%2Fhome&max-keys=400" @@ -193,10 +192,10 @@ specify 'should generate public URLs with bucket name as subdomain' do s3_public_url(:bucket => 'quotes', :key => 'nelson', :subdomain => true).should == \ @correct_public_url_with_subdomain s3_public_url(:bucket => 'quotes', :key => 'nelson', :subdomain => true, :use_ssl => true).should == \ - @correct_public_url_with_ssl_and_subdomain + @correct_public_url_with_subdomain end specify 'should generate URLs for buckets without keys' do s3_public_url(:bucket => 'quotes').should == @correct_public_url_without_key end