                     let omnibarData = OmnibarData()
                     omnibarData.regions = [text]
                     let data = NSData()
-                    if let fileName = controller.omnibarDataName() {
+                    if let fileName = subject.omnibarDataName() {
                         Tmp.write(data, to: fileName)
                     }
 
-                    controller = OmnibarViewController(parentPost: Post.stub([:]), defaultText: "@666 ")
-                    checkRegions(controller.screen.regions, contain: "@666 ")
-                    checkRegions(controller.screen.regions, notToContain: "testing!")
+                    subject = OmnibarViewController(parentPost: Post.stub([:]), defaultText: "@666 ")
+                    checkRegions(subject.screen.regions, contain: "@666 ")
+                    checkRegions(subject.screen.regions, notToContain: "testing!")
                 }
             }
 

            context("initialization") {

                beforeEach {
                    controller = OmnibarViewController()
                }

                it("can be instantiated") {
                    controller = OmnibarViewController()
                    expect(controller).notTo(beNil())
                }

                it("can be instantiated with a post") {
                    let post = Post.stub([
                        "author": User.stub(["username": "colinta"])
                        ])
                    controller = OmnibarViewController(parentPost: post)
                    expect(controller).notTo(beNil())
                }

                it("is a BaseElloViewController") {
                    expect(controller).to(beAKindOf(BaseElloViewController.self))
                }

                it("is a OmnibarViewController") {
                    expect(controller).to(beAKindOf(OmnibarViewController.self))
                }
            }

            context("setting up the Screen") {

                beforeEach {
                    controller = OmnibarViewController()
                    screen = OmnibarMockScreen()
                    controller.screen = screen
                    self.showController(controller)
                }

                it("assigns the currentUser.avatarURL to the screen") {

                    let omnibarData = OmnibarData()
                    omnibarData.regions = [text]
                    let data = NSKeyedArchiver.archivedDataWithRootObject(omnibarData)
                    if let fileName = subject.omnibarDataName() {
                        Tmp.write(data, to: fileName)
                    }

                    subject = OmnibarViewController(parentPost: post, defaultText: "@666 ")
                    checkRegions(subject.screen.regions, contain: "@666 ")
                    checkRegions(subject.screen.regions, notToContain: "testing!")
                }

                it("should not have the text if the tmp text was on another post") {
                    if let fileName = subject.omnibarDataName() {
                        Tmp.remove(fileName)
                    }

