 
 
 class PostbarControllerSpec: QuickSpec {
+    class ReplyAllCreatePostDelegate: CreatePostDelegate {
+        var post: Post?
+        var comment: Comment?
+        var text: String?
+
+        func createPost(text text: String?, fromController: UIViewController) {
+            self.text = text
+        }
+        func createComment(post: Post, text: String?, fromController: UIViewController) {
+            self.post = post
+            self.text = text
+        }
+        func editComment(comment: ElloComment, fromController: UIViewController) {
+            self.comment = comment
+        }
+        func editPost(post: Post, fromController: UIViewController) {
+            self.post = post
+        }
+    }
 
     override func spec() {
         var subject: PostbarController!

                    imageSizeCalculator: imageSizeCalculator
            )
            controller.collectionView.dataSource = controller.dataSource

            showController(controller)
            controller.streamKind = streamKind

            subject = PostbarController(collectionView: controller.collectionView, dataSource: controller.dataSource, presentingController: controller)
            subject.currentUser = currentUser
        }

        describe("PostbarController") {

            describe("loveButtonTapped(_:)") {


        let imageSizeCalculator = StreamImageCellSizeCalculator()

        beforeEach {
            controller = StreamViewController.instantiateFromStoryboard()
            controller.dataSource =
                StreamDataSource(streamKind: streamKind,
                    textSizeCalculator: textSizeCalculator,
