Skip to content

Commit

Permalink
Fixes Regex to match outputted url that was tested to work.
Browse files Browse the repository at this point in the history
Andrew Colchagoff committed Sep 30, 2015
1 parent cc5300e commit bea86b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ module S3
})

url = obj.presigned_url(:get, virtual_host: true)
expect(url).to match(/^http:\/\/my.bucket.com\//)
expect(url).to match(/^http:\/\/my\.bucket\.com(:80)?\//)
end

it 'rejects empty keys' do

0 comments on commit bea86b7

Please sign in to comment.