commit d126841ff9c2bc8f2d2f2036fd19cf0f64a92da5 Author: Mauro Talevi <mauro.tal...@aquilonia.org> AuthorDate: Mon, 9 Dec 2013 23:54:52 +0100 Commit: Mauro Talevi <mauro.tal...@aquilonia.org> CommitDate: Mon, 9 Dec 2013 23:54:52 +0100
Commented out story which has a given story to a relative path. diff --git a/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java b/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java index 841cda3..8f0b7a8 100755 --- a/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java +++ b/examples/core/src/main/java/org/jbehave/examples/core/CoreStories.java @@ -104,7 +104,7 @@ public class CoreStories extends JUnitStories { @Override protected List<String> storyPaths() { String filter = System.getProperty("story.filter", "**/*.story"); - return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), filter, "**/failing_before*.story"); + return new StoryFinder().findPaths(codeLocationFromClass(this.getClass()), filter, "**/failing_before*.story,**/given_relative_path*"); } } \ No newline at end of file diff --git a/examples/core/src/main/java/org/jbehave/examples/core/stories/given_scenarios.story b/examples/core/src/main/java/org/jbehave/examples/core/stories/given_scenarios.story index 1887695..05bfb9b 100755 --- a/examples/core/src/main/java/org/jbehave/examples/core/stories/given_scenarios.story +++ b/examples/core/src/main/java/org/jbehave/examples/core/stories/given_scenarios.story @@ -1,4 +1,4 @@ -Scenarios that are used as preconditions, used via GivenStories: /path/to/story#{idX:scenarioX} +Scenarios that are used as preconditions, used via given stories /path/to/story#{idX:scenarioX} Scenario: Scenario 1