I have a test class for integration testing some operations in my
application. Im simply trying to test whether a user with role of
'user' can access a specific page in the application which is mapped
in the database. I can successfully do this if I manually login to the
application locally and step thru the process. However I get what
seems to be bizarre errors when running the integration test.
The errors for every method in this test class return either a 500
error or an error about expecting index but rendering with
I have verified that the test database is in use and the fixtures are
loaded. I have also verified that the server is running in test mode.
Below is the integration test method and the stack trace for one test
case for simplicity.
Any help would be appreciated!