Created
January 22, 2010 21:45
-
-
Save muncman/284159 to your computer and use it in GitHub Desktop.
Just a sample from my first UISpec experiment. Have to look more into before & beforeAll, retain count, etc.
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)itShouldUpdateTheOutputFromTheInput { | |
UIQuery *app = [UIQuery withApplication]; | |
UILabel *outputLabel = [self.app.label text:@"Update Me"]; | |
[app.textField setText:@"testing 1-2-3"]; | |
[app.button touch]; | |
[outputLabel.should.have text:@"testing 1-2-3"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment