1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/fixtures/requests
Renato "Lond" Cerqueira 5c5e14c816 Fix undefined method error in sidekiq (#9807)
* Fix undefined method error in sidekiq

Body can be not nil but still be empty, which causes a
`NoMethodError: undefined method `[]' for nil:NilClass` further in the
code. This checks for an empty body to avoid the issue.

* Fix codeclimate issue
2019-01-14 17:28:41 +01:00
..
.host-meta.txt Writing out more tests, fixed some bugs 2016-03-20 13:03:06 +01:00
activitypub-actor-individual.txt Support Actors/Statuses with multiple types (#7305) 2018-05-02 12:40:24 +02:00
activitypub-actor-noinbox.txt Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 2017-09-17 11:54:23 +02:00
activitypub-actor.txt Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 2017-09-17 11:54:23 +02:00
activitypub-feed.txt Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 2017-09-17 11:54:23 +02:00
activitypub-webfinger.txt Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979) 2017-09-17 11:54:23 +02:00
attachment1.txt Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
attachment2.txt Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
avatar.txt Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
feed.txt Writing out more tests, fixed some bugs 2016-03-20 13:03:06 +01:00
idn.txt Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
json-ld.activitystreams.txt Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
json-ld.identity.txt Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
json-ld.security.txt Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
koi8-r.txt Use charlock_holmes instead of nkf at FetchLinkCardService (#4080) 2017-07-08 22:44:31 +02:00
localdomain-feed.txt Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
localdomain-hostmeta.txt Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
localdomain-webfinger.txt Additional specs for URI handling (#2759) 2017-05-03 20:40:14 +02:00
oembed_invalid_xml.html A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
oembed_json.html Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
oembed_json_empty.html Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
oembed_json_xml.html Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
oembed_undiscoverable.html A minor change for ProviderDiscovery and spec (#3543) 2017-06-04 14:59:40 +02:00
oembed_xml.html Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
redirected.host-meta.txt Add rspec to further specify FollowRemoteAccountService (#2414) 2017-05-02 23:37:26 +02:00
sjis.txt Use charlock_holmes instead of nkf at FetchLinkCardService (#4080) 2017-07-08 22:44:31 +02:00
sjis_with_wrong_charset.txt Use charlock_holmes instead of nkf at FetchLinkCardService (#4080) 2017-07-08 22:44:31 +02:00
webfinger-hacker1.txt Add rspec to further specify FollowRemoteAccountService (#2414) 2017-05-02 23:37:26 +02:00
webfinger-hacker2.txt Add rspec to further specify FollowRemoteAccountService (#2414) 2017-05-02 23:37:26 +02:00
webfinger-hacker3.txt Added FetchRemoteAccountService spec (#6456) 2018-02-10 17:10:57 +01:00
webfinger.txt Writing out more tests, fixed some bugs 2016-03-20 13:03:06 +01:00
windows-1251.txt Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510) 2018-12-17 19:19:45 +01:00