albinoJimy / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
0 stars 0 forks source link

Tests don't pass when creating an entity #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the template to create an entity 
2. Create the appropriate table

Tests like CanCreateEntity contain logic like:
RedirectToRouteResult redirectResult = controller.Create(entityFromForm)
                .AssertActionRedirect().ToAction("Index");

but the controller simply returns View(viewModel) so this test fails.

Original issue reported on code.google.com by gmauer@gmail.com on 13 Sep 2009 at 12:24

GoogleCodeExporter commented 9 years ago
Could you please include the entity details that you included in the CRUD 
generation 
file for me to try to reproduce locally?

Original comment by wmccaffe...@gmail.com on 30 Sep 2009 at 9:26

GoogleCodeExporter commented 9 years ago
Please reopen this issue if you're still having trouble with this.  And please
include the entity details that you included in the CRUD generation file for me 
to
try to reproduce locally.

Original comment by wmccaffe...@gmail.com on 9 Oct 2009 at 7:58