-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathActiveManagerTest.m
39 lines (27 loc) · 997 Bytes
/
ActiveManagerTest.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// ActiveManagerTest.m
// ObjectiveRecord
//
// Created by Matthew Newberry on 8/3/10.
// Copyright 2010 Shopify. All rights reserved.
//
#import "ActiveManager.h"
#import "YAJLParsing.h"
@interface ActiveManagerTest : SenTestCase{
ActiveManager *_activeManager;
}
@end
@implementation ActiveManagerTest
- (void) setUp{
_activeManager = [ActiveManager shared];
[_activeManager setParsingClass:[YAJLParsing class]];
}
- (void) testShouldVerifybaseRemoteURL{
[_activeManager setBaseRemoteURL:@"mndcreative.com"];
//STAssertEqualObjects(_activeManager.baseRemoteURL, @"http://mndcreative.com/", @"Failed to format url");
[_activeManager setBaseRemoteURL:@"http://mndcreative.com"];
//STAssertEqualObjects(_activeManager.baseRemoteURL, @"http://mndcreative.com/", @"Failed to format url");
[_activeManager setBaseRemoteURL:@"http://mndcreative.com/"];
//STAssertEqualObjects(_activeManager.baseRemoteURL, @"http://mndcreative.com/", @"Failed to format url");
}
@end