1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures/customers/_customer.html.erb
Kasper Timm Hansen 4abe29d813 Replace expectation with state check.
The tests would still pass if the cache call in the rendered templates were removed.
2015-05-30 18:57:10 +02:00

4 lines
No EOL
123 B
Text

<% cache customer do %>
<% controller.partial_rendered_times += 1 %>
<%= customer.name %>, <%= customer.id %>
<% end %>