Hello,
On chapter 10, Test Your Live Views, there is an error in the code eplanation under section Unit Test Test Survey Results State on page 289.
In the code provided, the use
statement is displayed as the following:
use PentoWeb.ConnCase
But in the explanation below it says DataCase
not ConnCase
:
Note the use Pento.DataCase line. This pulls in the Pento.DataCase behaviour which provides access to the ExUnit testing functions and provides our test with a
connection to the application’s test database.