2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

quote attribute values in selectors in JS unit tests for consistency

This commit is contained in:
Chris Rebert
2014-04-19 17:45:56 -07:00
parent a6214273b9
commit 0aaf2cdd3a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ $(function () {
test('should show tooltip with delegate selector on click', function () {
var div = $('<div><a href="#" rel="tooltip" title="Another tooltip"></a></div>')
div.appendTo('#qunit-fixture')
.tooltip({ selector: 'a[rel=tooltip]', trigger: 'click' })
.tooltip({ selector: 'a[rel="tooltip"]', trigger: 'click' })
div.find('a').trigger('click')
ok($('.tooltip').is('.fade.in'), 'tooltip is faded in')
})