From 24ee573d6ce8bb11f7eb62224feca5a87fdd2a69 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Mon, 5 Sep 2011 13:41:25 +0530 Subject: add blanks between methods --- actionpack/test/template/record_tag_helper_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/record_tag_helper_test.rb b/actionpack/test/template/record_tag_helper_test.rb index 81a1642ed8..7d38b01c1b 100644 --- a/actionpack/test/template/record_tag_helper_test.rb +++ b/actionpack/test/template/record_tag_helper_test.rb @@ -5,14 +5,17 @@ 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 + def body super || @body || "What a wonderful world!" end -- cgit v1.2.3