Silence deprecation warning for rspec any_instance