diff options
author | José Valim <jose.valim@gmail.com> | 2011-08-01 11:42:00 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:26 -0700 |
commit | b6b6e81a5c29d4adb3007659ca30e02444ad0c9c (patch) | |
tree | e8e2a931f597a2ff64e910d5f924219a952fe0ac /actionpack/test/template/form_helper_test.rb | |
parent | 30ef55de66decbbcf6475917c741c42fb738718b (diff) | |
download | rails-b6b6e81a5c29d4adb3007659ca30e02444ad0c9c.tar.gz rails-b6b6e81a5c29d4adb3007659ca30e02444ad0c9c.tar.bz2 rails-b6b6e81a5c29d4adb3007659ca30e02444ad0c9c.zip |
Rename new method to_path to to_partial_path to avoid conflicts with File#to_path and similar.
Diffstat (limited to 'actionpack/test/template/form_helper_test.rb')
-rw-r--r-- | actionpack/test/template/form_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/form_helper_test.rb b/actionpack/test/template/form_helper_test.rb index 71a2c46d92..f898c22e1e 100644 --- a/actionpack/test/template/form_helper_test.rb +++ b/actionpack/test/template/form_helper_test.rb @@ -1895,7 +1895,7 @@ class FormHelperTest < ActionView::TestCase path = nil form_for(@post, :builder => LabelledFormBuilder) do |f| - path = f.to_path + path = f.to_partial_path '' end |