     }
     
     func testDeletePost() throws {
-        let attachment = Attachment(contents: ["en":"contents"], name: "userPost", type: .Text)
-        let post = Post(visibility: .Connections, attachments: [attachment])
         let networkPost = try tapglue.createPost(post).toBlocking().first()!
 
         var wasDeleted = false


        expect(wasDeleted).toEventually(beTrue())
    }
    
}

        do {
            user = try tapglue.createUser(user).toBlocking().first()!
            user = try tapglue.loginUser(username, password: password).toBlocking().first()!

            post = Post(visibility: .Connections, attachments: [attachment])
        } catch {
            fail("failed to create and login user for integration tests")
        }
