From bab8966064902264768016b54e8e2a8bed3b68ba Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 8 Jun 2007 01:30:47 +0000 Subject: Test periodically_call_remote with frequency. Closes #7244 [Rich Collins] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/prototype_helper_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'actionpack') diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index c08bf9c85e..7e60e0750a 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -81,6 +81,13 @@ class PrototypeHelperTest < Test::Unit::TestCase periodically_call_remote(:update => "schremser_bier", :url => { :action => "mehr_bier" }) end + def test_periodically_call_remote_with_frequency + assert_dom_equal( + "", + periodically_call_remote(:frequency => 2) + ) + end + def test_form_remote_tag assert_dom_equal %(
), form_remote_tag(:update => "glass_of_beer", :url => { :action => :fast }) -- cgit v1.2.3