TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 aperta il 18 ago 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Ruby (1 fork)auto 404
good first issue

Metriche repository

Star
 (0 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

When running the test suite, you see the deprecation warning:

Warning from shoulda-matchers:

The `with` qualifier on `define_enum_for` is deprecated and will be
removed in the next major release. Please use `with_values` instead.

We need to update the use of the matcher to resolve this.

Guida contributor