mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
autolink : 괄호를 포함하지 않는 테스트 케이스 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6913 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8733312eb9
commit
86bf23b74e
1 changed files with 5 additions and 0 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue