thoughtbot--shoulda-matchers/spec/unit/shoulda/matchers/active_record
Elliot Winkler 64af0df37e Rails 5: Skip array-column-related tests for uniqueness matcher
For some reason, in Rails 5, the uniqueness validation has stopped
working for array columns. What this means is that if you try to use an
array column for a scope, then the query that the validation performs
blows up because the value in the query for the scope is not an array
but a regular scalar value. This does not seem to be documented
anywhere, so perhaps this never worked to begin with, or it accidentally
worked in Rails 4. Until we solve this mystery, skip the tests that have
to do with array columns.
2017-09-17 17:46:06 -05:00
..
association_matchers Fix calls to old method name. 2015-04-03 23:33:19 -06:00
accept_nested_attributes_for_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
association_matcher_spec.rb Rails 5: Fix failing association matcher tests 2017-09-17 17:01:50 -05:00
define_enum_for_matcher_spec.rb Validate enum column is an integer in `define_enum_for` 2016-01-10 21:40:15 -07:00
have_db_column_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
have_db_index_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
have_readonly_attributes_matcher_spec.rb Fix test suite to properly tag example groups 2014-12-25 00:44:53 -05:00
serialize_matcher_spec.rb Fix AR matcher tests for Rails 4.2 2014-12-25 00:45:06 -05:00
validate_uniqueness_of_matcher_spec.rb Rails 5: Skip array-column-related tests for uniqueness matcher 2017-09-17 17:46:06 -05:00