diaspora_federation/spec
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
..
controllers/diaspora_federation Replace legacy webfinger with new route from .well-known 2017-05-29 00:43:39 +02:00
integration Don't check parent_author_signature for relayables 2017-06-02 01:12:00 +02:00
lib Get optional props from validated object 2018-02-14 01:37:20 +01:00
routing Replace legacy webfinger with new route from .well-known 2017-05-29 00:43:39 +02:00
support Get optional props from validated object 2018-02-14 01:37:20 +01:00
entities.rb Fix when booleans in relayables are false 2017-11-05 01:12:19 +01:00
factories.rb Remove active_record and save models in-memory 2017-04-05 00:36:52 +02:00
spec_helper.rb Make rspec work without rails dependency 2017-04-05 02:02:04 +02:00