Skip to content

Commit

Permalink
take out unused getSteps
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hammant authored and maurotalevi committed Jan 18, 2021
1 parent 68b531c commit e2e0376
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import org.jbehave.core.model.Scenario;
import org.jbehave.core.model.Story;

import java.util.ArrayList;

public class ContextStoryReporter extends NullStoryReporter {
private final Context context;

Expand All @@ -21,6 +19,5 @@ public void beforeStory(Story story, boolean givenStory) {
@Override
public void beforeScenario(Scenario scenario) {
context.setCurrentScenario(scenario.getTitle());
context.setCurrentSteps(new ArrayList<String>(scenario.getSteps()));
}
}

0 comments on commit e2e0376

Please sign in to comment.