Merge branch '1.4.x' into 1.5.x

This commit is contained in:
Andy Wilkinson
2017-02-28 15:58:08 +00:00
2 changed files with 27 additions and 7 deletions

View File

@@ -401,8 +401,8 @@ class ImportsContextCustomizer implements ContextCustomizer {
@Override
public boolean isIgnored(Annotation annotation) {
return annotation.annotationType().getName()
.startsWith("org.spockframework.");
return annotation.annotationType().getName().startsWith("org.spockframework.")
|| annotation.annotationType().getName().startsWith("spock.");
}
}