aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/prototype_helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template/prototype_helper_test.rb')
-rw-r--r--actionpack/test/template/prototype_helper_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb
index 61cda1158d..253a8bac1c 100644
--- a/actionpack/test/template/prototype_helper_test.rb
+++ b/actionpack/test/template/prototype_helper_test.rb
@@ -380,4 +380,9 @@ return array.reverse();
});
EOS
end
+
+ def test_class_proxy
+ @generator.form.focus('my_field')
+ assert_equal "Form.focus(\"my_field\");", @generator.to_s
+ end
end \ No newline at end of file