Sha256: 470239c236139b257dba2f5889cd3914ef388041e69e43034257f3ead49f5bc0

Contents?: true

Size: 961 Bytes

Versions: 86

Compression:

Stored size: 961 Bytes

Contents

Feature: Table mapping
  Scenario: Mapping table shouldn't change output
    Given a standard Cucumber project directory structure
    And a file named "features/f.feature" with:
      """
      Feature: F
        Scenario: S
          Given a table:
            | who   |
            | aslak |
      """
    And a file named "features/step_definitions/steps.rb" with:
      """
      Given(/a table:/) { |table| table.map_headers!(/who/i => 'Who')
        table.map_column!('Who') { |who| "Cuke" }
        table.hashes[0]['Who'] = "Joe"
        table.hashes.should == [{"Who"=>"Joe"}]
      }
      """
    When I run cucumber features/f.feature
    Then STDERR should be empty
    And it should pass with
      """
      Feature: F

        Scenario: S      # features/f.feature:2
          Given a table: # features/step_definitions/steps.rb:1
            | who   |
            | aslak |

      1 scenario (1 passed)
      1 step (1 passed)
      
      """

Version data entries

86 entries across 84 versions & 11 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
cucumber-1.3.6 legacy_features/table_mapping.feature
cucumber-1.3.5 legacy_features/table_mapping.feature
cucumber-1.3.4 legacy_features/table_mapping.feature
cucumber-1.3.3 legacy_features/table_mapping.feature
cucumber-1.3.2 legacy_features/table_mapping.feature
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
cucumber-1.3.1 legacy_features/table_mapping.feature
cucumber-1.3.0 legacy_features/table_mapping.feature
cucumber-1.2.5 legacy_features/table_mapping.feature
cucumber-1.2.3 legacy_features/table_mapping.feature
cucumber-1.2.2 legacy_features/table_mapping.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
casecumber-1.0.2.1 legacy_features/table_mapping.feature
casecumber-1.2.1.cb2 legacy_features/table_mapping.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/legacy_features/table_mapping.feature
cucumber-1.2.1 legacy_features/table_mapping.feature