google-code-export / activeweb

Automatically exported from code.google.com/p/activeweb
0 stars 0 forks source link

Generate warning in test in case developer tries to get generated content, but controller sent a redirect #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
sometimes a controller sends a redirect based on its logic, but tests 
use method: 

responceContent()

In this case, the responseContent() needs to throw exception with message: 

"Empty content, controller sent a redirect"

Original issue reported on code.google.com by ipolevoy@gmail.com on 13 Jun 2012 at 4:48