Sha256: 75a859cb56a7f9e019cf91a735f53e93fd85ef9de699ced04e2cbb50592c2fd0
Contents?: true
Size: 1.23 KB
Versions: 12
Compression:
Stored size: 1.23 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 """ 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 """ 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
12 entries across 12 versions & 2 rubygems