return specReader.read(getClass().getResource(path).getFile());
}
private void assertChildComponentSpec(List<Spec> specs) {
assertThat(specs.size(), is(1));
SpecComponent spec = (SpecComponent) specs.get(0);
assertThat(spec.getOriginalText(), is("component: spec-for-component-test-component.spec"));
assertThat(spec.getSpecPath(), endsWith("spec-for-component-test-component.spec"));
}