Sha256: d5ee6c80de5a03211008d63e12ecb6ed3d74abdd9e428aec4262bc8982cd1799

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

Feature: Manage Flags
  In order to value
  As a role
  I want feature

Scenario: List all flags
  Given I am logged in
  When I get the first asset
  And I assign the flags "red blue green" to the asset
  When I get all flags
  Then the flags list should contain "red"

Scenario: List flagged assets
  Given I am logged in
  When I get the first asset
  And I assign the flags "red blue green" to the asset
  When I get all flags
  Then the flags list should contain "red"
  
Scenario: Add flags to asset
  Given I am logged in
  And I get the first asset
  And I assign the flags "red blue green" to the asset
  Then the flags list should contain "red"
  Then the flags list should contain "blue"
  Then the flags list should contain "green"

Scenario: Find all assets by flag
  Given I am logged in
  And I get the first asset
  And I assign the flag "red" to the asset
  And I find all assets with the flag "red"
  Then the assets list should contain "6913b8ae-9b47-4487-87b2-d1d4d103f4de"

Scenario: Get asset flags
  Given I am logged in
  And I get the first asset
  And I assign the flag "pear" to the asset
  And I get the flags for the asset
  Then the flags list should contain "pear"

Scenario: Count flags
  Given I am logged in
  Then the flag count should be "4"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
360_services-0.0.3 features/manage_flags.feature