       nock.cleanAll()
 
     it 'should reply to User with the URL posted in Slack chat', ->
-      co =>
+      co ->
         yield room.user.say 'testUser', 'http://testURL.com'
         yield new Promise.delay(1000)  # required to prevent the code from
                                        # racing ahead of the code that

    it 'should match when using http and no www prefix', ->
      urlRepresentation = 'https://example.com'

      room.user.say('user1', "#{urlRepresentation}").then =>
        expect(room.messages).to.eql [
          [ 'user1', "#{urlRepresentation}" ]
          [ 'hubot', "Meow, Uploading: #{urlRepresentation}" ]

    it 'should match when using https', ->
      urlRepresentation = 'https://www.example.com'

      room.user.say('user1', "#{urlRepresentation}").then ->
        expect(room.messages).to.eql [
          [ 'user1', "#{urlRepresentation}" ]
          [ 'hubot', "Meow, Uploading: #{urlRepresentation}" ]
