summaryrefslogtreecommitdiff
path: root/tests/frontend
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2013-03-01 23:29:12 +0000
committerJohn McLear <john@mclear.co.uk>2013-03-01 23:29:12 +0000
commitcadb671ae15484d6327106058309e328bd14d5b3 (patch)
tree461a7472f9aef402de8181ed4859e91acf531061 /tests/frontend
parent3460159f68d91aa2a9c739f82e9b79f5e07caf7e (diff)
downloadetherpad-lite-cadb671ae15484d6327106058309e328bd14d5b3.zip
this approach seems to work better for change in latest jQ
Diffstat (limited to 'tests/frontend')
-rw-r--r--tests/frontend/specs/language.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/frontend/specs/language.js b/tests/frontend/specs/language.js
index e7705914..86d2d740 100644
--- a/tests/frontend/specs/language.js
+++ b/tests/frontend/specs/language.js
@@ -56,10 +56,8 @@ describe("Language select and change", function(){
//click the language button
var $language = chrome$("#languagemenu");
- var $languageoption = $language.find("[value=en]");
-
- //select german
- $languageoption.attr('selected','selected');
+ //select english
+ $language.val("en");
$language.change();
//get the value of the bold button