TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 aberto em 18 de ago. de 2021

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (1 fork)auto 404
good first issue

Métricas do repositório

Stars
 (0 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador