Skip to content

Commit 5169452

Browse files
committed
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

Lines changed: 2 additions & 2 deletions
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)