We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c025da commit 3c1b864Copy full SHA for 3c1b864
test/unit/test_personality_insights_v3.rb
@@ -64,7 +64,7 @@ def test_json_to_json
64
headers = {
65
"Content-Type" => "application/json"
66
}
67
- expected_response = DetailedResponse.new(status: 200, body: profile_response, headers: headers)
+ expected_response = DetailedResponse.new(status: 200, body: JSON.parse(profile_response), headers: headers)
68
stub_request(:post, "https://gateway.watsonplatform.net/personality-insights/api/v3/profile?consumption_preferences=true&raw_scores=true&version=2017-10-13")
69
.with(
70
body: personality_text,
0 commit comments