about summary refs log tree commit diff
path: root/spec/fabricators/follow_request_fabricator.rb
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-04 03:51:08 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-03 20:51:08 +0200
commitce7c0def88b4f9ee97913002fb2d41d1832bd8af (patch)
tree38a14c42fb9b2bb456cdf7b7920183bddf9e3f34 /spec/fabricators/follow_request_fabricator.rb
parentdab8fc458420b5773a47ba232aabe089d0ff45b5 (diff)
Remove redundant code in AtomSerializer and spec (#3528)
* Remove redundant status.reply? in AtomSerializer#object

* Cover AtomSerializer more
Diffstat (limited to 'spec/fabricators/follow_request_fabricator.rb')
-rw-r--r--spec/fabricators/follow_request_fabricator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fabricators/follow_request_fabricator.rb b/spec/fabricators/follow_request_fabricator.rb
index 78a057919..c00ddf84d 100644
--- a/spec/fabricators/follow_request_fabricator.rb
+++ b/spec/fabricators/follow_request_fabricator.rb
@@ -1,4 +1,4 @@
 Fabricator(:follow_request) do
   account
-  target_account { Fabricate(:account) }
+  target_account { Fabricate(:account, locked: true) }
 end