Commit 2e27ff4f authored by samy's avatar samy
Browse files

rename test when webservice fail

parent 7d43c24a
...@@ -112,7 +112,7 @@ describe('client/lib/archive when status server is valide', () => { ...@@ -112,7 +112,7 @@ describe('client/lib/archive when status server is valide', () => {
expect(request[0]).toBe(undefined); expect(request[0]).toBe(undefined);
}); });
it('should not make a REST call on store when status value is invalid', () => { it('should not make a REST call on store when the webservice fail', () => {
xhr = sinon.useFakeXMLHttpRequest(); xhr = sinon.useFakeXMLHttpRequest();
xhr.onCreate = function (req) { xhr.onCreate = function (req) {
req.status = 500; req.status = 500;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment