HomeSoftware Heritage

(maint) - Use the correct matches in rspec

Description

(maint) - Use the correct matches in rspec

Rather than checking the notify/require properties, it uses the matchers
that check the dependency graph. That means it can also check transitive
requires/notifies.

It also uses compile and compile.and_raise_error as a shorter way to
check for errors (or the absense of them).

Details

Provenance
Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>Authored on Jan 5 2021, 8:01 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPAPA6b1d99cafbb0: Merge pull request #2111 from ekohl/clean-ubuntu
Branches
Unknown
Tags
Unknown

Event Timeline

Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> committed rSPAPA48f8ffa47265: (maint) - Use the correct matches in rspec (authored by Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>).Jan 25 2021, 2:41 PM