Updating Spec#getFullName spec to work in IE 8

Forgot that the pretty printer is not functional in IE 8, which
subsequently brings down toHaveBeenCalledWith
This commit is contained in:
Sheel Choksi
2013-11-04 21:59:02 -08:00
parent 952eb59707
commit 1b6725ec25

View File

@@ -215,7 +215,7 @@ describe("Spec", function() {
});
expect(spec.getFullName()).toBe('expected val');
expect(specNameSpy).toHaveBeenCalledWith(spec);
expect(specNameSpy.calls.mostRecent().args[0].id).toEqual(spec.id);
});
describe("when a spec is marked pending during execution", function() {