TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 opened on 2021年8月18日

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)

説明

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.

コントリビューターガイド