Replace use of assigns in test
Replace use of assigns in test

`assigns` was removed from Rails and using `instance_variable_get` is
the new correct way to assign an instance variable in tests.

rails/actionpack-action_caching