Skip to content

Commit

Permalink
added a dummy test to prove kiwi-bdd#172 works on real interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Marin Usalj committed Nov 29, 2012
1 parent 8f31d19 commit fca9ab9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/KWRealObjectStubTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ - (void)testItShouldStubInit {
STAssertEquals(cruiser, otherCruiser, @"expected init to be stubbed");
}

- (void)testSpyWorksOnRealInterfaces {
Cruiser *cruiser = [Cruiser mock];
[cruiser captureArgument:@selector(foo) atIndex:0];
}

@end

#endif // #if KW_TESTS_ENABLED

0 comments on commit fca9ab9

Please sign in to comment.