Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe(@"Team", ^{
- context(@"when newly created", ^{
- it(@"should have a name", ^{
- id team = [Team team];
- [[team.name should] equal:@"Black Hawks"];
- });
- it(@"should have 11 players", ^{
- id team = [Team team];
- [[[team should] have:11] players];
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement