Sha256: 783e5c1e27e10a58609d79c8a69e5ed031fa5ebc9177d3e715bb8b549af6361f

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

Story: remote app wants to create a resource
  As a remote app
  I want to create a resource
  So that I can store some data about a particular item
  
  Scenario: remote app supplies a new valid Resource 
    Given a valid DataMapper::Resource
    When I try to save the Resource
    Then the Resource should save

  Scenario: remote app supplies a new invalid Resource 
    Given a valid DataMapper::Resource
    When I make invalid changes to that Resource
    When I try to save the Resource
    Then the Resource should not save
    
  Scenario: remote app supplies a new valid Resource associated with another new valid Resource
    Given a new Resource
    And another new Resource associated with the first
    When I try to save the first Resource
    Then both Resources should save
    
  Scenario: remote app supplies a new invalid Resource associated with another new valid Resource
    Given a new invalid Resouce
    And another new Resource associated with the first
    When I try to save the first Resource
    Neither Resource should save
    
  Scenario: remote app supplies a new valid Resource associated with another new invalid Resource
    Given a new Resource
    And another new invalid Resource associated with the first
    When I try to save the first Resource
    Neither Resource should save
    
  Scenario: remote app supplies a new invalid Resource associated with another new invalid Resource
    Given a new invalid Resource
    And another new invalid Resource associated with the first
    When I try to save the first Resource
    Neither Resource should save

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dm-rest-adapter-0.9.4 stories/crud/create
dm-rest-adapter-0.9.5 stories/crud/create
dm-rest-adapter-0.9.6 stories/crud/create
dm-rest-adapter-0.9.7 stories/crud/create