* Eliminate static library and framework targets * Migrate all testing infrastructure and code to Tests/ * Nest CocoaPods setup for testing under Tests/ * Remove explicit dependencies from shared schemes
24 lines
528 B
Objective-C
24 lines
528 B
Objective-C
//
|
|
// AFHTTPClientTest.m
|
|
// AFNetworking
|
|
//
|
|
// Created by Blake Watters on 5/10/13.
|
|
// Copyright (c) 2013 AFNetworking. All rights reserved.
|
|
//
|
|
|
|
#import "AFNetworkingTests.h"
|
|
|
|
@interface AFHTTPClientTest : SenTestCase
|
|
@end
|
|
|
|
@implementation AFHTTPClientTest
|
|
|
|
- (void)testThatTheDefaultStringEncodingIsUTF8
|
|
{
|
|
AFHTTPClient *client = [AFHTTPClient clientWithBaseURL:[NSURL URLWithString:AFNetworkingTestsBaseURLString]];
|
|
expect(client.stringEncoding).to.equal(NSUTF8StringEncoding);
|
|
}
|
|
|
|
// default value for header
|
|
|
|
@end
|