Sha256: 1c3aeaf978c21d6fa8af1c44ce9d05d2dbfb8a36469ebf43eaee1b0b58c907a6

Contents?: true

Size: 940 Bytes

Versions: 6

Compression:

Stored size: 940 Bytes

Contents

Feature: Hello World

  As a developer I want to see the hello world messages

  Scenario: Hello World message
    Given client call route 'rubypitaya.helloWorldHandler.sayHello'
    Then  server should response 'code' as 'RP-200'
    And   server should response 'data.message' as 'Hello!'

  Scenario: Custom message
    When  client call route 'rubypitaya.helloWorldHandler.showMessage' with params:
      | message      |
      | Hello World! |
    Then  server should response 'code' as 'RP-200'
    And   server should response 'data.message' as 'Hello World!'

  Scenario: Custom message with json
    When client call route 'rubypitaya.helloWorldHandler.showMessage' with json params:
      """
      {
        "message": "Hello World!"
      }
      """
    Then server should response the following json:
      """
      {
        "code": "RP-200",
        "data": {
          "message": "Hello World!"
        }
      }
      """

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubypitaya-3.11.0 ./lib/rubypitaya/app-template/features/hello_world.feature
rubypitaya-3.10.0 ./lib/rubypitaya/app-template/features/hello_world.feature
rubypitaya-3.9.1 ./lib/rubypitaya/app-template/features/hello_world.feature
rubypitaya-3.8.1 ./lib/rubypitaya/app-template/features/hello_world.feature
rubypitaya-3.8.0 ./lib/rubypitaya/app-template/features/hello_world.feature
rubypitaya-3.7.0 ./lib/rubypitaya/app-template/features/hello_world.feature