mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 14:31:28 +00:00
17 lines
492 B
Gherkin
17 lines
492 B
Gherkin
Feature: Brie quality changes
|
|
In order to keep track of aged brie
|
|
As a shopkeeper
|
|
I want to see the quality of aged brie increase
|
|
|
|
|
|
Scenario: Aged brie quality update
|
|
Given some brie with a sell-in of 20 and a quality of 20
|
|
When I update the quality
|
|
Then the item should have a quality of 21
|
|
|
|
|
|
Scenario: Aged brie at maximum quality
|
|
Given some brie with a sell-in of 20 and a quality of 50
|
|
When I update the quality
|
|
Then the item should have a quality of 50
|