 
     describe '#getUrlStream', ->
       beforeEach (done) ->
-        options = url.parse @url
-        options.ca = fs.readFileSync './test/fixtures/server.crt'
-        options.rejectUnauthorized = false
-
-        @reader.getUrlStream options, (err, @stream) =>
+        @reader.getUrlStream @url, (err, @stream) =>
           done()
 
       it 'returns a stream', ->

        @stream.on 'data', (data) ->
          fullData += data.toString()
        @stream.on 'end', =>
          expect(fullData).to.be.eql @dummy.toString()
          done()

      it 'fails to read non success response', (done) ->

  before ->
    @file  = './test/fixtures/dummy.html'
    @dummy = fs.readFileSync @file

    pattern    = /<body[^>]*>((.|[\n\r])*)<\/body>/im
    matches    = pattern.exec @dummy.toString()
    @dummyBody = matches[1]

  beforeEach ->
    @reader = new Reader()
