From 9627c4b50e1f8964fc59b0c2fd4914bd67514041 Mon Sep 17 00:00:00 2001
From: Alkis Evlogimenos
Date: Fri, 17 Sep 2010 19:44:23 +0200
Subject: Add ng:src and ng:href markup.
---
test/markupSpec.js | 14 ++++++++++++++
1 file changed, 14 insertions(+)
(limited to 'test/markupSpec.js')
diff --git a/test/markupSpec.js b/test/markupSpec.js
index 5fe5bba9..1dd6f939 100644
--- a/test/markupSpec.js
+++ b/test/markupSpec.js
@@ -47,6 +47,20 @@ describe("markups", function(){
expect(sortedHtml(element).replace(' selected="true"', '')).toEqual('');
});
+ it('should bind href', function() {
+ compile('');
+ expect(sortedHtml(element)).toEqual('');
+ });
+
+ it('should bind src', function() {
+ compile('
');
+ expect(sortedHtml(element)).toEqual('
');
+ });
+
+ it('should bind href and merge with other attrs', function() {
+ compile('');
+ expect(sortedHtml(element)).toEqual('');
+ });
});
--
cgit v1.2.3