Sha256: fb59ecc7cb2b790f16276c7e3fb0127a07a0bce2c18d8619ac0ec83dca394642

Contents?: true

Size: 992 Bytes

Versions: 8

Compression:

Stored size: 992 Bytes

Contents

Feature: Getting Amee Profile Item
  In order to gain access to profile item information which means we can keep
  In order co2 histroy and calcuations and profit big time
  As a amee developer
  I want to be able to get profile items
  
  Scenario: Get Amee profile item with path /profiles/F38ECBD56D59/home/energy/quantity/5891C88F29FA 
    Given I have a valid amee session
    When I ask the session for: get_profile_item with path: "/profiles/F38ECBD56D59/home/energy/quantity/5891C88F29FA"
    
    Then the profile item should have: "co2_value" with: "24.66"
    And the profile item should have: "co2_unit" with: "kg/year"
    And the profile item should have: "resource_path" with: "/home/energy/quantity/5891C88F29FA"
    And the profile item should have: "start_date" with: "Thu Mar 19 16:51:00 UTC 2009"
    And the profile item should have: "end_date" with: ""
    And the profile item's item_values should not be nil
    And the profile item's item_definition should not be nil

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hookercookerman-amee-0.1.4 features/profile/profile_item.feature
hookercookerman-amee-0.1.5 features/profile/profile_item.feature
hookercookerman-amee-0.1.6 features/profile/profile_item.feature
hookercookerman-amee-0.1.8 features/profile/profile_item.feature
hookercookerman-amee-0.1.9 features/profile/profile_item.feature
hookercookerman-amee-0.2.0 features/profile/profile_item.feature
hookercookerman-amee-0.2.1 features/profile/profile_item.feature
hookercookerman-amee-0.6.0 features/profile/profile_item.feature