Make tests match the order of the instructions for test 01
Dave Rolsky [Tue, 29 Jun 2010 21:50:28 +0000 (16:50 -0500)]
moose-class/exercises/t/lib/MooseClass/Tests.pm

index 74c9edc..c3a244f 100644 (file)
@@ -17,9 +17,6 @@ sub tests01 {
 
     has_method( 'Person', 'full_name' );
 
-    no_droppings('Person');
-    is_immutable('Person');
-
     person01();
 
     has_meta('Employee');
@@ -32,6 +29,9 @@ sub tests01 {
     has_overridden_method( 'Employee', 'full_name' );
 
     employee01();
+
+    no_droppings('Person');
+    is_immutable('Person');
 }
 
 sub tests02 {