code0-tech / sagittarius

The orchestrating backend for the Code0 application
4 stars 0 forks source link

Make type parameter of create_audit_event matcher optional #219

Closed Taucher2003 closed 5 days ago

Taucher2003 commented 1 week ago

Currently the type parameter of the create_audit_event matcher is mandatory. For not_to expectations, it would be useful to omit it, to assert that no audit event has been created instead of asserting that no audit event of a specific type was created.

The matcher is located in spec/support/matchers/audit_event_matchers.rb.