diaspora_federation/spec/support
Benjamin Neff 32a49cc549
Get optional props from validated object
This is much easier and safer than "guessing" the class name based on
the validator name. That can cause a problem when another class with the
same name is found. The "guessing" was only added because we used
OpenStruct in the tests, but we shouldn't change the code only to make
tests run. I changed the tests to use the real entities, with
auto-validation disabled in the constructor, so we can test the
validator manually.
2018-02-14 01:37:20 +01:00
..
fixture_builder.rb Generate default users only once and reset db after each test 2017-04-05 00:36:53 +02:00
helper_methods.rb Remove parent_author_signature from json 2017-06-02 01:12:01 +02:00
legacy_helper.rb Remove generation code for legacy salmon slap from library 2017-05-10 02:37:25 +02:00
shared_entity_specs.rb Only add optional properties to generated XML and JSON when not nil 2017-07-30 00:32:54 +02:00
shared_magic_envelope_specs.rb use shorter callback keys for key-callbacks 2016-03-29 02:42:19 +02:00
shared_parser_specs.rb Entity JSON serialization/deserialization feature 2017-03-23 13:55:19 +02:00
shared_signable_specs.rb Fix warning about shared example group 'a signable' been defined twice 2018-01-22 04:13:45 +01:00
shared_validator_specs.rb Get optional props from validated object 2018-02-14 01:37:20 +01:00