Created
December 4, 2013 14:10
-
-
Save imsickofmaps/7787988 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
| it.only("Choosing more again option on crop should show more again", function (done) { | |
| var p = tester.check_state({ | |
| user: { | |
| current_state: "registration_crop", | |
| answers: { | |
| registration_start: "registration_name_first", | |
| registration_name_first: "Bob", | |
| registration_name_last: "Marley", | |
| registration_gender: "M", | |
| registration_town: "town one", | |
| registration_district: "one" | |
| }, | |
| pages: { | |
| registration_crop: 9 | |
| } | |
| }, | |
| content: "9", | |
| next_state: "registration_crop", | |
| response: "^What crops do you grow\\?[^]" + | |
| "1. Pumpkin Leaves[^]" + | |
| "2. Rape[^]" + | |
| "3. Rice[^]" + | |
| "4. Soybean[^]" + | |
| "5. Sugar Cane[^]" + | |
| "6. Sunflowers[^]" + | |
| "7. Tobacco[^]" + | |
| "8. Tomato[^]" + | |
| "9. More[^]" + | |
| "10. Back$" | |
| }); | |
| p.then(done, done); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment