diff options
author | prasath <prasath@dhcppc1.(none)> | 2012-01-19 02:34:50 +0530 |
---|---|---|
committer | prasath <prasath@dhcppc1.(none)> | 2012-01-19 02:34:50 +0530 |
commit | bedb66eb04a57e4f61974639c861bdb250fe96ef (patch) | |
tree | 9d6fd10dc62ce75604f8380ec07796f05a7df5ec | |
parent | 423b2626d85f75bb5fec03909ff8963bded7c7d5 (diff) | |
download | rails-bedb66eb04a57e4f61974639c861bdb250fe96ef.tar.gz rails-bedb66eb04a57e4f61974639c861bdb250fe96ef.tar.bz2 rails-bedb66eb04a57e4f61974639c861bdb250fe96ef.zip |
Refactored class methods on address render test
-rw-r--r-- | actionpack/test/controller/addresses_render_test.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/actionpack/test/controller/addresses_render_test.rb b/actionpack/test/controller/addresses_render_test.rb index 0b5f2d7679..07f27fd362 100644 --- a/actionpack/test/controller/addresses_render_test.rb +++ b/actionpack/test/controller/addresses_render_test.rb @@ -3,16 +3,18 @@ require 'active_support/logger' require 'controller/fake_controllers' class Address - def Address.count(conditions = nil, join = nil) - nil - end + class << self + def count(conditions = nil, join = nil) + nil + end - def Address.find_all(arg1, arg2, arg3, arg4) - [] - end + def find_all(arg1, arg2, arg3, arg4) + [] + end - def self.find(*args) - [] + def find(*args) + [] + end end end |