aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/date_helper_test.rb
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2005-12-02 00:37:33 +0000
committerMarcel Molina <marcel@vernix.org>2005-12-02 00:37:33 +0000
commit139e2c4aadfdfa7c86cc7e53618b88363ef84836 (patch)
tree607ee964e4d759a9ac0376bec65c9fb4e2d0c56b /actionpack/test/template/date_helper_test.rb
parent833d9c89fcc6125545bf16339ebf038a7889e036 (diff)
downloadrails-139e2c4aadfdfa7c86cc7e53618b88363ef84836.tar.gz
rails-139e2c4aadfdfa7c86cc7e53618b88363ef84836.tar.bz2
rails-139e2c4aadfdfa7c86cc7e53618b88363ef84836.zip
Change form_for and fields_for method signatures to take object name and object as separate arguments rather than as a Hash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template/date_helper_test.rb')
-rwxr-xr-xactionpack/test/template/date_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb
index bb6cd19013..7197a1a9c1 100755
--- a/actionpack/test/template/date_helper_test.rb
+++ b/actionpack/test/template/date_helper_test.rb
@@ -507,7 +507,7 @@ class DateHelperTest < Test::Unit::TestCase
_erbout = ''
- fields_for :post => @post do |f|
+ fields_for :post, @post do |f|
_erbout.concat f.date_select(:written_on)
end
@@ -524,7 +524,7 @@ class DateHelperTest < Test::Unit::TestCase
_erbout = ''
- fields_for :post => @post do |f|
+ fields_for :post, @post do |f|
_erbout.concat f.datetime_select(:updated_at)
end