aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/dialog/dialog_options.js')
-rw-r--r--tests/unit/dialog/dialog_options.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js
index 5705da079..eab577c69 100644
--- a/tests/unit/dialog/dialog_options.js
+++ b/tests/unit/dialog/dialog_options.js
@@ -407,7 +407,7 @@ test("title", function() {
equals(el.dialog("option", "title"), "", "option not changed");
el.remove();
- el = $('<div title="foo"/>').dialog();
+ el = $('<div title="foo">').dialog();
equals(titleText(), "foo", "title in element attribute");
equals(el.dialog("option", "title"), "foo", "option updated from attribute");
el.remove();
@@ -417,7 +417,7 @@ test("title", function() {
equals(el.dialog("option", "title"), "foo", "opiton set from options hash");
el.remove();
- el = $('<div title="foo"/>').dialog({ title: 'bar' });
+ el = $('<div title="foo">').dialog({ title: 'bar' });
equals(titleText(), "bar", "title in init options should override title in element attribute");
equals(el.dialog("option", "title"), "bar", "opiton set from options hash");
el.remove();