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
This commit is contained in:
parent
38bec79811
commit
13c0077003
2 changed files with 145 additions and 25 deletions
|
@ -1,3 +1,4 @@
|
|||
Fabricator(:status) do
|
||||
account
|
||||
text "Lorem ipsum dolor sit amet"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue