aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorRay Baxter <ray.baxter@gmail.com>2011-09-04 13:11:54 -0700
committerRay Baxter <ray.baxter@gmail.com>2011-09-04 20:27:53 -0700
commitfa0ebf4c98da483beb86da4e11f2a73729e3983a (patch)
treeb7463c2df8a64b1a80313ff8e9a7f5747dfabbc7 /actionpack/test
parente865d125431424562b5e252ed151f6bae8dd5e8f (diff)
downloadrails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.tar.gz
rails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.tar.bz2
rails-fa0ebf4c98da483beb86da4e11f2a73729e3983a.zip
Tests shouldn't produce warnings
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/record_tag_helper_test.rb5
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