MDL-48373 behat, questions: convert tests to use the new steps
authorTim Hunt <T.J.Hunt@open.ac.uk>
Mon, 1 Dec 2014 20:00:51 +0000 (20:00 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 5 Dec 2014 12:22:27 +0000 (12:22 +0000)
commitdf44db5baaed2ab710a80b3c5963dd14bc6a7ac1
treeb8ad91c79f663601ea69899b03bfc9c75417f316
parent0db16e082f202f10ee91aafe57035cb9d8e4d4a2
MDL-48373 behat, questions: convert tests to use the new steps

The new steps make it more efficient to create questions.

While making the changes, I took the opportunity to alter the tests to
follow Behat best practices, and only test one thing per scenario.
question/engine/tests/helpers.php
question/tests/behat/copy_questions.feature
question/tests/behat/delete_questions.feature
question/tests/behat/edit_questions.feature
question/tests/behat/preview_question.feature
question/tests/behat/question_categories.feature
question/tests/behat/sort_questions.feature