Skip to content

Instantly share code, notes, and snippets.

@ysyun
Created April 14, 2013 08:49
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 ysyun/5381993 to your computer and use it in GitHub Desktop.
Save ysyun/5381993 to your computer and use it in GitHub Desktop.
angular module BDD test sample
describe('filter', function() {
beforeEach(module('eggheadioApp'));
describe('reverse', function() {
iit('should reverse a string', inject(function(reverseFilter){
expect(reverseFilter('ABCD')).toEqual('DCBA');
}))
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment