Skip to content

Commit

Permalink
fixing nhibernate#105 - only public nested classes automapped by default
Browse files Browse the repository at this point in the history
  • Loading branch information
chester89 committed Sep 6, 2012
1 parent 57a4579 commit b2b1e48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public class when_the_automapper_is_told_to_map_an_entity_with_a_nested_entity
It should_map_the_entity = () =>
mappings.ShouldContain(x => x.Type == typeof(Order));

It should_not_automap_the_nested_entity_per_default = () =>
mappings.ShouldNotContain(x => x.Type == typeof(Order.OrderLine));
It should_automap_the_nested_entity_per_default = () =>
mappings.ShouldContain(x => x.Type == typeof(Order.OrderLine));

static AutoPersistenceModel mapper;
static IEnumerable<ClassMapping> mappings;
Expand Down

0 comments on commit b2b1e48

Please sign in to comment.