diff options
| author | Jacob Thornton <[email protected]> | 2012-05-31 10:24:23 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-05-31 10:24:23 -0700 |
| commit | 4eaeea81fd909e6711f57049fc4372f4045fa5aa (patch) | |
| tree | d18bee94b6a27f090cde398f57611fb0e3ca6fc9 /js | |
| parent | bcd5097c0267a8285c2b60fd3b751cd3ae78ad7a (diff) | |
| download | bootstrap-4eaeea81fd909e6711f57049fc4372f4045fa5aa.tar.xz bootstrap-4eaeea81fd909e6711f57049fc4372f4045fa5aa.zip | |
rebuild and fix test
Diffstat (limited to 'js')
| -rw-r--r-- | js/tests/unit/bootstrap-tooltip.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tests/unit/bootstrap-tooltip.js b/js/tests/unit/bootstrap-tooltip.js index 63a42b0d4..7b0c10de0 100644 --- a/js/tests/unit/bootstrap-tooltip.js +++ b/js/tests/unit/bootstrap-tooltip.js @@ -116,16 +116,16 @@ $(function () { test("should show tooltip if leave event hasn't occured before delay expires", function () { var tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"></a>') .appendTo('#qunit-fixture') - .tooltip({ delay: 200 }) + .tooltip({ delay: 150 }) stop() tooltip.trigger('mouseenter') setTimeout(function () { ok(!$(".tooltip").is('.fade.in'), 'tooltip is not faded in') - setTimeout(function () { - ok(!$(".tooltip").is('.fade.in'), 'tooltip has faded in') - start() - }, 200) }, 100) + setTimeout(function () { + ok($(".tooltip").is('.fade.in'), 'tooltip has faded in') + start() + }, 200) }) test("should detect if title string is html or text: foo", function () { |
