                 expect(view.value).toNot(equal(email))
             }
         }
-
 
 
         describe("user input") {

        }
    }
    
}



        describe("init") {

            it("should have a presenter object") {
                expect(presenter).toNot(beNil())
            }

            it("should have an entperise domain view") {
                expect(view).toNot(beNil())
            }

            it("should have primary button when more than one domain") {
                expect(view.primaryButton).toNot(beNil())
            }

            it("should not have auth button") {
                expect(view.authButton).to(beNil())
            }

            context("single enterprise connection") {

                beforeEach {
                    connections = OfflineConnections()
                    connections.enterprise(name: "TestAD", domains: ["test.com"], style: AuthStyle(name: "ad"))

                    interactor = EnterpriseDomainInteractor(connections: connections.enterprise, authentication: oauth2)
                    presenter = EnterpriseDomainPresenter(interactor: interactor, navigator: navigator, user: user, options: options)
                    presenter.messagePresenter = messagePresenter
                    view = presenter.view as! EnterpriseDomainView
                }

                it("should not have primary button") {
                    expect(view.primaryButton).to(beNil())
                }

                it("should have auth button") {
                    expect(view.authButton).toNot(beNil())
                }

            }

        }
