Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Properly test for http response codes returned by raffle api #151

Open
HcsOmot opened this issue Dec 13, 2017 · 0 comments
Open

Properly test for http response codes returned by raffle api #151

HcsOmot opened this issue Dec 13, 2017 · 0 comments
Assignees
Labels

Comments

@HcsOmot
Copy link
Collaborator

HcsOmot commented Dec 13, 2017

Backstory:
When choosing to raffle a single event that has no comments, appropriate Domain Exception should be raised, which corresponds to HTTP code 204 (no content).

This requires refactoring of RaffleApiContext (clean everything up so we can actually test proper HTTP response codes have been returned, as we're currently only testing to see if a certain message has been returned from Domain Exception).

@HcsOmot HcsOmot added the task label Dec 13, 2017
@HcsOmot HcsOmot self-assigned this Dec 13, 2017
@HcsOmot HcsOmot changed the title Properly test for http error codes returned by raffle api Properly test for http response codes returned by raffle api Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant