autolink : 괄호를 포함하지 않는 테스트 케이스 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2009-11-09 07:09:22 +00:00
parent 8733312eb9
commit 86bf23b74e

View file

@ -56,6 +56,10 @@ describe('AutoLink functionality', {
value_of( $('#test6 a').eq(2).parent().is('b') ).should_be_true();
value_of( $('#test6 > textarea > a').length ).should_be(0);
value_of( $('#test6 > div > a').attr("target") ).should_be("_self");
},
"#test9 - don't include parenthesis" : function() {
value_of( $('#test9 a').length ).should_be(1);
value_of( $('#test9 a').attr('href') ).should_be('http://www.naver.com');
}
});
@ -93,6 +97,7 @@ describe('Autolink trigger', {
</div>
<div id="test7">http://mygony.com</div>
<div id="test8">Go to http://mygony.com</div>
<div id="test9">Naver(http://www.naver.com)</div>
</div>
</body>
</html>