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:
@@ -215,7 +215,7 @@ describe("Spec", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
expect(spec.getFullName()).toBe('expected val');
|
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() {
|
describe("when a spec is marked pending during execution", function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user