TheGnarCo/gnarails

Replace shoulda_matchers test enum matcher

Open

#160 创建于 2021年8月18日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Ruby (1 fork)auto 404
good first issue

仓库指标

Star
 (0 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南