@@ -63,9 +63,10 @@ sub _parse_body {
sub generate_slave {
my $self = shift;
my $args = shift;
- $self->parse() unless $self->{parsed};
my $slave = SugarTrail::Template::Slave->new($args);
+ $self->parse() unless $self->{parsed};
+
my @slave_steps;
STEP: foreach my $master_step (@{ $self->{steps} }) {
my $accept = 1; # accept by default