diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-18 00:36:14 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-18 00:36:14 +0000 |
commit | 1ac7cd56fe4b49f0d30c96b2ec68abde8b05ee18 (patch) | |
tree | 9efe8a7754037e0782c8872f04f3703c6aa10f4f /actionpack/test | |
parent | ebee0a742d40f87bb9b78d5d88393c341761cfad (diff) | |
download | rails-1ac7cd56fe4b49f0d30c96b2ec68abde8b05ee18.tar.gz rails-1ac7cd56fe4b49f0d30c96b2ec68abde8b05ee18.tar.bz2 rails-1ac7cd56fe4b49f0d30c96b2ec68abde8b05ee18.zip |
Clean up the simply_helpful merge.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 4 | ||||
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 2 |
2 files changed, 3 insertions, 3 deletions
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 |