From fa0ebf4c98da483beb86da4e11f2a73729e3983a Mon Sep 17 00:00:00 2001 From: Ray Baxter Date: Sun, 4 Sep 2011 13:11:54 -0700 Subject: Tests shouldn't produce warnings --- actionpack/test/template/record_tag_helper_test.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack') 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 -- cgit v1.2.3