Sha256: 198af683793dce542163c1827963cdf109d40330bac27dc6e231ea2071be0226
Contents?: true
Size: 1.26 KB
Versions: 3
Compression:
Stored size: 1.26 KB
Contents
Feature: Nested Steps with either table or doc string Background: Given a scenario with a step that looks like this: """gherkin Given two turtles """ @todo-windows Scenario: Use #step with table Given a step definition that looks like this: """ruby Given /turtles:/ do |table| table.hashes.each do |row| puts row[:name] end end """ And a step definition that looks like this: """ruby Given /two turtles/ do step %{turtles:}, table(%{ | name | | Sturm | | Liouville | }) end """ When I run the feature with the progress formatter Then the output should contain: """ Sturm Liouville """ @todo-windows Scenario: Use #step with Doc String Given a step definition that looks like this: """ruby Given /two turtles/ do step %{turtles:}, "Sturm and Lioville" end """ And a step definition that looks like this: """ruby Given /turtles:/ do |text| puts "#{text}:#{text.class}" end """ When I run the feature with the progress formatter Then the output should contain: """ Sturm and Lioville:String """
Version data entries
3 entries across 3 versions & 1 rubygems