thoughtbot--shoulda-matchers/spec
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
..
acceptance Add ignoring_interference_by_writer to all matchers 2016-01-05 00:58:16 -07:00
support Rails 5: Skip array-column-related tests for uniqueness matcher 2017-09-17 17:46:06 -05:00
unit/shoulda/matchers Rails 5: Skip array-column-related tests for uniqueness matcher 2017-09-17 17:46:06 -05:00
warnings_spy Be better about looking for warnings on Travis 2014-12-16 20:30:05 -07:00
acceptance_spec_helper.rb Extract a common spec helper 2015-10-07 23:32:51 -06:00
doublespeak_spec_helper.rb Extract a common spec helper 2015-10-07 23:32:51 -06:00
report_warnings.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00
spec_helper.rb Update rspec & rspec-rails to 3.6.x 2017-09-17 17:01:50 -05:00
unit_spec_helper.rb Don't require ActiveResource tests under Rails 5 2017-09-17 17:01:50 -05:00
warnings_spy.rb Fail build if there are warnings 2015-02-09 10:48:49 -07:00