                     expect(RRC.pendingChanges()).to(beTruthy())
                 }
             }
+
         }
         describe("finishWriteTransaction()") {
             var cacheSections: [Section<Task>]!

                    expect(temporaryAdded).toEventually(equal(RRC.temporaryAdded))
                    expect(temporaryUpdated).toEventually(equal(RRC.temporaryUpdated))
                    expect(temporaryDeleted.count).toEventually(equal(RRC.temporaryDeleted.count))
                }
            }
        }

        }
        
        describe("didReceiveRealmChanges(notification:)") {
            beforeEach {
                RRC = RealmResultsController<Task, Task>(request: request, sectionKeyPath: nil) { $0 }
                RRC.backgroundQueue = dispatch_get_main_queue()
                RRC.backgroundRealm = try! Realm()
                RRC.delegate = RRCDelegate
            }
            context("If the notification has the wrong format") {
                var temporaryAdded: [Task] = []
                var temporaryDeleted: [RealmChange] = []
