mastodon/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
fabricators Add scheduled statuses (#9706) 2019-01-05 12:43:28 +01:00
features
fixtures Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
helpers
lib
mailers
models
policies
presenters
requests Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing
services Fix undefined method error in sidekiq (#9807) 2019-01-14 17:28:41 +01:00
support
validators
views
workers
rails_helper.rb
spec_helper.rb