A
A
Ant0ha2014-02-28 09:36:14
Ruby on Rails
Ant0ha, 2014-02-28 09:36:14

BDD implementation of the rails rspec requests example: how?

The algorithm of the feature is as follows:
1. The user goes to a specific page
2. Clicks "Create a request"
3. A popup appears with a request form (fancybox iframe)
4. The user may not enter all the data (or incorrect data), after which the application fields are highlighted red.
5. The user can enter the correct data, the request will be sent, the popup will close, a dynamic alert will appear on successful submission. Tell me the
algorithm for implementing such a check.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question