luanfonceca/speakerfight
GitHub で見るNot accept proposals before the `accept_proposals_at` date.
Open
#306 opened on 2017年10月9日
enhancementhacktoberfestnormal
Repository metrics
- Stars
- (342 stars)
- PR merge metrics
- (PR metrics pending)
説明
This issues depends on #304.
if some event has defined the accept_proposals_at field, we can only accept proposals after that time, this should create some changes on the Models, Views and tests.
Tasks:
- Check if the
accept_proposals_atdate has passed. - Restrict the cases that the proposal cant be created and return a Message for the user.
- Add tests to assert that the a proposal cannot be created after the date.