                         }
                     }
                     context("when false") {
+                        it("should hide the navigationBar") {
+                            subject.canGoBack = false
+                            subject.layoutIfNeeded()
+                            expect(subject.navigationBar.frame.height) <= 0
+                        }
                         it("should position the avatarButton and buttonContainer") {
                             subject.canGoBack = true
                             subject.layoutIfNeeded()

                xcontext("func keyboardWillHide()") {
                }
                context("func startEditing()") {
                    it("should set the currentTextPath if the first region is text") {
                        subject.currentTextPath = nil
                        subject.regions = [.Text("")]
                        subject.startEditing()
                        expect(subject.currentTextPath?.row) == 0
                    }
                    it("should not set the currentTextPath if the first region is an image") {
                        subject.currentTextPath = nil
                        subject.regions = [.Image(UIImage(), nil, nil)]
                        subject.startEditing()
                        expect(subject.currentTextPath?.row).to(beNil())
                    }
                    it("should not set the currentTextPath if the first region is an image") {
                        subject.currentTextPath = nil
                        subject.regions = [.Error(NSURL(string: "http://foo.com")!)]
                        subject.startEditing()
                        expect(subject.currentTextPath?.row).to(beNil())
                    }
                }
                context("func startEditingAtPath()") {

                    }
                }
                context("var canGoBack: Bool") {
                    context("when true") {
                        it("should show the navigationBar") {
                            subject.canGoBack = true
                            subject.layoutIfNeeded()
                            expect(subject.navigationBar.frame.height) > 0
                        }
                        it("should position the avatarButton and buttonContainer") {
                            subject.canGoBack = false
                            subject.layoutIfNeeded()
