Skip to content

Commit

Permalink
Add values about inserted values to Context Scenario.
Browse files Browse the repository at this point in the history
Close #116
  • Loading branch information
Ilia Rogozhin committed Nov 19, 2018
1 parent bf5afec commit d1327c1
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import com.github.smallcreep.cucumber.seeds.storage.StorageWithoutIids;
import java.util.Map;
import org.cactoos.iterable.Mapped;
import org.cactoos.iterable.StickyIterable;
import org.cactoos.text.JoinedText;

/**
Expand Down Expand Up @@ -143,13 +144,15 @@ public RwDefault(
public void add() throws Exception {
this.table.insert(
new StorageWithoutIids(
new StorageScenarioProperties(
new Mapped<>(
this.surrogate,
this.rows
),
this.ctx,
this.props
new StickyIterable<Map<String, String>>(
new StorageScenarioProperties(
new Mapped<>(
this.surrogate,
this.rows
),
this.ctx,
this.props
)
)
)
);
Expand Down

0 comments on commit d1327c1

Please sign in to comment.