thoughtbot--shoulda-matchers/lib
Elliot Winkler 147ac482e8 Add with_prefix and with_suffix to define_enum_for
In Rails 5, the `enum` macro received two new options: `_prefix` and
`_suffix`. These options change the names of the methods that are
generated from the given enum values. This commit adds qualifiers to the
`define_enum_for` matcher so that they can be tested.
2018-01-28 00:47:56 -06:00
..
shoulda Add with_prefix and with_suffix to define_enum_for 2018-01-28 00:47:56 -06:00
shoulda-matchers.rb Switched to allowing a more canonical require statement 2011-01-31 16:45:13 -05:00