aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec/ngdocSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2013-03-20 16:24:23 -0700
committerMisko Hevery2013-04-02 14:05:06 -0700
commit0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413 (patch)
tree8cbc0c86024dd4f97d0aa54e0c9b7df9b0d56b86 /docs/spec/ngdocSpec.js
parent4bfb66ce0be46d3a0e9da2f80f3e1d0c2b559828 (diff)
downloadangular.js-0b6f1ce5f89f47f9302ff1e8cd8f4b92f837c413.tar.bz2
feat(ngAnimate): add support for animation
Diffstat (limited to 'docs/spec/ngdocSpec.js')
-rw-r--r--docs/spec/ngdocSpec.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js
index 48db580b..b1bbbd61 100644
--- a/docs/spec/ngdocSpec.js
+++ b/docs/spec/ngdocSpec.js
@@ -475,6 +475,22 @@ describe('ngdoc', function() {
'<div><p>I am self.</p></div>');
});
});
+
+ describe('@animations', function() {
+ it('should render @this', function() {
+ var doc = new Doc('@name a\n@animations\nenter - Add text\nleave - Remove text\n');
+ doc.ngdoc = 'filter';
+ doc.parse();
+ expect(doc.html()).toContain(
+ '<h3 id="Animations">Animations</h3>\n' +
+ '<div class="animations">' +
+ '<ul>' +
+ '<li>enter - Add text</li>' +
+ '<li>leave - Remove text</li>' +
+ '</ul>' +
+ '</div>');
+ });
+ });
});
describe('usage', function() {