diaspora_federation/spec/lib
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
..
diaspora_federation Get optional props from validated object 2018-02-14 01:37:20 +01:00
diaspora_federation_spec.rb Make rspec work without rails dependency 2017-04-05 02:02:04 +02:00