Skip to content

Instantly share code, notes, and snippets.

@lewiscowper
Created July 6, 2015 22:25
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 lewiscowper/117220f07fe735252085 to your computer and use it in GitHub Desktop.
Save lewiscowper/117220f07fe735252085 to your computer and use it in GitHub Desktop.
describe('the foo variable', function () {
it('should be defined', function () {
expect(_scope.foo).toBeDefined();
});
it('should be set correctly', function () {
expect(_scope.foo).toEqual(3);
});
});
describe('the baz variable', function () {
it('should be defined', function () {
expect(_scope.baz).toBeDefined();
});
it('should be set correctly', function () {
expect(_scope.baz).toBe(true);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment