This website requires JavaScript.
Explore
Help
Register
Sign In
treehouse
/
mastodon
Watch
21
Star
8
Fork
You've already forked mastodon
5
Code
Issues
32
Pull Requests
Projects
1
Releases
Wiki
Activity
4845069692
mastodon
/
spec
/
fabricators
/
status_fabricator.rb
5 lines
73 B
Ruby
Raw
Normal View
History
Unescape
Escape
Adding a bunch of tests
2016-02-26 14:28:08 +00:00
Fabricator
(
:status
)
do
Add specs for PostStatusService This implements all pending specs, and adds additional coverage for the following functionality: * Normal status creation * Creating a reply status * Creating a sensitive status * Creating a status with spoiler text * A status with no spoiler text gets an empty string for spoiler text * Creating a status with custom visibility * Creating a status for an application * Processing mentions * Processing Hashtags * Pinging PuSH hubs * Crawling links * Attaching media
2017-04-07 17:48:38 +00:00
account
Adding a bunch of tests
2016-02-26 14:28:08 +00:00
text
"
Lorem ipsum dolor sit amet
"
end