Created
September 6, 2012 04:15
-
-
Save brian428/3651144 to your computer and use it in GitHub Desktop.
Spec that tests basic view and view controller creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "During a successful startup...", -> | |
it "has created the main tab panel view and view controller", -> | |
expect( view ).toBeDefined() | |
expect( view.rendered ).toBeTruthy() | |
expect( view instanceof JasmineExample.view.MainTabPanel ).toBeTruthy() | |
expect( viewController ).toBeDefined() | |
expect( viewController instanceof JasmineExample.controller.MainController ).toBeTruthy() | |
expect( viewController.getView() is view ).toBeTruthy() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment