{"action":"closed","issue":{"url":"https://api.github.com/repos/jakerella/jquery-mockjax/issues/256","labels_url":"https://api.github.com/repos/jakerella/jquery-mockjax/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/jakerella/jquery-mockjax/issues/256/comments","events_url":"https://api.github.com/repos/jakerella/jquery-mockjax/issues/256/events","html_url":"https://github.com/jakerella/jquery-mockjax/issues/256","id":85618984,"number":256,"title":"Using mockjax with proxy  can be cache by the previus file?","user":{"login":"vmariano","id":796960,"avatar_url":"https://avatars.githubusercontent.com/u/796960?v=3","gravatar_id":"","url":"https://api.github.com/users/vmariano","html_url":"https://github.com/vmariano","followers_url":"https://api.github.com/users/vmariano/followers","following_url":"https://api.github.com/users/vmariano/following{/other_user}","gists_url":"https://api.github.com/users/vmariano/gists{/gist_id}","starred_url":"https://api.github.com/users/vmariano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmariano/subscriptions","organizations_url":"https://api.github.com/users/vmariano/orgs","repos_url":"https://api.github.com/users/vmariano/repos","events_url":"https://api.github.com/users/vmariano/events{/privacy}","received_events_url":"https://api.github.com/users/vmariano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jakerella/jquery-mockjax/labels/quesion","name":"quesion","color":"e1e1e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T19:49:46Z","updated_at":"2015-06-11T14:15:04Z","closed_at":"2015-06-11T14:15:04Z","body":"Hi. I'm using  mockjax with `jasmine` and I  saved the server responses in several proxy files.\r\n\r\nMy problem is , when i run the next test, aparently, mockjax read the last file used. Could be a bug or i'm wrong with the configuration? (code below)\r\n\r\n```javascript\r\n    it(\"Return a single response.\", function(done) {\r\n\r\n        $.mockjax({\r\n            url:  urlPrefix + '/locations',\r\n            proxy:  pathToFiles + 'singleResponse.json'\r\n        });\r\n\r\n        locations.find('eze').done(function (response) {\r\n            expect(response.length).toEqual(1);\r\n            expect(response).toEqual([{payload:\"ok\"}]);\r\n            done();\r\n        });\r\n    });\r\n\r\n    it(\"Return multiple responses.\", function(done) {\r\n\r\n        $.mockjax({\r\n            url:  urlPrefix + '/locations',\r\n            proxy:  pathToFiles + 'multiResponse.json'\r\n        });\r\n\r\n        locations.find('san martin').done(function (response) {\r\n            expect(response.length).toBeGreaterThan(1);\r\n            expect(response).toEqual([{payload:\"ok\"}, {payload:\"ok\"}]);\r\n            done();\r\n        });\r\n    });\r\n```\r\n"}}