     let password = "PostTestPassword"
     let tapglue = RxTapglue(configuration: Configuration())
     var user = User()
+
+    let attachment = Attachment(contents: ["en":"contents"], name: "userPost", type: .Text)
+    var post: Post!
     
     override func setUp() {
         super.setUp()


        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")
        }
