aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-28 20:56:15 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-28 20:56:15 -0300
commit50a96446bce10232bc70a7f4ef1c2d5f2018914e (patch)
tree3ecb71af43ef8785a0d24879f22dd4dd672f75b8 /activesupport
parente82cecae351a514c87a05eeeabf55f6bdfb0f280 (diff)
downloadrails-50a96446bce10232bc70a7f4ef1c2d5f2018914e.tar.gz
rails-50a96446bce10232bc70a7f4ef1c2d5f2018914e.tar.bz2
rails-50a96446bce10232bc70a7f4ef1c2d5f2018914e.zip
Use Ruby 1.8 hash syntax
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/caching_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb
index 243648d7f6..61bf808bbf 100644
--- a/activesupport/test/caching_test.rb
+++ b/activesupport/test/caching_test.rb
@@ -611,9 +611,9 @@ class FileStoreTest < ActiveSupport::TestCase
def test_cleanup_removes_all_expired_entries
time = Time.now
- @cache.write('foo', 'bar', expires_in: 10)
+ @cache.write('foo', 'bar', :expires_in => 10)
@cache.write('baz', 'qux')
- @cache.write('quux', 'corge', expires_in: 20)
+ @cache.write('quux', 'corge', :expires_in => 20)
Time.stubs(:now).returns(time + 15)
@cache.cleanup
assert !@cache.exist?('foo')