We now already know that integration tests test the import workflows and user journeys in an application. The Ember.js framework is well tested; reviewing these tests can help a great deal in learning how to write tests for your application. Many features such as bindings and observers are already tested, so you will be writing more integration tests than unit tests. The integration tests in the chapter sample cover virtually all user interactions in the application. We will first go through all consumer-related cases, the first of which ascertains that users can see the available meals on the first page:
This example shows the use of the synchronous
find helper, which returned ...