thoughtbot--shoulda-matchers/spec
Elliot Winkler 6ac7b8158c Fail when no scopes on uniq matcher but scopes on validation
Change behavior of `validate_uniqueness_of` when the matcher is not
qualified with any scopes, but your validation is. Previously the
following test would pass when it now fails:

    class Post < ActiveRecord::Base
      validate :slug, uniqueness: { scope: :user_id }
    end

    describe Post do
      it { should validate_uniqueness_of(:slug) }
    end
2015-05-22 14:37:19 -06:00
..
acceptance Add support for Postgres 2015-02-12 16:01:00 -07:00
support Improve failure messages for #fail_with_message_including 2015-03-28 18:12:02 -06:00
unit/shoulda/matchers Fail when no scopes on uniq matcher but scopes on validation 2015-05-22 14:37:19 -06:00
warnings_spy Be better about looking for warnings on Travis 2014-12-16 20:30:05 -07:00
acceptance_spec_helper.rb Use pry-byebug instead of pry-nav 2015-04-02 20:13:33 -06:00
doublespeak_spec_helper.rb Make Doublespeak specs runnable without Rails 2015-02-28 23:41:28 -07:00
report_warnings.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00
unit_spec_helper.rb Add support for Postgres 2015-02-12 16:01:00 -07:00
warnings_spy.rb Fail build if there are warnings 2015-02-09 10:48:49 -07:00