diff options
Diffstat (limited to 'actionpack')
-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 |