diff options
| author | hukl <contact@smyck.org> | 2009-04-05 13:41:37 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-05 13:41:37 +0200 |
| commit | 72a1e956d116bd5ebca528906e4b92dba5488474 (patch) | |
| tree | 3f6321c9933c30b41b157f59aa7ae7d4d39e655a /test | |
| parent | 41ee3ef53f85f0529b2dd6e44f0b4fbd0f3777a2 (diff) | |
renamed count to size for older rubys
Diffstat (limited to 'test')
| -rw-r--r-- | test/unit/page_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/page_test.rb b/test/unit/page_test.rb index 2ada6de..8c2fc95 100644 --- a/test/unit/page_test.rb +++ b/test/unit/page_test.rb | |||
| @@ -121,7 +121,7 @@ class PageTest < ActiveSupport::TestCase | |||
| 121 | page.save | 121 | page.save |
| 122 | 122 | ||
| 123 | assert_equal 3, page.globalize_translations.size | 123 | assert_equal 3, page.globalize_translations.size |
| 124 | assert_equal 0, Page.find_with_outdated_translations.count | 124 | assert_equal 0, Page.find_with_outdated_translations.size |
| 125 | 125 | ||
| 126 | english = *page.globalize_translations.select {|x| x.locale == :en} | 126 | english = *page.globalize_translations.select {|x| x.locale == :en} |
| 127 | PageTranslation.record_timestamps = false | 127 | PageTranslation.record_timestamps = false |
