diff options
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/caching_test.rb | 4 |
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') |