         context 'with only one incident', ->
           beforeEach ->
             nock('https://api.pagerduty.com')
-            .get('/incidents?time_zone=UTC&include%5B%5D=first_trigger_log_entry&date_range=all' +
-                 '&statuses%5B%5D=triggered&statuses%5B%5D=acknowledged&limit=100&total=true')
+            .get('/incidents')
+            .query({
+              time_zone: 'UTC',
+              include: [
+                'first_trigger_log_entry'
+              ],
+              date_range: 'all',
+              statuses: [
+                'triggered',
+                'acknowledged'
+              ],
+              limit: 100,
+              total: 'true'
+            })
             .reply(200, require('./fixtures/incident_list-ok.json'))
             .put('/incidents')
             .reply(200, require('./fixtures/incident_manage-ok.json'))

        context 'with only one incident', ->
          beforeEach ->
            nock('https://api.pagerduty.com')
            .get('/incidents?time_zone=UTC&include%5B%5D=first_trigger_log_entry&date_range=all' +
                 '&statuses%5B%5D=triggered&statuses%5B%5D=acknowledged&limit=100&total=true')
            .reply(200, require('./fixtures/incident_list-ok.json'))
            .post('/incidents/PT4KHLK/snooze')
            .reply(200, require('./fixtures/incident_snooze-ok.json'))

        context 'with many incidents', ->
          beforeEach ->
            nock('https://api.pagerduty.com')
            .get('/incidents')
            .query({
              time_zone: 'UTC',
              include: [
                'first_trigger_log_entry'
              ],
              date_range: 'all',
              statuses: [
                'acknowledged'
              ],
              limit: 100,
              total: 'true'
            })
            .reply(200, require('./fixtures/incident_list_multi-ok.json'))
            .put('/incidents')
            .reply(200, require('./fixtures/incident_manage_multi-ok.json'))
