[Rt-commit] rt branch, master, updated. rt-4.0.1-245-gd9cfcad
Alex Vandiver
alexmv at bestpractical.com
Wed Aug 3 22:02:51 EDT 2011
The branch, master has been updated
via d9cfcad78b5c563d72ba92e5d6746d22d4c5274b (commit)
from 37dd14720f964c7a5d0c4e0a8abf43bdb6ac4f32 (commit)
Summary of changes:
t/web/user_update.t | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit d9cfcad78b5c563d72ba92e5d6746d22d4c5274b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Aug 3 21:49:38 2011 -0400
Update tests for the "Language changed" message being in the new language
diff --git a/t/web/user_update.t b/t/web/user_update.t
index dc908fc..abf8af4 100644
--- a/t/web/user_update.t
+++ b/t/web/user_update.t
@@ -12,7 +12,7 @@ $m->form_with_fields('Lang');
$m->field(Lang => 'ja');
$m->submit;
-$m->text_contains("Lang changed from (no value) to 'ja'");
+$m->text_contains("Langã¯ã(å¤ãªã)ãããã'ja'ãã«å¤æ´ããã¾ãã");
# we only changed one field, and it wasn't the default, so this feedback is
# spurious and annoying
@@ -23,9 +23,7 @@ $m->form_with_fields('Lang');
$m->field(Lang => 'en_us');
$m->submit;
-# This message shows up in Japanese
-# $m->text_contains("Lang changed from 'ja' to 'en_us'");
-$m->text_contains("Langã¯ã'ja'ãããã'en_us'ãã«å¤æ´ããã¾ãã");
+$m->text_contains("Lang changed from 'ja' to 'en_us'");
# another spurious update
$m->content_lacks("That is already the current value");
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list