aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-09-05 13:41:25 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-09-05 13:41:25 +0530
commit24ee573d6ce8bb11f7eb62224feca5a87fdd2a69 (patch)
tree467c732f91d0e588be493d603b52a06e64104bdc /actionpack/test/template
parent499ad11700dbfdfe6382f72fb8f46cad62ac7c9b (diff)
downloadrails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.tar.gz
rails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.tar.bz2
rails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.zip
add blanks between methods
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/record_tag_helper_test.rb3
1 files changed, 3 insertions, 0 deletions
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