The diaspora ID validator now is not nil by default. Also: * mark root_author as optional for reshares. * make author for profiles mandatory (I don't remember why this was optional, we never generate a profile without author and we wouldn't receive a profile without author anyway, because we validate that the author is the sender). * refactor validator specs for diaspora IDs |
||
|---|---|---|
| .. | ||
| fixture_builder.rb | ||
| helper_methods.rb | ||
| legacy_helper.rb | ||
| shared_entity_specs.rb | ||
| shared_magic_envelope_specs.rb | ||
| shared_parser_specs.rb | ||
| shared_validator_specs.rb | ||