Created
September 8, 2014 13:05
-
-
Save validkeys/d8667a1b204fd9c7ddf1 to your computer and use it in GitHub Desktop.
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
| test 'I should be able to accept as MVP', -> | |
| expect 2 | |
| login() | |
| andThen(-> | |
| visit(baseUrl).then(-> | |
| App.__container__.lookup("store:main").find('userStory', 2) | |
| ).then((story) -> | |
| model = story | |
| equal(model.get('mvp'), false, "The user story is non mvp") | |
| # ).then(-> | |
| nonmvp = $(find('.spec-user-stories .spec-user-story')[1]) | |
| click(nonmvp.find('.spec-accept-mvp')) | |
| ).then(-> | |
| equal(model.get('mvp'), true, "It is now MVP") | |
| ) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment