thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_record
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
..
association_matchers Add required/optional qual's to belongs_to/has_one 2017-10-06 23:38:47 -05:00
uniqueness Documentation updates 2014-12-25 01:13:30 -05:00
accept_nested_attributes_for_matcher.rb Update RSpec test style across docs 2016-06-15 18:02:07 -06:00
association_matcher.rb Merge pull request #947 from alyssais/patch-1 2017-10-18 20:31:42 -02:00
association_matchers.rb Extract examples in README to inline documentation 2014-06-20 16:41:27 -06:00
define_enum_for_matcher.rb Add with_prefix and with_suffix to define_enum_for 2018-01-28 00:47:56 -06:00
have_db_column_matcher.rb Update RSpec test style across docs 2016-06-15 18:02:07 -06:00
have_db_index_matcher.rb Update RSpec test style across docs 2016-06-15 18:02:07 -06:00
have_readonly_attribute_matcher.rb Update RSpec test style across docs 2016-06-15 18:02:07 -06:00
have_secure_token_matcher.rb Add matcher for has_secure_token 2017-10-15 21:07:58 -04:00
serialize_matcher.rb Update RSpec test style across docs 2016-06-15 18:02:07 -06:00
uniqueness.rb Move uniqueness validation to ActiveRecord module 2014-12-13 17:53:16 -05:00
validate_uniqueness_of_matcher.rb Fix deprecation warning for uniqueness matcher (Rails 4.2) 2018-01-23 23:16:31 -06:00