refactor: returns empty string when body is nil in body_response_spec.rb