Sha256: b598334dea5a992a9c17f808fcaf73baa33cce27f0e1d71802667e272a0ec067

Contents?: true

Size: 761 Bytes

Versions: 21

Compression:

Stored size: 761 Bytes

Contents

@fails_on_1_8_7
Feature: Nested Steps in I18n


  Background:
    Given a scenario with a step that looks like this in japanese:
      """gherkin
      前提 two turtles
      """
    And a step definition that looks like this:
      """ruby
      # -*- coding: utf-8 -*-
      前提 /a turtle/ do
        puts "turtle!"
      end
      """

  Scenario: Use #steps to call several steps at once
    Given a step definition that looks like this:
      """ruby
      # -*- coding: utf-8 -*-
      前提 /two turtles/ do
        steps %{
          前提 a turtle
          かつ a turtle
        }
      end
      """
    When I run the feature with the progress formatter
    Then the output should contain:
      """
      turtle!

      turtle!

      """

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cucumber-1.3.0 features/nested_steps_i18n.feature