Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Jan 8, 2014
1 parent c417ecb commit 86001f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Able to use with any testing framework, including XCTest, SenTestingKit, expecta

- (void)testAPIEndpoint {
__block NSDictionary *JSON = nil;
__block TRVSMonitor *monitor = [TRVSMonitor monitor];
TRVSMonitor *monitor = [TRVSMonitor monitor];

[[self.URLSession dataTaskWithRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://127.0.0.1:8000"]] completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
JSON = [NSJSONSerialization JSONObjectWithData:data options:0 error:NULL];
Expand All @@ -37,7 +37,7 @@ Able to use with any testing framework, including XCTest, SenTestingKit, expecta

- (void)testAPIEndpoints {
__block NSDictionary *personJSON, *twitterJSON;
__block TRVSMonitor *monitor = [[TRVSMonitor alloc] initWithExpectedSignalCount:2];
TRVSMonitor *monitor = [[TRVSMonitor alloc] initWithExpectedSignalCount:2];

NSURL *baseURL = [NSURL URLWithString:@"http://127.0.0.1:8000"];
[[self.URLSession dataTaskWithRequest:[NSURLRequest requestWithURL:baseURL] completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
Expand Down

0 comments on commit 86001f4

Please sign in to comment.