Sha256: 09c4d7884db26d73773e705d306e1e2f74fbca24c97155e9f799ee47308f74ca

Contents?: true

Size: 997 Bytes

Versions: 38

Compression:

Stored size: 997 Bytes

Contents

Feature: Player

  As a game player I want to have a player on database

  Scenario: Create new player
    Given config key 'initial_player.wallet.gold' is '10'
    And   config key 'initial_player.name' is 'Guest'
    When  client call route 'rubypitaya.playerHandler.authenticate'
    Then  server should response 'code' as 'RP-200'
    And   server should response 'data.name' as 'Guest'
    And   server should response 'data.gold' as '10'

  Scenario: Get player info
    Given the following player:
      | name    | gold | user_id                              |
      | Someone | 15   | 00000000-0000-0000-0000-000000000001 |
    And   the player 'Someone' is authenticated
    When  client call route 'rubypitaya.playerHandler.getInfo'
    Then  server should response the following json:
      """
      {
        "code": "RP-200",
        "data": {
          "name": "Someone",
          "gold": 15,
          "userId": "00000000-0000-0000-0000-000000000001"
        }
      }
      """

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
rubypitaya-3.11.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.10.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.9.1 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.8.1 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.8.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.7.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.6.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.5.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.4.2 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.4.1 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.4.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.7 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.6 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.5 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.4 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.3 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.2 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.1 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.3.0 ./lib/rubypitaya/app-template/features/player.feature
rubypitaya-3.2.0 ./lib/rubypitaya/app-template/features/player.feature