Sha256: e446aa86c9af4b715f10c4260fd65d5698c3d114ff60d31d9cdd4a4f8a5e5485
Contents?: true
Size: 973 Bytes
Versions: 5
Compression:
Stored size: 973 Bytes
Contents
Feature: Row output A row model's string output is a Gherkin representation of itself and its most relevant attribute for inspection is the collection of cells of the row that it models. Background: Given the following gherkin: """ |foo|bar| """ And a row model based on that gherkin """ @model = CukeModeler::Row.new(<source_text>) """ Scenario: Stringify a row model When the model is output as a string """ @model.to_s """ Then the following text is provided: """ | foo | bar | """ And the output can be used to make an equivalent model """ CukeModeler::Row.new(@model.to_s) """ Scenario: Inspect a row model When the model is inspected """ @model.inspect """ Then the following text is provided: """ #<CukeModeler::Row:<object_id> @cells: ["foo", "bar"]> """
Version data entries
5 entries across 5 versions & 1 rubygems