Skip to content

Instantly share code, notes, and snippets.

@ennioma
Last active July 6, 2017 21:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ennioma/3446be89973f46989e6b43a7deb84815 to your computer and use it in GitHub Desktop.
func testCreateEmptyRecord() {
let exp = self.expectation(description: "waiting for object created")
try! self.storage?.create(PFARecord.self, completion: { (storedObject) in
print("😚🤠: \(storedObject)")
exp.fulfill()
})
self.waitForExpectations(timeout: 2)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment