Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken test case #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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