TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 opened on Aug 18, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (1 fork)auto 404
good first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

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.

Contributor guide