]> cat aescling's git repositories - mastodon.git/commit
Allow set the voting period to just 5 minutes (#10525)
authorHinaloe <hina@hinaloe.net>
Tue, 9 Apr 2019 15:02:12 +0000 (00:02 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 9 Apr 2019 15:02:12 +0000 (17:02 +0200)
commit48f466daf1498173cf6ec36db58562df9a031297
tree999337558faab8f10731840d0587f5a3dfa41255
parent8b69a66380bbe32127e717ca2d79244392b7d2b6
Allow set the voting period to just 5 minutes (#10525)

* Add spec of PollValidator for #10190

* Raise fraction less than 1 second

* format

* simplify time initialize
app/validators/poll_validator.rb
spec/validators/poll_validator_spec.rb [new file with mode: 0644]