Skip to content

Commit 3545a3e

Browse files
committed
Merge pull request #83 from dbarden/block_on_notify_doc
Update Readme.
2 parents 2969750 + 7ed5d6b commit 3545a3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Expecta is framework-agnostic. It works well with OCUnit (SenTestingKit) and OCU
113113
>
114114
>`expect(x).to.respondTo(y);` passes if `x` responds to the selector `y`.
115115
>
116-
>`expect( /* code */ ).to.notify(@"NotificationName");` passes if a given block of code generates an NSNotification named `NotificationName`.
116+
>`expect(^{ /* code */ }).to.notify(@"NotificationName");` passes if a given block of code generates an NSNotification named `NotificationName`.
117117
>
118-
>`expect( /* code */ ).to.notify(notification);` passes if a given block of code generates an NSNotification equal to the passed `notification`.
118+
>`expect(^{ /* code */ }).to.notify(notification);` passes if a given block of code generates an NSNotification equal to the passed `notification`.
119119
>
120120
>`expect(x).to.beginWith(y);` passes if an instance of NSString, NSArray, or NSOrderedSet `x` begins with `y`. Also aliased by `startWith`
121121
>

0 commit comments

Comments
 (0)