about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorChad Pytel <chad@thoughtbot.com>2017-04-07 13:48:38 -0400
committerChad Pytel <chad@thoughtbot.com>2017-04-07 14:21:16 -0400
commit13c0077003288416b8cacd5d339f8796bc347f39 (patch)
treeba8cb1e531448535169503bfc1a2545fa0b44d33 /spec/fabricators
parent38bec798117446603b304c0d14ca39bae5ee8be8 (diff)
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
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/status_fabricator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/fabricators/status_fabricator.rb b/spec/fabricators/status_fabricator.rb
index df222fc9d..8ec5f4ba7 100644
--- a/spec/fabricators/status_fabricator.rb
+++ b/spec/fabricators/status_fabricator.rb
@@ -1,3 +1,4 @@
 Fabricator(:status) do
+  account
   text "Lorem ipsum dolor sit amet"
 end