This website requires JavaScript.
Explore
Help
Register
Sign In
treehouse
/
mastodon
Watch
22
Star
8
Fork
You've already forked mastodon
5
Code
Issues
32
Pull Requests
Projects
1
Releases
Wiki
Activity
d67de22458
mastodon
/
spec
/
fabricators
/
poll_vote_fabricator.rb
8 lines
89 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable Style/FrozenStringLiteralComment for specs (#23790)
2023-02-22 00:55:31 +00:00
# frozen_string_literal: true
Add polls (#10111) * Add polls Fix #1629 * Add tests * Fixes * Change API for creating polls * Use name instead of content for votes * Remove poll validation for remote polls * Add polls to public pages * When updating the poll, update options just in case they were changed * Fix public pages showing both poll and other media
2019-03-03 21:18:23 +00:00
Fabricator
(
:poll_vote
)
do
account
poll
Run rubocop formatting except line length (#23632)
2023-02-17 21:56:20 +00:00
choice
0
Add polls (#10111) * Add polls Fix #1629 * Add tests * Fixes * Change API for creating polls * Use name instead of content for votes * Remove poll validation for remote polls * Add polls to public pages * When updating the poll, update options just in case they were changed * Fix public pages showing both poll and other media
2019-03-03 21:18:23 +00:00
end