diff options
author | Yohn <john.skem9@gmail.com> | 2013-02-06 15:20:05 +0400 |
---|---|---|
committer | Yohn <john.skem9@gmail.com> | 2013-02-06 15:20:05 +0400 |
commit | 60c9ff43649be2710e2896403908194c6721661b (patch) | |
tree | 80499b02b3b625149a09087d0d9579874a1cf92f /js/tests/unit/bootstrap-tooltip.js | |
parent | beb60309d1dc312bbb69ace8c47764af783792bf (diff) |
unit tests
Diffstat (limited to 'js/tests/unit/bootstrap-tooltip.js')
-rw-r--r-- | js/tests/unit/bootstrap-tooltip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/bootstrap-tooltip.js b/js/tests/unit/bootstrap-tooltip.js index 97571d243e..5b37b4e687 100644 --- a/js/tests/unit/bootstrap-tooltip.js +++ b/js/tests/unit/bootstrap-tooltip.js @@ -22,9 +22,9 @@ $(function () { ok(!!$.fn.tooltip.defaults, 'defaults is defined') }) - test("should remove title attribute", function () { + test("should empty title attribute", function () { var tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"></a>').tooltip() - ok(!tooltip.attr('title'), 'title tag was removed') + ok(tooltip.attr('title') === '', 'title attribute was emptied') }) test("should add data attribute for referencing original title", function () { |