Sha256: 998d5d623f4c9bacf09b555392bf434f62ad2d3eb6123e75e3438db2e2c6c684

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

Feature: Get Amee Category
  In order to gain access to data information
  As a amee developer
  I want to be able to get amee categories
  
  Scenario: Get Amee category with path /data
    Given I have a valid amee session
    When I ask the session for: get_data_category with path: "/data"
    
    Then the data category should have: "path" with: ""
    And the data category should have: "name" with: "Root"
    And the data category should have: "uid" with: "CD310BEBAC52"
    And the data category's data_items should be nil
    And the data category's data_categories should not be nil
    
  Scenario: Get Amee category with path /data/transport/plane/generic
    Given I have a valid amee session
    When I ask the session for: get_data_category with path: "/data/transport/plane/generic"

    Then the data category should have: "path" with: "generic"
    And the data category should have: "resource_path" with: "/transport/plane/generic"
    And the data category should have: "name" with: "Generic"
    And the data category should have: "uid" with: "FBA97B70DBDF"
    
    And the data category's data_items should not be empty
    And the data category's data_categories should not be empty

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hookercookerman-amee-0.0.2 features/data/data_category.feature
hookercookerman-amee-0.0.3 features/data/data_category.feature