-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(taExecCommand.spec): Split out the taExecCommand tests into sep…
…erate files.
- Loading branch information
SimeonC
authored and
SimeonC
committed
Nov 11, 2014
1 parent
e4cacb4
commit 735c562
Showing
6 changed files
with
610 additions
and
601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
describe('taBrowserTag', function(){ | ||
'use strict'; | ||
beforeEach(module('textAngular')); | ||
|
||
it('should return p for undefined', inject(function(taBrowserTag){ | ||
expect(taBrowserTag()).toBe('p'); | ||
})); | ||
|
||
it('should return div for empty', inject(function(taBrowserTag){ | ||
expect(taBrowserTag('')).toBe('p'); // don't ask me why phantomjs thinks it's ie | ||
})); | ||
|
||
it('should return string otherwise', inject(function(taBrowserTag){ | ||
expect(taBrowserTag('b')).toBe('b'); | ||
})); | ||
}); |
Oops, something went wrong.