Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5169452

Browse files
committedJul 19, 2018
Change tests to include html content
1 parent 8c6e52c commit 5169452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/caching_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def forbidden
6666
end
6767

6868
def with_layout
69-
@cache_this = MockTime.now.to_f.to_s
70-
render html: @cache_this, layout: true
69+
@cache_this = MockTime.now.to_f.to_s + "<div />"
70+
render html: @cache_this.html_safe, layout: true
7171
end
7272

7373
def with_format_and_http_param

0 commit comments

Comments
 (0)
Please sign in to comment.