Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-28 12:03:26 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-28 12:03:26 +0400
commit3451dcbc2816e86fc649d30bd9d6813ef5466b58 (patch)
tree633fb68fae89d2c0f968c2e24f071b5d1fe853e4 /js
parent08fea7587c536b7daa2c976cdb50144379ae2a62 (diff)
fix failing typeahead tests
Diffstat (limited to 'js')
-rw-r--r--js/tests/unit/bootstrap-typeahead.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tests/unit/bootstrap-typeahead.js b/js/tests/unit/bootstrap-typeahead.js
index 10b2a3f174..455ed415b7 100644
--- a/js/tests/unit/bootstrap-typeahead.js
+++ b/js/tests/unit/bootstrap-typeahead.js
@@ -38,7 +38,7 @@ $(function () {
test("should show menu when query entered", function () {
var $input = $('<input />').typeahead({
- data: ['aa', 'ab', 'ac']
+ source: ['aa', 'ab', 'ac']
})
, typeahead = $input.data('typeahead')
@@ -55,7 +55,7 @@ $(function () {
test("should hide menu when query entered", function () {
stop()
var $input = $('<input />').typeahead({
- data: ['aa', 'ab', 'ac']
+ source: ['aa', 'ab', 'ac']
})
, typeahead = $input.data('typeahead')
@@ -78,7 +78,7 @@ $(function () {
test("should set next item when down arrow is pressed", function () {
var $input = $('<input />').typeahead({
- data: ['aa', 'ab', 'ac']
+ source: ['aa', 'ab', 'ac']
})
, typeahead = $input.data('typeahead')
@@ -111,7 +111,7 @@ $(function () {
test("should set input value to selected item", function () {
var $input = $('<input />').typeahead({
- data: ['aa', 'ab', 'ac']
+ source: ['aa', 'ab', 'ac']
})
, typeahead = $input.data('typeahead')