             }
             
             context("when the request fails") {
-                it("returns status 404 with custom error when message resource is not found") {
+                it("returns AdapterError.notFound when message resource is not found") {
                     self.store.find(record: User.self, id: ID(9)) { user = $0; error = $1 }
                     expect(error).toEventuallyNot(beNil())
                     expect(user).toEventually(beNil())
-                    expect(error).toEventually(matchError(NetworkError.other("not found")))
+                    expect(error).toEventually(matchError(AdapterError.notFound))
                 }
             }
         }

                    expect(users).to(haveCount(3))
                }
            }
            context("when the store has no records") {
                it("returns nil") {
                    let user = self.store.peek(record: User.self, id: ID(3))

            
            context("when loading records sequencially") {
                it("push a record into the store") {
                    let user = try? self.store.push(record: User(id: 1, name: "Foo"))
                    expect(user).toNot(beNil())
                    expect(self.store.peek(all: User.self)).to(haveCount(1))
                }
                
                it("does not duplicate records with the same id") {
                    _ = try? self.store.push(record: User(id: 1, name: "Foo"))
                    _ = try? self.store.push(record: User(id: 1, name: "Bar"))
                    _ = try? self.store.push(record: User(id: 1, name: "Baz"))
                    let users = self.store.peek(all: User.self)
                    expect(users).to(haveCount(1))
                    expect(users.first?.name).to(equal("Baz"))
