bastodon/spec
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
..
controllers Not to skip executable specs (#9753) 2019-01-10 15:12:31 +01:00
fabricators Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
features rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
fixtures Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
helpers Add pending specs for jsonld helper (#9750) 2019-01-08 12:18:27 +09:00
lib Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
mailers Improve e-mail digest (#9689) 2019-01-02 10:47:32 +01:00
models Add a spec for Admin::ActionLog (#9775) 2019-01-11 07:28:09 +00:00
policies Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
presenters Add specs for InstancePresenter (#9596) 2018-12-21 08:59:56 +01:00
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Add specs for UrlValidator (#9699) 2019-01-03 13:10:20 +09:00
views Replace SVG asset with Custom mascot (#8766) 2018-10-08 00:20:45 +02:00
workers Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
rails_helper.rb rubocop issues - Cleaning up (#8912) 2018-10-08 04:50:11 +02:00
spec_helper.rb Disable simplecov on CircleCI (#7416) 2018-05-09 16:59:58 +02:00