binkley / sproingk

Spring Boot with Kotlin
Other
1 stars 1 forks source link

Use `Accepted` when creating a new greeting #28

Closed binkley closed 7 years ago

binkley commented 7 years ago

Context

The whole time this has mistakenly been using "temporary redirect" when it should have used "accepted" for creating a greeting. Oops.

Acceptance criteria

GIVEN a greeting does not exist AND is not in process of being created WHEN I request to recreate a greeting THEN the response code is "Accepted"

GIVEN a greeting is in process of being created WHEN I request to recreate a greeting THEN the response code is "Accepted"