summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-04-30 21:51:35 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2012-04-30 21:51:35 -0700
commitbd7712385a86bf4df9c35733c5ae2bb48277590f (patch)
tree7ebde89ea41f658065a80c57c7d0f5a4e08bfe26 /modules/simpletest
parentf6c660169c90c755bf0868c8e65d45c6113aa164 (diff)
downloadbrdo-bd7712385a86bf4df9c35733c5ae2bb48277590f.tar.gz
brdo-bd7712385a86bf4df9c35733c5ae2bb48277590f.tar.bz2
Issue #1540072 by mstrelan, xjm: Use American spelling for 'behavior'.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/form.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test
index df8d3f27f..2f5a9cd14 100644
--- a/modules/simpletest/tests/form.test
+++ b/modules/simpletest/tests/form.test
@@ -666,12 +666,12 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase {
$this->assertTrue(isset($elements[0]), t("Label 0 found radios."));
// Exercise various defaults for checkboxes and modifications to ensure
- // appropriate override and correct behaviour.
+ // appropriate override and correct behavior.
$elements = $this->xpath('//input[@id="edit-form-checkbox-test"]/following-sibling::label[@for="edit-form-checkbox-test" and @class="option"]');
$this->assertTrue(isset($elements[0]), t("Label follows field and label option class correct for a checkbox by default."));
// Exercise various defaults for textboxes and modifications to ensure
- // appropriate override and correct behaviour.
+ // appropriate override and correct behavior.
$elements = $this->xpath('//label[@for="edit-form-textfield-test-title-and-required"]/child::span[@class="form-required"]/parent::*/following-sibling::input[@id="edit-form-textfield-test-title-and-required"]');
$this->assertTrue(isset($elements[0]), t("Label precedes textfield, with required marker inside label."));