Add reservations
Model test (instance methods)
Background:
- Given required test data for contract tests existing
Scenario Outline: Adding reservations is successful
- Given an empty contract of <allowed type> existing
- And I log in as 'ramon' with password 'password'
- When I add some reservations for this contract
- Then the size of the contract should increase exactly by the amount of reservations added
Examples:
| allowed type |
|---|
| UNSUBMITTED |
| SUBMITTED |
Source: features/technical/contract/add_lines_model.feature at commit eb240d9e, Leihs (GPL license).