0
0
Fork 0

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:
Chad Pytel 2017-04-07 13:48:38 -04:00
parent 38bec79811
commit 13c0077003
2 changed files with 145 additions and 25 deletions

View file

@ -1,3 +1,4 @@
Fabricator(:status) do
account
text "Lorem ipsum dolor sit amet"
end