Rename test helper to not look like a test.

This commit is contained in:
Michael Bayne
2014-12-13 15:26:51 -08:00
parent 453d3928e5
commit 4cb0d876ed
2 changed files with 3 additions and 3 deletions
@@ -62,7 +62,7 @@ public class SpecRunner extends BlockJUnit4ClassRunner
List<FrameworkMethod> tests = new ArrayList<FrameworkMethod>();
for (String name : groups) {
for (Map<String, Object> test: getTestsForGroup(name)) {
tests.add(new SpecFrameworkTest(m, name, new Spec(test)));
tests.add(new SpecFrameworkMethod(m, name, new Spec(test)));
}
}
return tests;