appsignal / appsignal-ruby

🟥 AppSignal for Ruby gem
https://www.appsignal.com/ruby
MIT License
183 stars 115 forks source link

Refactor sample data sanitizer specs #1299

Closed tombruijn closed 2 months ago

tombruijn commented 2 months ago

Refactor HashSanitizer specs

Make it easier to test the cases on an individual basis. This way not all the tests break if I want to change one thing about them.

Rename HashSanitizer to SampleDataSanitizer

It doesn't just sanitize Hashes, but also Arrays (as the root object).

[skip changeset] [skip review]