Could we

```ruby
Tempfile.open(['testing_config', '.yaml']) { |f| f << content }
```