File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Yosemite/YosemiteTests/Stores Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ final class InboxNotesStoreTests: XCTestCase {
2727 return viewStorage. countObjects ( ofType: InboxNote . self)
2828 }
2929
30+ /// Convenience Property: Returns stored inbox actions count.
31+ ///
32+ private var storedInboxActionsCount : Int {
33+ return viewStorage. countObjects ( ofType: InboxAction . self)
34+ }
35+
3036 /// Store
3137 ///
3238 private var store : InboxNotesStore !
@@ -290,8 +296,9 @@ final class InboxNotesStoreTests: XCTestCase {
290296 self . store. onAction ( action)
291297 }
292298
293- // Then no inbox notes should be stored
299+ // Then no inbox notes or actions should be stored
294300 XCTAssertEqual ( storedInboxNotesCount, 0 )
301+ XCTAssertEqual ( storedInboxActionsCount, 0 )
295302 XCTAssertFalse ( result. isSuccess)
296303 }
297304}
You can’t perform that action at this time.
0 commit comments