Clear memoized value during request specs
There might be times when your @current_user
instance variable gets re-used between multiple requests in your rspecs. This might result in strange test behaviours resulting in test failings. Just clear the cache completely.
Rails.cache.clear