We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755b687 commit 606747fCopy full SHA for 606747f
test/jbuilder_template_test.rb
@@ -159,7 +159,7 @@ class JbuilderTemplateTest < ActiveSupport::TestCase
159
end
160
161
test "object fragment caching with expiry" do
162
- travel_to "2018-05-12 11:29:00 -0400"
+ travel_to Time.iso8601("2018-05-12T11:29:00-04:00")
163
164
render <<-JBUILDER
165
json.cache! "cache-key", expires_in: 1.minute do
0 commit comments