Created
August 27, 2013 06:50
-
-
Save HHuckebein/6350389 to your computer and use it in GitHub Desktop.
Test if a manually triggered segue is connected. The convention for segue names are always follows the pattern view controller class name appended by the string "Segue".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)test_ExamplesVCSegueConnected | |
{ | |
STAssertNoThrow([self.sut performSegueWithIdentifier:[[self appDelegate] segueIdentifierForClass:[ExamplesVC class]] sender:self], @"ExamplesVC should be connected"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment