                 jql: 'aJQLstring'
                 startAt: 0
                 maxResults: 50
-                fields: fields
+                fields: ["summary", "status", "assignee", "description"]
+                expand: ["schema", "names"]
             auth:
               user: 'test'
               pass: 'test'

        expect(@cb).toHaveBeenCalledWith null, '{"body":"none"}'

    it "Passes a search query to Jira, default options", ->
        fields = ["summary", "status", "assignee", "description"]
        options =
            rejectUnauthorized: true
            uri: makeUrl "search"

                startAt: 200
                maxResults: 100
                fields: fields
                expand: ["schema", "names"]
            auth:
              user: 'test'
              pass: 'test'
