diff options
author | Ray Baxter <ray.baxter@gmail.com> | 2011-09-04 13:11:54 -0700 |
---|---|---|
committer | Ray Baxter <ray.baxter@gmail.com> | 2011-09-04 20:27:53 -0700 |
commit | fa0ebf4c98da483beb86da4e11f2a73729e3983a (patch) | |
tree | b7463c2df8a64b1a80313ff8e9a7f5747dfabbc7 | |
parent | e865d125431424562b5e252ed151f6bae8dd5e8f (diff) | |
download | rails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.tar.gz rails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.tar.bz2 rails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.zip |
Tests shouldn't produce warnings
-rw-r--r-- | actionpack/test/template/record_tag_helper_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/template/record_tag_helper_test.rb b/actionpack/test/template/record_tag_helper_test.rb index edc2689896..150e44b864 100644 --- a/actionpack/test/template/record_tag_helper_test.rb +++ b/actionpack/test/template/record_tag_helper_test.rb @@ -5,6 +5,11 @@ class Post extend ActiveModel::Naming include ActiveModel::Conversion attr_writer :id, :body + def initialize + @id = nil + @body = nil + super + end def id @id || 45 end |