diaspora/spec
Jonne Haß 5d318400c9
Diaspora::Federation::Receive::ignore_existing_guid returns nil when
ignoring the error message

Previously it returned the return value of Logging::Logger#warn, which
is true for loggers that log the warn level. However
Diaspora::Federation::Receive::receive_relayable checks the return value
for truthiness in order to decide whether to attempt to relay it,
resulting in a NoMethodError: undefined method `parent' for
true:TrueClass in Diaspora::Federation::Receive::relay_relayable

This change is cosmetic as the exception raised prevented any action
that shouldn't happen anyway, so there's no actual logic change.
2016-06-26 17:01:33 +02:00
..
controllers fix sender for messages for old pods 2016-06-26 14:05:52 +02:00
fixtures Move JWKs files to database 2016-01-04 16:49:56 +09:00
helpers remove more unused code and cleanup 2016-06-26 06:21:01 +02:00
integration extract mappings between diaspora and the federation gem 2016-06-26 06:21:02 +02:00
javascripts Merge pull request #6872 from denschub/autolink-with-rel-noopener 2016-06-19 16:21:04 +02:00
lib use the parent author of the target as sender for relayable retractions 2016-06-26 11:05:23 +02:00
mailers Fix usage of hard-coded pod URI in rspec testsuite 2016-03-22 15:06:30 +03:00
models don't participate own posts 2016-06-26 06:21:03 +02:00
presenters Perform major refactoring 2016-01-04 16:49:54 +09:00
serializers added post guid to the post_serializer 2015-07-11 00:17:01 +02:00
services use match_array for comment_service_spec 2016-06-26 10:43:27 +02:00
shared_behaviors Diaspora::Federation::Receive::ignore_existing_guid returns nil when 2016-06-26 17:01:33 +02:00
support add root author to reshare subscribers 2016-06-26 06:21:02 +02:00
workers remove more unused code and cleanup 2016-06-26 06:21:01 +02:00
configuration_methods_spec.rb Set captcha length correctly, fix #5932 2015-05-06 23:51:28 +02:00
factories.rb remove diaspora_handle setter to set author 2016-06-26 06:21:02 +02:00
federation_callbacks_spec.rb extract mappings between diaspora and the federation gem 2016-06-26 06:21:02 +02:00
helper_methods.rb remove old webfinger/hcard code 2015-08-21 14:23:08 +02:00
locale_spec.rb On reshare insert the reshare built from the response 2015-03-23 23:02:23 +01:00
misc_spec.rb enable some skipped tests again 2016-06-26 06:21:00 +02:00
requests_helper.rb Display publisher on user profile path 2015-10-15 05:58:38 +02:00
spec-doc.rb
spec_helper.rb relay relayables after receive 2016-06-26 06:21:02 +02:00