aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-04-17 23:06:26 +0530
committerVipul A M <vipulnsward@gmail.com>2016-04-17 23:12:04 +0530
commit3a24247b95e21e093ab706e394de392220cc4929 (patch)
tree693919bb04b1dc184283ce3b554b645b3b9185f5 /actionpack/test/fixtures
parent3b0a627a94cca3a77568703e2053805b5a7ff807 (diff)
downloadrails-3a24247b95e21e093ab706e394de392220cc4929.tar.gz
rails-3a24247b95e21e093ab706e394de392220cc4929.tar.bz2
rails-3a24247b95e21e093ab706e394de392220cc4929.zip
Properly verify that cache accepts and user `expires` value.
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb b/actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb
index 01453323ef..951c761995 100644
--- a/actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb
+++ b/actionpack/test/fixtures/functional_caching/fragment_cached_with_options.html.erb
@@ -1,3 +1,3 @@
<body>
-<%= cache 'with_options', skip_digest: true, expires_in: 1.minute do %><p>ERB</p><% end %>
+<%= cache 'with_options', skip_digest: true, expires_in: 10 do %><p>ERB</p><% end %>
</body>