Sha256: b9c7d07154b46f4d4e8e2f4d375fccd824b2e3ff161abbb68ec6745177a76271

Contents?: true

Size: 977 Bytes

Versions: 11

Compression:

Stored size: 977 Bytes

Contents

@hashes
Feature: Enrich hashes

  @columnar
  Scenario: I should be able to enrich columnar hashes
    Given I have the following keys setup in Redis
      | key          | value      |
      | employees/10 | Employee 1 |
      | employees/20 | Employee 2 |
      | employees/3  | Employee 3 |
      | employees/4  | Employee 4 |
      | employers/4  | Employee 5 |
    When I ask DeepHash for metrics
    Then I should see the following "employee names" be injected into the hash at "$.table.inner_table"
      | value      |
      | Employee 1 |
      | Employee 2 |

  @object
  Scenario: I should be able to enrich object like hashes
    Given I have the following keys setup in Redis
      | key     | value    |
      | items/1 | Idly     |
      | items/2 | Pongal   |
      | items/3 | Off Menu |
    When I ask Menu for menu
    Then I should see the following "item name" enriched for each sub hash at "$.table.menu"
      | value  |
      | Idly   |
      | Pongal |

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
looksist-0.2.8 features/hash_lookup.feature
looksist-0.2.7 features/hash_lookup.feature
looksist-0.2.6 features/hash_lookup.feature
looksist-0.2.5 features/hash_lookup.feature
looksist-0.2.4 features/hash_lookup.feature
looksist-0.2.3 features/hash_lookup.feature
looksist-0.2.2 features/hash_lookup.feature
looksist-0.2.1 features/hash_lookup.feature
looksist-0.2.0 features/hash_lookup.feature
looksist-0.1.9 features/hash_lookup.feature
looksist-0.1.8 features/hash_lookup.feature