From 1ac7cd56fe4b49f0d30c96b2ec68abde8b05ee18 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 18 May 2007 00:36:14 +0000 Subject: Clean up the simply_helpful merge. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/form_helper_test.rb | 4 ++-- actionpack/test/template/prototype_helper_test.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 0d054e2b63..0ee8c41d1b 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -601,11 +601,11 @@ class FormHelperTest < Test::Unit::TestCase protected - def polymorphic_path(record, url_writer) + def polymorphic_path(record) if record.new_record? "/posts" else "/posts/#{record.id}" end end -end \ No newline at end of file +end diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 2be2c6f17e..6158584e9d 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -214,7 +214,7 @@ class PrototypeHelperTest < Test::Unit::TestCase "/authors" end - def polymorphic_path(record, url_writer) + def polymorphic_path(record) if record.new_record? "/authors" else -- cgit v1.2.3