Skip to content

Instantly share code, notes, and snippets.

@pdtaylor
Created January 27, 2015 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdtaylor/e6e564ebdd6346117e70 to your computer and use it in GitHub Desktop.
Save pdtaylor/e6e564ebdd6346117e70 to your computer and use it in GitHub Desktop.
Example 5 Test
describe("The getAnimalCallBackFn function", function(){
it("should set Animal name property"){
window.myLib.initialize();
window.myLib.selector.getAnimal ();
window.myLib.selector.getAnimalCallBackFn("dog");
expect(window.myLib.selector.name).toBe("dog");
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment