|
@@ -25,19 +25,6 @@
|
25
|
25
|
self.options = [[RNNNavigationOptions alloc] initEmptyOptions];
|
26
|
26
|
}
|
27
|
27
|
|
28
|
|
-- (void)testApplyOptions_shouldSetBackButtonColor_withDefaultValues {
|
29
|
|
- [[(id)_boundViewController expect] setBackButtonColor:nil];
|
30
|
|
- [self.uut applyOptions:self.options];
|
31
|
|
- [(id)_boundViewController verify];
|
32
|
|
-}
|
33
|
|
-
|
34
|
|
-- (void)testApplyOptions_shouldSetBackButtonColor_withColor {
|
35
|
|
- self.options.topBar.backButton.color = [[Color alloc] initWithValue:[UIColor redColor]];
|
36
|
|
- [[(id)_boundViewController expect] setBackButtonColor:[UIColor redColor]];
|
37
|
|
- [self.uut applyOptions:self.options];
|
38
|
|
- [(id)_boundViewController verify];
|
39
|
|
-}
|
40
|
|
-
|
41
|
28
|
- (void)testApplyOptionsBeforePoppingShouldSetTopBarBackgroundForPoppingViewController {
|
42
|
29
|
_options.topBar.background.color = [[Color alloc] initWithValue:[UIColor redColor]];
|
43
|
30
|
|