Skip to content

Commit

Permalink
cuke4duke convention is to run env.groovy Before/After methods first/…
Browse files Browse the repository at this point in the history
…last
  • Loading branch information
Tomas Bezdek committed Aug 14, 2012
1 parent e572769 commit d72ddd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public boolean matches(Collection<Tag> tags) {

@Override
public int getOrder() {
return 0;
return location.getFileName() == "env.groovy" ? -1 : 0;
}
}

0 comments on commit d72ddd2

Please sign in to comment.