diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-05 13:41:25 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-05 13:41:25 +0530 |
commit | 24ee573d6ce8bb11f7eb62224feca5a87fdd2a69 (patch) | |
tree | 467c732f91d0e588be493d603b52a06e64104bdc /actionpack | |
parent | 499ad11700dbfdfe6382f72fb8f46cad62ac7c9b (diff) | |
download | rails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.tar.gz rails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.tar.bz2 rails-24ee573d6ce8bb11f7eb62224feca5a87fdd2a69.zip |
add blanks between methods
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/record_tag_helper_test.rb | 3 |
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 |