Contents

Hand overs and take backs

Model test (class methods)

Scenario: Hand overs are related to approved contracts

@personas

  • Given there are "hand over" visits
  • Then the associated contract of each such visit must be "approved"
  • And each of the reservations of such contract must also be "approved"

Scenario: Take backs are related to signed contracts

@personas

  • Given there are "take back" visits
  • Then the associated contract of each such visit must be "signed"
  • And at least one line of such contract must also be "signed"
  • And the other reservations of such contract must be "closed"

Source: features/technical/visit/hand_over_and_take_back_model.feature at commit eb240d9e, Leihs (GPL license).