TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 ouverte le 18 août 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Ruby (1 fork)auto 404
good first issue

Métriques du dépôt

Stars
 (0 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur