Jay Graves

Fix the userAgent test case.

#309
@@ -400,7 +400,7 @@ @@ -400,7 +400,7 @@
400 400
401 // Test again using userAgent 401 // Test again using userAgent
402 request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/user-agent"]]; 402 request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/user-agent"]];
403 - [request setUserAgent:customUserAgent]; 403 + [request setUserAgentString:customUserAgent];
404 [request startSynchronous]; 404 [request startSynchronous];
405 success = [[request responseString] isEqualToString:customUserAgent]; 405 success = [[request responseString] isEqualToString:customUserAgent];
406 GHAssertTrue(success,@"Failed to set the correct user-agent for a single request"); 406 GHAssertTrue(success,@"Failed to set the correct user-agent for a single request");