thoughtbot/fake_braintree — comment on commit 8cf7d9cf9d635817233644d4dd22643cf210029d
File: lib/fake_braintree/subscription.rb line 69
By gabebw:

Well, sometimes it's a string like `" \n"` (which means "empty" to Braintree, I guess), so I'm testing that it's a real Hash and not Braintree's sad excuse for `{}`. Could definitely be wrapped in a method like `is_empty_hash_from_braintree?`.