Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/caching_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,6 @@ def test_explicit_html_format_is_used_for_fragment_path
assert fragment_exist?("hostname.com/action_caching_test/accept.html")

get :accept, format: "html"
cached_time = content_to_cache
assert_cached cached_time

get :expire_accept, format: "html"
Expand Down Expand Up @@ -866,6 +865,7 @@ def get_json(*args)

def assert_cached(cache_time, media_type = "text/html")
assert_response :success
assert_not_nil cache_time
assert_equal cache_time, @response.body

if @response.respond_to?(:media_type)
Expand Down