Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-shoulda-matchers.spec'], chrootPath='/var/lib/mock/f42-build-56647820-6545312/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '891144dae9944790a661d41bf4c292e2', '-D', '/var/lib/mock/f42-build-56647820-6545312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-shoulda-matchers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737244800 Wrote: /builddir/build/SRPMS/rubygem-shoulda-matchers-5.1.0-10.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-shoulda-matchers.spec'], chrootPath='/var/lib/mock/f42-build-56647820-6545312/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6f9b79be5e854de797d34d74553b73d4', '-D', '/var/lib/mock/f42-build-56647820-6545312/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._udyjtl2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-shoulda-matchers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.WTbvSV + umask 022 + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + test -d /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jFUvev + umask 022 + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + rm -rf shoulda-matchers-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shoulda-matchers-5.1.0-specs.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shoulda-matchers-5.1.0.gem Unpacked gem: '/builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0' + STATUS=0 + '[' 0 -ne 0 ']' + cd shoulda-matchers-5.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #4 (rubygem-shoulda-matchers-5.1.0-Address-differences-in-has_secure_password-in-Rails-7.patch): + echo 'Patch #4 (rubygem-shoulda-matchers-5.1.0-Address-differences-in-has_secure_password-in-Rails-7.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb patching file lib/shoulda/matchers/rails_shim.rb Patch #8 (rubygem-shoulda-matchers-pr1579-ruby33-NoMethodError-msg.patch): + echo 'Patch #8 (rubygem-shoulda-matchers-pr1579-ruby33-NoMethodError-msg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/shoulda/matchers/independent/delegate_method_matcher.rb Patch #11 (rubygem-shoulda-matchers-6.4.0-Add-Ruby-3.4-support.patch): + echo 'Patch #11 (rubygem-shoulda-matchers-6.4.0-Add-Ruby-3.4-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/shoulda/matchers/independent/delegate_method_matcher.rb ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0 + pushd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + echo 'Patch #0 (rubygem-shoulda-matchers-5.1.0-Skip-bootsnap-on-the-test-project-creation.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #0 (rubygem-shoulda-matchers-5.1.0-Skip-bootsnap-on-the-test-project-creation.patch): patching file spec/support/acceptance/helpers/step_helpers.rb patching file spec/support/unit/rails_application.rb patching file spec/support/unit/rails_application.rb patching file spec/support/acceptance/helpers/step_helpers.rb patching file spec/support/unit/rails_application.rb Patch #1 (rubygem-shoulda-matchers-5.1.0-Only-mark-classes-as-unloadable-when-Rails-supports-it.patch): + echo 'Patch #1 (rubygem-shoulda-matchers-5.1.0-Only-mark-classes-as-unloadable-when-Rails-supports-it.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/unit/helpers/class_builder.rb Patch #2 (rubygem-shoulda-matchers-5.1.0-conditionally-use-unloadable-in-another-spot.patch): + echo 'Patch #2 (rubygem-shoulda-matchers-5.1.0-conditionally-use-unloadable-in-another-spot.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/unit/helpers/class_builder.rb Patch #3 (rubygem-shoulda-matchers-5.1.0-Use-a-hard-coded-DateTime-instead-of-DateTime.now-1.patch): + echo 'Patch #3 (rubygem-shoulda-matchers-5.1.0-Use-a-hard-coded-DateTime-instead-of-DateTime.now-1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb Patch #5 (rubygem-shoulda-matchers-5.1.0-Address-differences-in-has_secure_password-in-Rails-7-test.patch): + echo 'Patch #5 (rubygem-shoulda-matchers-5.1.0-Address-differences-in-has_secure_password-in-Rails-7-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb Patch #6 (rubygem-shoulda-matchers-5.1.0-Using-local-gems-should-be-enough-for-testing.patch): + echo 'Patch #6 (rubygem-shoulda-matchers-5.1.0-Using-local-gems-should-be-enough-for-testing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/acceptance/helpers/step_helpers.rb Hunk #1 succeeded at 118 (offset 2 lines). Patch #7 (rubygem-shoulda-matchers-5.1.0-Always-use-sqlite-1.4.patch): + echo 'Patch #7 (rubygem-shoulda-matchers-5.1.0-Always-use-sqlite-1.4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/acceptance/helpers/step_helpers.rb Patch #9 (rubygem-shoulda-matchers-pr1506-action_text_rich_texts.patch): + echo 'Patch #9 (rubygem-shoulda-matchers-pr1506-action_text_rich_texts.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/unit/rails_application.rb Patch #10 (rubygem-shoulda-matchers-pr1506-psych-load.patch): + echo 'Patch #10 (rubygem-shoulda-matchers-pr1506-psych-load.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/support/tests/database_configuration.rb Patch #12 (rubygem-shoulda-matchers-6.4.0-Add-Ruby-3.4-support-spec.patch): + echo 'Patch #12 (rubygem-shoulda-matchers-6.4.0-Add-Ruby-3.4-support-spec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb Patch #13 (rubygem-shoulda-matchers-5.1.0-support-rspec-rails-7_1.patch): + echo 'Patch #13 (rubygem-shoulda-matchers-5.1.0-support-rspec-rails-7_1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/acceptance/multiple_libraries_integration_spec.rb patching file spec/acceptance/rails_integration_spec.rb + popd ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XyI2x2 + umask 022 + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shoulda-matchers-5.1.0 + gem build ../shoulda-matchers-5.1.0.gemspec WARNING: expected RubyGems version 3.6.2, was 3.2.32 WARNING: open-ended dependency on activesupport (>= 5.2.0) is not recommended if activesupport is semantically versioned, use: add_runtime_dependency "activesupport", "~> 5.2", ">= 5.2.0" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: shoulda-matchers Version: 5.1.0 File: shoulda-matchers-5.1.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc shoulda-matchers-5.1.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0 Bin dir: /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/bin Gem home: /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/plugins /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/LICENSE /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/README.md /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/docs/errors/NonCaseSwappableValueError.md /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda-matchers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/callback_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/filter_param_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/flash_store.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/permit_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/render_template_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/rescue_from_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/respond_with_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/route_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/route_params.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/session_store.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/set_flash_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/set_session_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/action_controller/set_session_or_flash_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_changed_value_error.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter_and_validator.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters_and_validators.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/successful_check.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/allow_value_matcher/successful_setting.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/disallow_value_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/errors.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/have_secure_password_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/helpers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/qualifiers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/qualifiers/allow_nil.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/qualifiers/ignore_interference_by_writer.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/qualifiers/ignoring_interference_by_writer.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_length_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validation_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validation_matcher/build_description.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validation_message_finder.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_model/validator.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/optional_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/required_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_attached_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_db_column_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_db_index_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_implicit_order_column.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_rich_text_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/have_secure_token_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/serialize_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/uniqueness.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/uniqueness/model.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/uniqueness/namespace.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/uniqueness/test_models.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/configuration.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/double.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/double_collection.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/double_implementation_registry.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/method_call.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/object_double.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/proxy_implementation.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/stub_implementation.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/doublespeak/world.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/error.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/independent.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/independent/delegate_method_matcher.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/configuration.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/configuration_error.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/inclusion.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/action_controller.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/active_model.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/active_record.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/missing_library.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/rails.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/libraries/routing.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/rails.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/registry.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/rspec.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/integrations/test_frameworks/test_unit.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/matcher_context.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/rails_shim.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/routing.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/util.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/util/word_wrap.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/version.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/lib/shoulda/matchers/warn.rb /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/shoulda-matchers.gemspec Successfully installed shoulda-matchers-5.1.0 Parsing documentation for shoulda-matchers-5.1.0 Parsing sources... 0% [ 1/126] lib/shoulda-matchers.rb 1% [ 2/126] lib/shoulda/matchers.rb 2% [ 3/126] lib/shoulda/matchers/action_controller.rb 3% [ 4/126] lib/shoulda/matchers/action_controller/callback_matcher.rb 3% [ 5/126] lib/shoulda/matchers/action_controller/filter_param_matcher.rb 4% [ 6/126] lib/shoulda/matchers/action_controller/flash_store.rb 5% [ 7/126] lib/shoulda/matchers/action_controller/permit_matcher.rb 6% [ 8/126] lib/shoulda/matchers/action_controller/redirect_to_matcher.rb 7% [ 9/126] lib/shoulda/matchers/action_controller/render_template_matcher.rb 7% [10/126] lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb 8% [11/126] lib/shoulda/matchers/action_controller/rescue_from_matcher.rb 9% [12/126] lib/shoulda/matchers/action_controller/respond_with_matcher.rb 10% [13/126] lib/shoulda/matchers/action_controller/route_matcher.rb 11% [14/126] lib/shoulda/matchers/action_controller/route_params.rb 11% [15/126] lib/shoulda/matchers/action_controller/session_store.rb 12% [16/126] lib/shoulda/matchers/action_controller/set_flash_matcher.rb 13% [17/126] lib/shoulda/matchers/action_controller/set_session_matcher.rb 14% [18/126] lib/shoulda/matchers/action_controller/set_session_or_flash_matcher.rb 15% [19/126] lib/shoulda/matchers/active_model.rb 15% [20/126] lib/shoulda/matchers/active_model/allow_value_matcher.rb 16% [21/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_changed_value_error.rb 17% [22/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_does_not_exist_error.rb 18% [23/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter.rb 19% [24/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setter_and_validator.rb 19% [25/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters.rb 20% [26/126] lib/shoulda/matchers/active_model/allow_value_matcher/attribute_setters_and_validators.rb 21% [27/126] lib/shoulda/matchers/active_model/allow_value_matcher/successful_check.rb 22% [28/126] lib/shoulda/matchers/active_model/allow_value_matcher/successful_setting.rb 23% [29/126] lib/shoulda/matchers/active_model/disallow_value_matcher.rb 23% [30/126] lib/shoulda/matchers/active_model/errors.rb 24% [31/126] lib/shoulda/matchers/active_model/have_secure_password_matcher.rb 25% [32/126] lib/shoulda/matchers/active_model/helpers.rb 26% [33/126] lib/shoulda/matchers/active_model/numericality_matchers.rb 26% [34/126] lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb 27% [35/126] lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb 28% [36/126] lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb 29% [37/126] lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb 30% [38/126] lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb 30% [39/126] lib/shoulda/matchers/active_model/qualifiers.rb 31% [40/126] lib/shoulda/matchers/active_model/qualifiers/allow_nil.rb 32% [41/126] lib/shoulda/matchers/active_model/qualifiers/ignore_interference_by_writer.rb 33% [42/126] lib/shoulda/matchers/active_model/qualifiers/ignoring_interference_by_writer.rb 34% [43/126] lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb 34% [44/126] lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb 35% [45/126] lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb 36% [46/126] lib/shoulda/matchers/active_model/validate_exclusion_of_matcher.rb 37% [47/126] lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb 38% [48/126] lib/shoulda/matchers/active_model/validate_length_of_matcher.rb 38% [49/126] lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb 39% [50/126] lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb 40% [51/126] lib/shoulda/matchers/active_model/validation_matcher.rb 41% [52/126] lib/shoulda/matchers/active_model/validation_matcher/build_description.rb 42% [53/126] lib/shoulda/matchers/active_model/validation_message_finder.rb 42% [54/126] lib/shoulda/matchers/active_model/validator.rb 43% [55/126] lib/shoulda/matchers/active_record.rb 44% [56/126] lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb 45% [57/126] lib/shoulda/matchers/active_record/association_matcher.rb 46% [58/126] lib/shoulda/matchers/active_record/association_matchers.rb 46% [59/126] lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb 47% [60/126] lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb 48% [61/126] lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb 49% [62/126] lib/shoulda/matchers/active_record/association_matchers/join_table_matcher.rb 50% [63/126] lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb 50% [64/126] lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb 51% [65/126] lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb 52% [66/126] lib/shoulda/matchers/active_record/association_matchers/optional_matcher.rb 53% [67/126] lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb 53% [68/126] lib/shoulda/matchers/active_record/association_matchers/required_matcher.rb 54% [69/126] lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb 55% [70/126] lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb 56% [71/126] lib/shoulda/matchers/active_record/define_enum_for_matcher.rb 57% [72/126] lib/shoulda/matchers/active_record/have_attached_matcher.rb 57% [73/126] lib/shoulda/matchers/active_record/have_db_column_matcher.rb 58% [74/126] lib/shoulda/matchers/active_record/have_db_index_matcher.rb 59% [75/126] lib/shoulda/matchers/active_record/have_implicit_order_column.rb 60% [76/126] lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb 61% [77/126] lib/shoulda/matchers/active_record/have_rich_text_matcher.rb 61% [78/126] lib/shoulda/matchers/active_record/have_secure_token_matcher.rb 62% [79/126] lib/shoulda/matchers/active_record/serialize_matcher.rb 63% [80/126] lib/shoulda/matchers/active_record/uniqueness.rb 64% [81/126] lib/shoulda/matchers/active_record/uniqueness/model.rb 65% [82/126] lib/shoulda/matchers/active_record/uniqueness/namespace.rb 65% [83/126] lib/shoulda/matchers/active_record/uniqueness/test_model_creator.rb 66% [84/126] lib/shoulda/matchers/active_record/uniqueness/test_models.rb 67% [85/126] lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb 68% [86/126] lib/shoulda/matchers/configuration.rb 69% [87/126] lib/shoulda/matchers/doublespeak.rb 69% [88/126] lib/shoulda/matchers/doublespeak/double.rb 70% [89/126] lib/shoulda/matchers/doublespeak/double_collection.rb 71% [90/126] lib/shoulda/matchers/doublespeak/double_implementation_registry.rb 72% [91/126] lib/shoulda/matchers/doublespeak/method_call.rb 73% [92/126] lib/shoulda/matchers/doublespeak/object_double.rb 73% [93/126] lib/shoulda/matchers/doublespeak/proxy_implementation.rb 74% [94/126] lib/shoulda/matchers/doublespeak/stub_implementation.rb 75% [95/126] lib/shoulda/matchers/doublespeak/world.rb 76% [96/126] lib/shoulda/matchers/error.rb 76% [97/126] lib/shoulda/matchers/independent.rb 77% [98/126] lib/shoulda/matchers/independent/delegate_method_matcher.rb 78% [99/126] lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb 79% [100/126] lib/shoulda/matchers/integrations.rb 80% [101/126] lib/shoulda/matchers/integrations/configuration.rb 80% [102/126] lib/shoulda/matchers/integrations/configuration_error.rb 81% [103/126] lib/shoulda/matchers/integrations/inclusion.rb 82% [104/126] lib/shoulda/matchers/integrations/libraries.rb 83% [105/126] lib/shoulda/matchers/integrations/libraries/action_controller.rb 84% [106/126] lib/shoulda/matchers/integrations/libraries/active_model.rb 84% [107/126] lib/shoulda/matchers/integrations/libraries/active_record.rb 85% [108/126] lib/shoulda/matchers/integrations/libraries/missing_library.rb 86% [109/126] lib/shoulda/matchers/integrations/libraries/rails.rb 87% [110/126] lib/shoulda/matchers/integrations/libraries/routing.rb 88% [111/126] lib/shoulda/matchers/integrations/rails.rb 88% [112/126] lib/shoulda/matchers/integrations/registry.rb 89% [113/126] lib/shoulda/matchers/integrations/test_frameworks.rb 90% [114/126] lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb 91% [115/126] lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb 92% [116/126] lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb 92% [117/126] lib/shoulda/matchers/integrations/test_frameworks/missing_test_framework.rb 93% [118/126] lib/shoulda/matchers/integrations/test_frameworks/rspec.rb 94% [119/126] lib/shoulda/matchers/integrations/test_frameworks/test_unit.rb 95% [120/126] lib/shoulda/matchers/matcher_context.rb 96% [121/126] lib/shoulda/matchers/rails_shim.rb 96% [122/126] lib/shoulda/matchers/routing.rb 97% [123/126] lib/shoulda/matchers/util.rb 98% [124/126] lib/shoulda/matchers/util/word_wrap.rb 99% [125/126] lib/shoulda/matchers/version.rb 100% [126/126] lib/shoulda/matchers/warn.rb Installing ri documentation for shoulda-matchers-5.1.0 Installing darkfish documentation for shoulda-matchers-5.1.0 Done installing documentation for shoulda-matchers after 5 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uugnxw + umask 022 + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + '[' /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + mkdir /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shoulda-matchers-5.1.0 + mkdir -p /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT/usr/share/gems/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT Scanned 205 directories and 1908 files, processed 144 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fnAmLS + umask 022 + cd /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0 ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0 + cd shoulda-matchers-5.1.0 + pushd ./usr/share/gems/gems/shoulda-matchers-5.1.0 + ln -s /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/spec spec + cat + sed -i '/require '\''pry/ s/^/#/' spec/spec_helper.rb + sed -i '/current_bundle/ s/^/#/' spec/acceptance_spec_helper.rb spec/support/unit/load_environment.rb + sed -i '/CurrentBundle/ s/^/#/' spec/acceptance_spec_helper.rb spec/support/unit/load_environment.rb + sed -i '/def rails_new_command/,/^ end$/ { /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/ }' spec/support/unit/rails_application.rb + sed -i '/def rails_new_command/,/^ end$/ { /rails new/ s/"$/ --skip-git --skip-asset-pipeline&/ }' spec/support/acceptance/helpers/step_helpers.rb + bundle exec rspec spec/unit /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb:451: warning: assigned but unused variable - new_now /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0/usr/share/gems/gems/shoulda-matchers-5.1.0/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb:891: warning: assigned but unused variable - assertion Randomized with seed 47008 Shoulda::Matchers::ActiveModel::ValidateNumericalityOfMatcher qualified with is_less_than_or_equal_to and validating with less_than_or_equal_to rejects when used in the negative accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the column is a decimal column accepts (and does not raise an error) when the attribute is a virtual attribute in an ActiveRecord model accepts when the column is an integer column accepts (and does not raise an error) when the column is a float column accepts (and does not raise an error) and not validating with less_than_or_equal_to rejects since it does not disallow numbers greater than the value qualified with on and validating with on accepts qualified with strict and not validating strictly rejects since ActiveModel::StrictValidationFailed is never raised and validating strictly accepts qualified with only_integer and not validating with only_integer rejects since it does not disallow non-integers and validating with only_integer accepts rejects when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) qualified with even and not validating with even rejects since it does not disallow odd numbers and validating with even rejects when used in the negative accepts when the column is a decimal column accepts (and does not raise an error) when the attribute is a virtual attribute in an ActiveRecord model accepts when the column is a float column accepts (and does not raise an error) when the column is an integer column accepts (and does not raise an error) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) qualified with with_message and validating with the same message accepts and no message is provided ignores the qualifier and validating with a different message rejects with the correct failure message and the validation is missing from the model rejects with the correct failure message #description qualified with is_equal_to describes that it allows numbers equal to a certain value qualified with odd describes that it allows odd numbers qualified with is_greater_than_or_equal_to describes that it allows numbers greater than or equal to a certain value qualified with is_less_than_or_equal_to describes that it allows numbers less than or equal to a certain value qualified with odd + is_greater_than_or_equal_to describes that it allows odd numbers greater than or equal to a certain value qualified with even describes that it allows even numbers qualified with is_less_than describes that it allows numbers less than a certain value qualified with nothing describes that it allows numbers qualified with is_greater_than describes that it allows numbers greater than a certain value qualified with only_integer describes that it allows integers qualified with strict describes that it relies upon a strict validation and qualified with a comparison qualifier places the comparison description after "strictly" qualified with only integer + is_greater_than + less_than_or_equal_to describes that it allows integer greater than one value and less than or equal to another qualified with is_other_than describes that it allows numbers other than a certain value with combinations of qualifiers together is expected to validate that :attr looks like a number less than 1 is expected to validate that :attr looks like an integer is expected to validate that :attr looks like an odd number is expected to validate that :attr looks like an integer is expected to validate that :attr looks like an integer greater than or equal to 1 is expected to validate that :attr looks like an integer equal to 1 is expected to validate that :attr looks like an integer other than 1 is expected to validate that :attr looks like an integer greater than 1 is expected to validate that :attr looks like a number greater than or equal to 1 is expected to validate that :attr looks like a number equal to 1 is expected to validate that :attr looks like an integer is expected to validate that :attr looks like an integer less than or equal to 1 is expected to validate that :attr looks like an integer is expected to validate that :attr looks like an integer greater than or equal to 1 is expected to validate that :attr looks like an integer less than or equal to 1 is expected to validate that :attr looks like an integer greater than 1 is expected to validate that :attr looks like an even number is expected to validate that :attr looks like an integer less than 1 is expected to validate that :attr looks like a number other than 1 is expected to validate that :attr looks like a number greater than 1 is expected to validate that :attr looks like an integer equal to 1 is expected to validate that :attr looks like an integer is expected to validate that :attr looks like a number less than or equal to 1 is expected to validate that :attr looks like an integer other than 1 is expected to validate that :attr looks like an integer less than 1 when qualifiers match the validation options but the values are different such as testing greater than (+ even) with higher value such as testing greater_than (+ only_integer) with lower value such as testing less_than_or_equal_to (+ odd) with lower value such as testing less_than (+ only_integer + greater_than) with higher value such as testing greater_than (+ only_integer) with higher value such as testing less_than_or_equal_to (+ odd) with higher value such as testing greater_than (+ even) with lower value such as testing greater_than (+ only_integer + less_than) with lower value when the qualifiers do not match the validation options such as validating greater_than_or_equal_to (+ only_integer + less_than) but testing that greater_than is validated such as validating greater_than_or_equal_to (+ odd) but testing that is_less_than_or_equal_to is validated such as not validating only_integer but testing that only_integer is validated such as validating even but testing that only_integer is validated such as validating odd (+ greater_than) but testing that even is validated such as validating greater_than_or_equal_to (+ even) but testing that greater_than is validated qualified with is_other_than and validating with other_than accepts rejects when used in the negative when the attribute is a virtual attribute in an ActiveRecord model accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the column is an integer column accepts (and does not raise an error) when the column is a decimal column accepts (and does not raise an error) when the column is a float column accepts (and does not raise an error) and not validating with other_than rejects since it does not disallow numbers that are not the value qualified with is_greater_than and validating with greater_than accepts rejects when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the column is an integer column accepts (and does not raise an error) when the column is a float column accepts (and does not raise an error) when the column is a decimal column accepts (and does not raise an error) when the attribute is a virtual attribute in an ActiveRecord model accepts and not validating with greater_than rejects since it does not disallow numbers that are less than or equal to the value qualified with is_less_than and not validating with less_than rejects since it does not disallow numbers greater than or equal to the value and validating with less_than rejects when used in the negative accepts when the column is a decimal column accepts (and does not raise an error) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the column is a float column accepts (and does not raise an error) when the attribute is a virtual attribute in an ActiveRecord model accepts when the column is an integer column accepts (and does not raise an error) qualified with is_equal_to and not validating with equal_to rejects since it does not disallow numbers that are not the value and validating with equal_to rejects when used in the negative accepts when the column is an integer column accepts (and does not raise an error) when the column is a decimal column accepts (and does not raise an error) when the column is a float column accepts (and does not raise an error) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the attribute is a virtual attribute in an ActiveRecord model accepts when the subject is stubbed retains that stub while the validate_numericality is matching qualified with is_greater_than_or_equal to not validating with greater_than_or_equal_to rejects since it does not disallow numbers that are less than the value validating with greater_than_or_equal_to accepts rejects when used in the negative when the column is an integer column accepts (and does not raise an error) when the column is a decimal column accepts (and does not raise an error) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the attribute is a virtual attribute in an ActiveRecord model accepts when the column is a float column accepts (and does not raise an error) qualified with on but not validating with on accepts since the validation never considers a context not qualified with on but validating with on rejects since the validation never runs qualified with nothing and validating numericality accepts when the column is an integer column accepts (and does not raise an AttributeChangedValueError) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message when the attribute is a virtual attribute in an ActiveRecord model accepts when the column is a decimal column accepts (and does not raise an AttributeChangedValueError) when used in the negative fails when the column is a float column accepts (and does not raise an AttributeChangedValueError) and not validating anything rejects since it does not disallow non-numbers qualified with odd and validating with odd rejects when used in the negative accepts when the column is an integer column accepts (and does not raise an error) when the column is a decimal column accepts (and does not raise an error) when the column is a float column accepts (and does not raise an error) it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message when the attribute is a virtual attribute in ActiveRecord model accepts and not validating with odd rejects since it does not disallow even numbers against an ActiveModel model accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message with large numbers is expected to validate that :attr looks like a number less than 100000 is expected to validate that :attr looks like a number less than or equal to 100000 is expected to validate that :attr looks like a number greater than 100000 is expected to validate that :attr looks like a number greater than or equal to 100000 qualified with allow_nil and validating with allow_nil accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message and not validating with allow_nil rejects since it tries to treat nil as a number Shoulda::Matchers::Routing::RouteMatcher given a controller and action specified as individual options when a port is specified when the route is constrained to the same port accepts when the route is not constrained to the same port rejects when the given method, controller, and action match an existing route but the path does not rejects when the existing route has a glob segment and no param is given which represents the segment rejects and a param is given which represents the segment accepts when the given path, controller, and action match an existing route but the method does not rejects when the given method, path, controller, and action do not match an existing route rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a symbol accepts as a string accepts when the actual route has a param and the expected params do not match the actual params rejects and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string when the given method, path, controller, and action match an existing route accepts and the expected controller is specified as a symbol accepts and the expected action is specified as a symbol accepts when the given method, path, and controller match an existing route but the action does not rejects when the given method and path match an existing route but the controller does not rejects given a controller and action joined together in a string when the given method and path match an existing route but the controller does not rejects when the existing route has a glob segment and a param is given which represents the segment accepts and no param is given which represents the segment rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a string accepts as a symbol accepts when the given path, controller, and action match an existing route but the method does not rejects when a port is specified when the route is not constrained to the same port rejects when the route is constrained to the same port accepts when the given method, controller, and action match an existing route but the path does not rejects when the given method, path, controller, and action do not match an existing route rejects when the actual route has a param and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string and the expected params do not match the actual params rejects when the given method, path, controller, and action match an existing route accepts and the expected controller is specified as a symbol accepts and the expected action is specified as a symbol accepts when the given method, path, and controller match an existing route but the action does not rejects Shoulda::Matchers::ActiveRecord::HaveRichTextMatcher when the model has a RichText association matches when the subject configures has_rich_text #description returns the message including the name of the provided association when the model does not have a RichText association does not match when provided with a model attribute that does not exist does not match when provided with a model attribute that exist Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher accepts an existing database column rejects a nonexistent database column #of_type rejects a column of wrong type accepts a column of correct type rejects a nonexistent database column with default option rejects a column with wrong default accepts a column with correct default with invalid argument option raises an error with the unknown options with scale option rejects a column of wrong scale accepts a column of correct scale with precision option accepts a column of correct precision rejects a column of wrong precision with limit option accepts a column of correct limit rejects a column of wrong limit with primary option rejects a column that is not primary accepts a column that is primary with null option accepts a column of correct null rejects a column of wrong null Shoulda::Matchers::ActiveRecord::HaveDbIndexMatcher #description when given a group of columns when not qualified with anything returns the correct description when qualified with unique returns the correct description when qualified with unique: true returns the correct description when qualified with unique: false returns the correct description when given one column when not qualified with anything returns the correct description when qualified with unique: false returns the correct description when qualified with unique: true returns the correct description when qualified with unique returns the correct description the matcher when not all models are connected to the same database when the table has the given index matches assuming all models are connected to the same database when given one column when qualified with unique when the table does not have the given index matches in the negative does not match in the positive when the table has the given index when the index is a unique index matches when used in the positive does not match when used in the negative when the index is not a unique index matches when used in the negative does not match when used in the positive when qualified with unique: true when the table has the given index when the index is a unique index does not match when used in the negative matches when used in the positive when the index is not a unique index matches when used in the negative does not match when used in the positive when the table does not have the given index does not match in the positive matches in the negative when qualified with nothing when the table does not have the given index does not match in the positive matches in the negative when the table has the given index does not match in the negative matches in the positive when qualified with unique: false when the table has the given index when the index is a non-unique index does not match when used in the negative matches when used in the positive when the index is not a non-unique index matches when used in the negative does not match when used in the positive when the table does not have the given index does not match in the positive matches in the negative when given a group of columns when the table has the given index matches when used in the positive does not match when used in the negative when the table does not have the given index matches when used in the negative does not match when used in the positive Shoulda::Matchers::ActiveRecord::HaveSecureTokenMatcher fails with the appropriate message when negated does not match when when lacking has_secure_token does not match when missing an index for a custom attribute matches when the subject configures has_secure_token with the db for a custom attribute does not match when missing a token column does not match when missing an token index matches when called with ignoring_check_for_db_index without db index does not match when missing a column for a custom attribute does not match when when lacking has_secure_token for the attribute matches when the subject configures has_secure_token with the db #description returns the message including the name of a provided column returns the message including the name of the default column Shoulda::Matchers::Doublespeak::World #double_collection_for calls DoubleCollection.new once with the given class returns the created DoubleCollection #with_doubles_activated still makes sure to uninstall all doubles even if the block raises an error installs all doubles, yields the block, then uninstalls them all Shoulda::Matchers::ActiveModel::ValidateConfirmationOfMatcher when both validation and matcher specify a custom message fails when the expected and actual messages do not match passes when the expected and actual messages match #description states that the confirmation must match its base attribute when the model does not have a confirmation attribute raises an AttributeDoesNotExistError when the model has a confirmation validation passes fails when used in the negative when a nil message is specified ignores it it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the model has all attributes, but does not have the validation fails with an appropriate failure message when the model does not have the attribute under test raises an AttributeDoesNotExistError when the validation specifies a message via i18n passes Shoulda::Matchers::Doublespeak::DoubleCollection #calls_to returns all calls to the given method returns an empty array if the method has never been doubled #register_proxy calls Double.new correctly calls DoubleImplementationRegistry.find correctly if a double has already been registered for the method returns the same Double does not call Double.new again #activate replaces all registered methods with doubles #register_stub calls DoubleImplementationRegistry.find correctly calls Double.new correctly if a double has already been registered for the method does not call Double.new again returns the same Double #deactivate restores the original methods that were doubled Shoulda::Matchers::ActiveModel::ValidateExclusionOfMatcher an attribute which must be excluded from a range rejects if the given range spills past the bottom of the range in the validation accepts ensuring the correct range does not override the default message with a blank rejects if the given range falls short of the top of the range in the validation rejects if the given range spills past the top of the range in the validation rejects if the given range falls short of the bottom of the range in the validation fails when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message an attribute which must be excluded from an array fails when used in the negative accepts with correct array rejects when only part of array matches rejects when array does not match at all it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when there is one value has correct description when there are three or more values has correct description when there are two values has correct description an attribute which must be excluded from a range with excluded end rejects ensuring excluded value accepts ensuring the correct range an attribute with custom range validations has correct description accepts ensuring the correct range and messages an attribute with a custom validation message accepts ensuring the correct range accepts ensuring the correct range with an interpolated variable in the message Shoulda::Matchers::ActionController::RedirectToMatcher provides the correct description when provided a block a controller that does not redirect /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_92664' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects redirecting to a url a controller that redirects rejects redirecting to a different url accepts redirecting to that url rejects redirecting to a different url in a block accepts redirecting to that url in a block Shoulda::Matchers::ActiveModel::ValidateLengthOfMatcher an attribute with a maximum length accepts ensuring the correct maximum length rejects ensuring a lower maximum length with any message rejects ensuring a higher maximum length with any message does not override the default message with a blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message an attribute with a required exact length and another validation accepts ensuring the correct length qualified with allow_nil and validating with allow_nil accepts and not validating with allow_nil rejects an attribute with a minimum length validation of 0 accepts ensuring the correct minimum length an attribute with a non-zero minimum length validation accepts ensuring the correct minimum length rejects ensuring a higher minimum length with any message rejects ensuring a lower minimum length with any message does not override the default message with a blank fails when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) an attribute with a required exact length rejects ensuring a higher maximum length with any message rejects ensuring a lower maximum length with any message accepts ensuring the correct length does not override the default message with a blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message an attribute without a length validation rejects ensuring a minimum length an attribute with a custom minimum length validation accepts ensuring the correct minimum length an attribute with a custom equal validation accepts ensuring the correct exact length qualified with allow_blank and not validating with allow_blank rejects and validating with allow_blank with maximum and maximum is greater than 0 accepts and maximum is 0 accepts with minimum and minimum is 1 accepts and minimum is greater than 1 accepts an attribute with a custom maximum length validation accepts ensuring the correct minimum length using translations a too_long translation containing %{attribute}, %{model} does not raise an exception a too_short translation containing %{attribute}, %{model} does not raise an exception a wrong_length translation containing %{attribute}, %{model} does not raise an exception Shoulda::Matchers::ActionController::CallbackMatcher #use_after_action behaves like CallbackMatcher matches when a after hook is in place does not match when a after hook is missing failure message includes the filter kind and name that was expected failure message when negated includes the filter kind and name that was expected description includes the filter kind and name #use_around_action behaves like CallbackMatcher matches when a around hook is in place does not match when a around hook is missing failure message includes the filter kind and name that was expected description includes the filter kind and name failure message when negated includes the filter kind and name that was expected #use_before_action behaves like CallbackMatcher matches when a before hook is in place does not match when a before hook is missing failure message when negated includes the filter kind and name that was expected description includes the filter kind and name failure message includes the filter kind and name that was expected Shoulda::Matchers::ActiveRecord::HaveImplicitOrderColumnMatcher #description returns the correct description when the given column does not exist and it is a string does not match, producing an appropriate message and it is a symbol does not match, producing an appropriate message when the given column exists when an implicit_order_column is set on the model and it does not match the given column name and the column name is a symbol does not match, producing an appropriate message and the column name is a string does not match, producing an appropriate message and it matches the given column name and the column name is a symbol matches and the column name is a string matches when no implicit_order_column is set on the model and the given column name is a symbol does not match, producing an appropriate message and the given column name is a string does not match, producing an appropriate message Shoulda::Matchers::ActiveRecord::AssociationMatcher belong_to accepts an association with a valid :inverse_of option rejects an association of the wrong type accepts an association using an existing custom primary key accepts a good association with the default foreign key adds error message when rejecting an association with non-existent class accepts a polymorphic association accepts an association with a valid :class_name option resolves class_name within the context of the namespace before the global namespace rejects an association that has a nonexistent foreign key rejects an association with a bad :counter_cache option rejects an association that has no :inverse_of option rejects an association with a bad :inverse_of option accepts an association with a valid :conditions option accepts an association with a valid :counter_cache option accepts an association with a valid :dependent option rejects an association with a bad :dependent option rejects an association with a bad :conditions option rejects an association with a non-matching :autosave option with the correct message defaults :counter_cache to true rejects an association with a bad :class_name option accepts an association with a namespaced class name accepts an association with an existing custom foreign key rejects a nonexistent association rejects an association with a bad :primary_key option accepts an association with a matching :autosave option rejects an association with non-existent explicit class name rejects an association with non-existent implicit class name accepts an association without a :class_name option rejects an association that has no :counter_cache option given the association is neither configured to be required nor optional when qualified with optional(false) when belongs_to is not configured to be required by default fails with an appropriate message when belongs_to is configured to be required by default passes when qualified with optional(true) when belongs_to is configured to be required by default fails with an appropriate message when belongs_to is not configured to be required by default passes when qualified with nothing when belongs_to is configured to be required by default passes when belongs_to is not configured to be required by default passes and a presence validation is on the attribute instead of using required: true passes and a presence validation is on the attribute with a condition and the condition is false passes and the condition is true passes when qualified with required(true) when belongs_to is not configured to be required by default fails with an appropriate message when belongs_to is configured to be required by default passes when qualified with required(false) when belongs_to is not configured to be required by default passes when belongs_to is configured to be required by default fails with an appropriate message given the association is configured with required: true when qualified with optional(true) fails with an appropriate message when qualified with required(false) passes when qualified with required(true) passes when qualified with optional(false) passes when qualified with nothing passes given the association is configured as optional: true when qualified with optional(false) fails with an appropriate message when qualified with optional(true) passes when qualified with required(true) fails with an appropriate message when qualified with required(false) passes when qualified with nothing fails with an appropriate message an association without a :touch option rejects touch(true) rejects touch() accepts touch(false) an association without a :validate option rejects validate(true) rejects validate() accepts validate(false) an association with a :validate option when the model has validate: false defaults to validate(true) accepts a matching validate option rejects a non-matching validate option will not break matcher when validate option is unspecified when the model has validate: true accepts a matching validate option defaults to validate(true) rejects a non-matching validate option will not break matcher when validate option is unspecified when the model ensures the association is set and the matcher is qualified with required and the matcher is also qualified with without_validating_presence passes and the matcher is not qualified with without_validating_presence fails with an appropriate message and the matcher is not qualified with anything and the matcher is qualified with without_validating_presence passes and the matcher is not qualified with without_validating_presence fails with an appropriate message an association with a :touch option when the model has touch: false rejects a non-matching touch option will not break matcher when touch option is unspecified defaults to touch(true) accepts a matching touch option when the model has touch: true accepts a matching touch option defaults to touch(true) rejects a non-matching touch option will not break matcher when touch option is unspecified have_and_belong_to_many resolves class_name within the context of the namespace before the global namespace rejects an association with a bad :conditions option rejects an association with a join table with incorrect columns rejects an association with non-existent explicit class name accepts an association with a valid :conditions option rejects an association with a bad :class_name option accepts an association without a :class_name option accepts an association with a namespaced class name accepts a valid association rejects an association with a non-matching :autosave option with the correct message rejects an association of the wrong type rejects a nonexistent association rejects an association with non-existent implicit class name adds error message when rejecting an association with non-existent class rejects an association with a nonexistent join table accepts an association with a valid :class_name option accepts an association with a matching :autosave option using a custom association foreign key rejects an association with a join table with incorrect columns accepts foreign keys when they are symbols using a custom foreign key rejects an association with a join table with incorrect columns validate accepts when the :validate option matches rejects when the :validate option does not match matches validate(false) to having no validate option specified assumes validate() means validate(true) when the matcher is not qualified with join_table but the association has still been declared with a :join_table option and the join table exists and the join table is missing columns does not match, producing an appropriate failure message and the join table has the appropriate foreign key columns matches and the join table does not exist does not match, producing an appropriate failure message when qualified with join_table and it is a symbol and the association has not been declared with a :join_table option does not match, producing an appropriate failure message and the association has been declared with a :join_table option which is the same as the matcher and the join table exists and the join table has the appropriate foreign key columns matches and the join table is missing columns does not match, producing an appropriate failure message and the join table does not exist does not match, producing an appropriate failure message which is the not the same as the matcher does not match, producing an appropriate failure message and it is a string and the association has not been declared with a :join_table option does not match, producing an appropriate failure message and the association has been declared with a :join_table option which is the same as the matcher and the join table exists and the join table is missing columns does not match, producing an appropriate failure message and the join table has the appropriate foreign key columns matches and the join table does not exist does not match, producing an appropriate failure message which is the not the same as the matcher does not match, producing an appropriate failure message have_many rejects an association with a bad :primary_key option rejects an association with a bad :order option accepts an association with a nonstandard reverse foreign key, using :inverse_of rejects a :through association where there is no belongs_to in the inverse model produces a failure message without exception when association is missing :through option rejects an association with a bad :dependent option resolves class_name within the context of the namespace before the global namespace accepts an association with a valid :source option rejects an association with a nonstandard reverse foreign key, if :inverse_of is not correct rejects an association that has the wrong :through option accepts a valid association with an :as option accepts an association using an existing custom primary key rejects an association with a bad :source option accepts a valid association without any options rejects an association with non-existent explicit class name rejects an association with a non-matching :autosave option with the correct message rejects an association that has a bad :through option accepts an association without a :class_name option rejects an association with non-existent implicit class name rejects an association with a bad :class_name option does not reject a non-:through association where there is no belongs_to in the inverse model accepts an association with a valid :class_name option rejects an association with a bad :as option accepts an association with a nonstandard foreign key, with reverse association turned off adds error message when rejecting an association with non-existent class accepts an association with a valid :dependent option accepts an association with a namespaced class name accepts a valid association with a :through option accepts an association with a valid :order option accepts an association with a matching :autosave option rejects an association that has a nonexistent foreign key index_errors accepts an association with a matching :index_errors option rejects an association with a non-matching :index_errors option and returns the correct message if the association has a scope block and the block takes an argument and the matcher is given conditions that do not match the scope matches and the matcher is given conditions that match the scope matches and the block does not take an argument and the matcher is given conditions that match the conditions used in the scope matches and the matcher is given conditions that do not match the conditions used in the scope rejects an association with a bad :conditions option validate assumes validate() means validate(true) accepts validate(false) when the :validate option is false accepts validate() when no :validate option was specified rejects validate(false) when no :validate option was specified rejects validate(true) when the :validate option is false rejects validate(false) when the :validate option is true accepts validate(true) when the :validate option is true rejects validate() when :validate option is false accepts validate(true) when no :validate option was specified have_one rejects an association with a bad :primary_key option accepts an association using an existing custom primary key rejects an association with a valid :class_name and a bad :foreign_key option accepts an association with an existing custom foreign key accepts an association with a valid :conditions option accepts an association with a matching :autosave option rejects an association with a bad through rejects an association with a bad :order option accepts a valid association with an :as option adds error message when rejecting an association with non-existent class rejects an association that has a nonexistent foreign key rejects an association with a valid :class_name and a bad :foreign_key option (CPK) accepts a nil dependent option if false rejects an association with a bad :class_name option rejects an association with a bad :as option accepts an association with a valid :class_name and :foreign_key option (CPK) accepts an association with a through rejects an association with a valid :class_name and :foreign_key option (CPK), but no columns resolves class_name within the context of the namespace before the global namespace rejects any dependent options if false accepts a valid association without any options rejects an association with a bad :dependent option accepts an association with a valid :dependent option accepts an association with a valid :class_name option accepts any dependent option if true rejects an association with a non-matching :autosave option with the correct message accepts an association with a valid :order option rejects an association with non-existent explicit class name rejects an association with a bad :conditions option rejects an association with non-existent implicit class name accepts an association with a namespaced class name accepts an association without a :class_name option given an association with a non-matching :required option fails with an appropriate message validate rejects when the :validate option does not match matches validate(false) to having no validate option specified accepts when the :validate option matches assumes validate() means validate(true) given an association with a matching :required option passes Shoulda::Matchers::ActiveModel::Helpers default_error_message if no translation for the model attribute’s error exists and the translation for the model’s error exists provides the right error message for validate_presence_of provides the right error message for validates_length_of and no translation for the model’s error exists and the translation for the message exists provides the right error message for validate_presence_of provides the right error message for validates_length_of and no translation for the message exists and no translation for the attribute exists provides the general error message for validate_presence_of provides the general error message for validates_length_of and the translation for the attribute exists provides the right error message for validates_length_of provides the right error message for validate_presence_of if the translation for the model attribute’s error exists provides the right error message for validates_length_of provides the right error message for validate_presence_of Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher when the model has a case-sensitive validation when the matcher is qualified with case_insensitive rejects with an appropriate failure message when the matcher is not qualified with case_insensitive accepts given an existing record where the value of the attribute under test is not case-swappable raises a NonCaseSwappableValueError when the model does not have a uniqueness validation rejects with an appropriate failure message when testing that a polymorphic *_type column is one of the validation scopes sets that column to a meaningful value that works with other validations on the same column if the model the *_type column refers to is namespaced, and shares the last part of its name with an existing model still works when the model has a scoped uniqueness validation when one of the scoped attributes is a text column when more than one record exists that has the next version of the attribute's value accepts when too narrow of a scope is specified rejects with an appropriate failure message when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when a different scope is specified rejects with an appropriate failure message when the correct scope is specified when the subject is a new record still accepts if the scope is unset beforehand accepts when the subject is an existing record accepts still accepts if the scope is unset beforehand when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when one of the scoped attributes is a boolean column when too narrow of a scope is specified rejects with an appropriate failure message when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when a different scope is specified rejects with an appropriate failure message when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when the correct scope is specified when the subject is a new record accepts still accepts if the scope is unset beforehand when the subject is an existing record accepts still accepts if the scope is unset beforehand when more than one record exists that has the next version of the attribute's value accepts when one of the scoped attributes is a string column when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when a different scope is specified rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when more than one record exists that has the next version of the attribute's value accepts when too narrow of a scope is specified rejects with an appropriate failure message when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when the correct scope is specified when the subject is a new record accepts still accepts if the scope is unset beforehand when the subject is an existing record still accepts if the scope is unset beforehand accepts when one of the scoped attributes is a date column when too narrow of a scope is specified rejects with an appropriate failure message when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when a different scope is specified rejects with an appropriate failure message when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when the correct scope is specified when the subject is a new record accepts still accepts if the scope is unset beforehand when the subject is an existing record still accepts if the scope is unset beforehand accepts when more than one record exists that has the next version of the attribute's value accepts when too broad of a scope is specified rejects with an appropriate failure message when there is more than one scoped attribute and all are boolean columns accepts when all of the scoped attributes are true accepts when one of the scoped attributes is true and the other is false accepts when all the scoped attributes are false when one of the scoped attributes is a datetime column (using DateTime) when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when too narrow of a scope is specified rejects with an appropriate failure message when a different scope is specified rejects with an appropriate failure message when more than one record exists that has the next version of the attribute's value accepts when the correct scope is specified when the subject is an existing record still accepts if the scope is unset beforehand accepts when the subject is a new record accepts still accepts if the scope is unset beforehand when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when one of the scoped attributes is an integer column when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when the correct scope is specified when the subject is an existing record still accepts if the scope is unset beforehand accepts when the subject is a new record still accepts if the scope is unset beforehand accepts when too narrow of a scope is specified rejects with an appropriate failure message when more than one record exists that has the next version of the attribute's value accepts when a different scope is specified rejects with an appropriate failure message when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when too broad of a scope is specified rejects with an appropriate failure message when one of the scoped attributes is an enum accepts when too broad of a scope is specified rejects with an appropriate failure message when too narrow of a scope is specified rejects with an appropriate failure message when one of the scoped attributes is a datetime column (using Time) when a different scope is specified rejects with an appropriate failure message when too narrow of a scope is specified rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when the correct scope is specified when the subject is an existing record accepts still accepts if the scope is unset beforehand when the subject is a new record still accepts if the scope is unset beforehand accepts when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when more than one record exists that has the next version of the attribute's value accepts when one of the scoped attributes is a time column (using Time) when more than one record exists that has the next version of the attribute's value accepts when too narrow of a scope is specified rejects with an appropriate failure message when too broad of a scope is specified rejects with an appropriate failure message when a non-existent attribute is specified as a scope when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when there is more than one scope rejects with an appropriate failure message (and does not raise an error) when a different scope is specified rejects with an appropriate failure message when no scope is specified rejects with an appropriate failure message if the scope attribute is unset in the record given to the matcher rejects with an appropriate failure message when there is more than one validation on the same attribute with different scopes when a record exists beforehand, where all scopes are set when each validation has a different message accepts when the correct scope is specified when the subject is an existing record still accepts if the scope is unset beforehand accepts when the subject is a new record accepts still accepts if the scope is unset beforehand when the validation is declared with allow_blank given an existing record whose attribute is empty accepts given a new record whose attribute is nil accepts given an existing record whose attribute is nil accepts when the model is declared with has_secure_password given a record whose attribute is empty accepts given a record whose attribute is nil accepts given a new record whose attribute is empty accepts when the model does not have the attribute being tested fails with an appropriate failure message when the model has a uniqueness validation fails when used in the negative when the attribute is of integer type accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when the validation has no scope and a scope is specified rejects with an appropriate failure message and the validation has a custom message given a regex when the given and actual messages match accepts when the given and actual messages do not match rejects with an appropriate failure message given a string when the given and actual messages do not match rejects with an appropriate failure message when the given and actual messages match accepts when no message is specified rejects with an appropriate failure message when the existing record was created beforehand when the subject is a new record accepts when the subject is itself the existing record accepts when the existing record was not created beforehand and the subject is empty and the attribute being tested are required along with other attributes can save the subject without the attributes being set and the attribute being tested is required can save the subject without the attribute being set and the attribute being tested has other validations on it can save the subject without it being completely valid and the model has required attributes other than the attribute being validated can save the subject without the attributes being set and the table has non-nullable columns other than the attribute being validated which are set beforehand can save the subject which are not set beforehand raises a useful exception and the subject is not empty creates the record automatically from the subject and the table has required attributes other than the attribute being validated, set beforehand can save the subject and the model has required attributes other than the attribute being validated, set beforehand can save the subject when the attribute has a character limit accepts when the writer method for the attribute changes the case of incoming values when the scope argument is defined as a string on the model transforms the scope argument to a symbol when the validation is case-sensitive and the matcher is ignoring case sensitivity accepts (and not raise an error) and the matcher is ensuring that the validation is case-sensitive rejects with an appropriate failure message when the scoped_to argument is passed as a string transforms the scoped_to argument to a symbol when the validation is case-insensitive and the matcher is ensuring that the validation is case-insensitive accepts (and does not raise an error) when the validation is not declared with allow_blank given an existing record whose attribute is nil rejects with an appropriate failure message given an existing record whose attribute is empty rejects with an appropriate failure message given a new record whose attribute is empty rejects with an appropriate failure message given a new record whose attribute is nil rejects with an appropriate failure message when the column is a boolean column accepts (and does not print a warning) when the validation is not declared with allow_nil given a new record whose attribute is nil rejects with an appropriate failure message given an existing record whose attribute is nil rejects with an appropriate failure message when the validation is declared with allow_nil given an existing record whose attribute is nil accepts given a new record whose attribute is nil accepts when the model has a case-insensitive validation when case_insensitive is specified accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message when case_insensitive is not specified rejects with an appropriate failure message Shoulda::Matchers::ActiveModel::HaveSecurePasswordMatcher when custom attribute is given to has_secure_password matches when the subject configures has_secure_password with correct options does not match when the subject is missing the custom digest attribute does not match when the subject does not authenticate a password with no arguments passed to has_secure_password matches when the subject configures has_secure_password with default options does not match when the subject does not authenticate a password does not match when the subject is missing the password_digest attribute Shoulda::Matchers::ActionController::PermitMatcher works when multiple ActionController::Parameters were instantiated requires a verb for a non-restful action works with #update specifically can be used more than once in the same test requires an action allows extra parameters to be provided if the route requires them when operating on the entire params hash tracks multiple calls to #permit for different subparameters accepts a subset of the permitted attributes rejects when #permit has not been called accepts all of the permitted attributes rejects attributes that have not been permitted #for when given a custom action and verb calls the action with the verb when given :create POSTs to the controller when given :update PATCHes to the controller #description returns the correct string when a verb is specified returns the correct string positive failure message when no parameters were permitted returns the correct message qualified with #on when the subparameter was required but no parameters were permitted returns the correct message but some, but not all, parameters were permitted returns the correct message when the subparameter was never required returns the correct message when some, but not all, parameters were permitted returns the correct message, including missing attributes #matches? does not raise an error when #fetch was used instead of #require (issue #495) stubbing params on the controller still allows #require to return a slice of the params prevents permanently stubbing params on error does not permanently stub the params hash still allows the original params hash to be modified and accessed prior to the call to #require when operating on a slice of the params hash rejects when #permit has not been called accepts all of the permitted attributes accepts a subset of the permitted attributes rejects attributes that have not been permitted rejects if asserting that parameters were not permitted, but on the wrong slice tracks multiple calls to #permit for different subparameters tracks multiple calls to #permit for the same subparameter negative failure message returns the correct message qualified with #on returns the correct message Shoulda::Matchers::Doublespeak::ProxyImplementation #returns delegates to its stub_implementation #call delegates to its stub_implementation returns the return value of the original method calls #call_original_method on the double Shoulda::Matchers::ActionController::FilterParamMatcher accepts filtering a parameter matching a filtered regex accepts filtering a filtered parameter rejects filtering an unfiltered parameter Shoulda::Matchers::ActiveModel::ValidatePresenceOfMatcher a has_one_attached association without a presence validation requires the attribute to be set a has_many_attached association without a presence validation does not require the attribute to be set a has_and_belongs_to_many association with a presence validation on it accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) qualified with allow_nil when validating a model without a presence validator matches in the negative does not match in the positive when validating a model with a presence validator matches in the negative and it is not specified with allow_nil: true does not match in the positive and it is specified with allow_nil: true matches in the positive does not match in the negative against a pre-set password in a model that has_secure_password does not raises a CouldNotSetPasswordError a model with a presence validation does not override the default message with a blank fails when used in the negative accepts when the column backing the attribute is a scalar, but not a string still works it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message when the attribute is decorated with serialize and the serializer is something custom still works and the serializer is JSON still works and the serializer is a built-in Ruby type and the type is a string still works and the type is not a string still works when the attribute typecasts nil to another blank value, such as an empty array accepts (and does not raise an AttributeChangedValueError) a model without a presence validation rejects with the correct failure message a has_many association with a presence validation requires the attribute to be set it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) and the value change causes a test failure lists how the value got changed in the failure message a has_many_attached association with a presence validation requires the attribute to be set it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) against a belongs_to association declared with optional: false and an explicit presence validation is not on the association does not match, instructing the user to use belongs_to instead and an explicit presence validation is on the association matches declared with optional: true and an explicit presence validation is not on the association does not match and an explicit presence validation is on the association matches not declared with an optional or required option when belongs_to is configured to be required by default and an explicit presence validation is not on the association does not match, instructing the user to use belong_to instead and an explicit presence validation is on the association matches when belongs_to is configured to be optional by default and an explicit presence validation is not on the association does not match and an explicit presence validation is on the association matches declared with required: true and an explicit presence validation is not on the association does not match, instructing the user to use belongs_to instead and an explicit presence validation is on the association matches declared with required: false and an explicit presence validation is not on the association does not match and an explicit presence validation is on the association matches a strictly required attribute accepts when the :strict options match does not override the default message with a blank rejects with the correct failure message when the :strict options do not match an attribute with a context-dependent validation with the validation context matches without the validation context does not match a has_one_attached association with a presence validation requires the attribute to be set it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) an i18n translation containing %{attribute} and %{model} does not raise an exception an ActiveModel class with a presence validation accepts does not override the default message with a blank when the attribute has not been configured with a type and it is assumed to be something other than a string still works it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) when the attribute has been configured with a type and it is a string works and it is not a string still works a has_many association without a presence validation does not require the attribute to be set an ActiveModel class without a presence validation rejects with the correct failure message a has_and_belongs_to_many association without a presence validation on it rejects with the correct failure message Shoulda::Matchers::ActionController::RouteMatcher given a controller that is namespaced given a controller and action specified as individual options when all parts of the expected route but the path match an existing route rejects when the actual route has a param and the expected params do not match the actual params rejects and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string when all parts of the expected route but the action match an existing route rejects when the existing route has a glob segment and a param is given which represents the segment accepts and no param is given which represents the segment rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a symbol accepts as a string accepts when no parts of the expected route match an existing route rejects when all parts of the expected route but the controller match an existing route rejects when all parts of the expected route match an existing route accepts and the expected controller is specified as a symbol accepts and the expected action is specified as a symbol accepts when all parts of the expected route but the method match an existing route rejects given a controller and action joined together in a string when all parts of the expected route but the controller match an existing route rejects when the actual route has a param and the expected params do not match the actual params rejects and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string when all parts of the expected route but the method match an existing route rejects when the existing route has a glob segment and no param is given which represents the segment rejects and a param is given which represents the segment accepts when all parts of the expected route but the path match an existing route rejects when all parts of the expected route but the action match an existing route rejects when all parts of the expected route match an existing route accepts and the expected action is specified as a symbol accepts and the expected controller is specified as a symbol accepts when no parts of the expected route match an existing route rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a string accepts as a symbol accepts given just an action when no parts of the expected route match an existing route rejects when all parts of the expected route but the action match an existing route rejects when all parts of the expected route but the path match an existing route rejects when all parts of the expected route but the method match an existing route rejects when the actual route has a param and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string and the expected params do not match the actual params rejects when all parts of the expected route match an existing route accepts and the expected action is specified as a symbol accepts when the actual route has a default param whose value is a symbol and the expected params include a value for it as a symbol accepts as a string accepts when the existing route has a glob segment and a param is given which represents the segment accepts and no param is given which represents the segment rejects given a controller that is not namespaced given just an action when all parts of the expected route but the action match an existing route rejects when the actual route has a param and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string and the expected params do not match the actual params rejects when all parts of the expected route but the method match an existing route rejects when the existing route has a glob segment and no param is given which represents the segment rejects and a param is given which represents the segment accepts when no parts of the expected route match an existing route rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a string accepts as a symbol accepts when all parts of the expected route but the path match an existing route rejects when all parts of the expected route match an existing route accepts and the expected action is specified as a symbol accepts given a controller and action specified as individual options when all parts of the expected route but the action match an existing route rejects when no parts of the expected route match an existing route rejects when all parts of the expected route but the path match an existing route rejects when the actual route has a param and the expected params do not match the actual params rejects and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string when all parts of the expected route but the controller match an existing route rejects when all parts of the expected route but the method match an existing route rejects when the existing route has a glob segment and a param is given which represents the segment accepts and no param is given which represents the segment rejects when all parts of the expected route match an existing route accepts and the expected controller is specified as a symbol accepts and the expected action is specified as a symbol accepts when the actual route has a default param whose value is a symbol and the expected params include a value for it as a symbol accepts as a string accepts given a controller and action joined together in a string when all parts of the expected route but the action match an existing route rejects when the actual route has a param and the expected params do not match the actual params rejects and the expected params include that param accepts but its value was not specified as a string accepts, treating it as a string when all parts of the expected route but the controller match an existing route rejects when all parts of the expected route but the path match an existing route rejects when all parts of the expected route but the method match an existing route rejects when the actual route has a default param whose value is a symbol and the expected params include a value for it as a string accepts as a symbol accepts when all parts of the expected route match an existing route accepts and the expected controller is specified as a symbol accepts and the expected action is specified as a symbol accepts when the existing route has a glob segment and no param is given which represents the segment rejects and a param is given which represents the segment accepts when no parts of the expected route match an existing route rejects Shoulda::Matchers::ActionController::RouteParams #normalize when the route parameters is a string and a hash produces a hash of route parameters when the route parameters is a hash stringifies the values in the hash when the route params is a string produces a hash of route params Shoulda::Matchers::ActionController::RespondWithMatcher a controller responding with error /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728400' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects responding with another status /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728496' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a numeric response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728592' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a symbol response code a controller responding with missing /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728696' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a numeric response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728792' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a symbol response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728888' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects responding with another status a controller responding with success /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_728992' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a symbol response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729088' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a numeric response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729184' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects responding with another status a controller responding with not_implemented /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729288' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a symbol response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729384' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects responding with another status /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729480' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a numeric response code a controller responding with redirect /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729584' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects responding with another status /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729680' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a symbol response code /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_729776' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts responding with a numeric response code Shoulda::Matchers::Doublespeak::DoubleImplementationRegistry .find raises an ArgumentError if not given a registered implementation returns an instance of StubImplementation if given :stub returns ProxyImplementation if given :proxy Shoulda::Matchers::ActionController::RenderTemplateMatcher a controller that renders a partial /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples__customer_html_erb___4458118594207290981_730008' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/_customer.html.erb:0 may be ignored rejects rendering a different template /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples__customer_html_erb___4458118594207290981_730104' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/_customer.html.erb:0 may be ignored rejects rendering a different template in the given context /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples__customer_html_erb___4458118594207290981_730200' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/_customer.html.erb:0 may be ignored accepts rendering that template in the given context /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples__customer_html_erb___4458118594207290981_730296' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/_customer.html.erb:0 may be ignored accepts rendering that partial a controller that does not render a template rejects rendering a template a controller that does not render partials /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_show_html_erb__2220548537545812886_730496' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/show.html.erb:0 may be ignored accepts not rendering a partial a controller that renders a partial several times accepts rendering that partial twice a controller that renders a template /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_show_html_erb__2220548537545812886_730704' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/show.html.erb:0 may be ignored accepts rendering that template in the given context /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_show_html_erb__2220548537545812886_730800' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/show.html.erb:0 may be ignored accepts rendering that template /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_show_html_erb__2220548537545812886_730896' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/show.html.erb:0 may be ignored rejects rendering a different template /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_show_html_erb__2220548537545812886_730992' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/show.html.erb:0 may be ignored rejects rendering a different template in the given context Shoulda::Matchers.word_wrap can wrap a numbered list, using x) instead of x. as the leader can wrap a bulleted list considers punctuation as part of a word can wrap multiple paragraphs re-wraps numbered lists re-wraps entire paragraphs does not break at the maximum line length, but afterward re-wraps numbered lists using x) instead of x. as the leader doesn't mess with indented blocks can wrap a simple paragraph can wrap a numbered list does not split words up when wrapping re-wraps bulleted lists when :indent is given uses the given indentation level when determining where to wrap lines given a string with a word longer than the max character limit which is preceded by some text leaves the word on its own line which is followed by some text leaves the word on its own line which stands on its own simply returns the string Shoulda::Matchers::ActiveModel::ValidateAcceptanceOfMatcher a model with an acceptance validation accepts when the attributes match fails when used in the negative does not overwrite the default message with nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message and the value change does not cause a test failure accepts (and does not raise an error) a model without an acceptance validation rejects an attribute which must be accepted with a custom message accepts when the message matches rejects when the message does not match Shoulda::Matchers::ActiveRecord::SerializeMatcher accepts when the attribute is serialized when attribute is not serialized assigns a helpful failure message when using #as rejects assigns a helpful failure message when using #as_instance_of assigns a helpful failure message an attribute that will end up being serialized as YAML rejects when the types do not match rejects when using as_instance_of accepts when the types match a serializer that is an instance of a class rejects when using #as accepts when using #as_instance_of Shoulda::Matchers::ActiveRecord::HaveAttachedMatcher have_many_attached when the attached exists on the model matches and the blobs association is invalid matches and the eager loading scope does not exist matches and the reader attribute does not exist matches and the attachments association does not exist matches and the writer attribute does not exist matches #description returns the message with the name of the association have_one_attached #description returns the message with the name of the association when the attached exists on the model matches and the attachments association does not exist matches and the reader attribute does not exist matches and the eager loading scope does not exist matches and the writer attribute does not exist matches and the blobs association is invalid matches Shoulda::Matchers::ActionController::RenderWithLayoutMatcher a controller that renders without a layout /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_733208' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects rendering with a layout a controller that renders a partial /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples__partial_html_erb___938178374686602705_733312' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/_partial.html.erb:0 may be ignored rejects rendering with a layout given a context with layouts /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_733416' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts that layout in that context a controller that renders with a layout /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_733520' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored rejects rendering with another layout /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_733624' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts rendering with any layout /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_733728' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts rendering with that layout Shoulda::Matchers::ActiveRecord::AcceptNestedAttributesForMatcher rejects a missing declaration accepts an existing declaration limit accepts a correct value rejects a false value update_only accepts a valid truthy value accepts a valid falsey value rejects an invalid falsey value rejects an invalid truthy value allow_destroy rejects an invalid falsey value accepts a valid truthy value rejects an invalid truthy value accepts a valid falsey value Shoulda::Matchers::Doublespeak .double_collection_for delegates to its world .with_doubles_activated delegates to its world Shoulda::Matchers::Doublespeak::StubImplementation #call calls #record_call on the double if the implementation was set as a value returns the set return value if no explicit implementation was set returns nil if the implementation was set as both a value and a block prefers the block over the value if the implementation was set as a block returns the return value of the block calls the block with the MethodCall object the implementation was called with Shoulda::Matchers::ActiveModel::DisallowValueMatcher an attribute with a format validation and a custom message does not match if the value and message are both correct matches if the message is correct but the value is not delegates its failure message to its allow matcher's negative failure message an attribute with a context-dependent validation with the validation context does not match a good value disallows a bad value without the validation context does not match an attribute where the message occurs on another attribute does not match if the value and message are both correct matches if the message is correct but the value is not an attribute with a format validation matches if the value is not allowed does not match if the value is allowed Shoulda::Matchers::ActionController::SetSessionMatcher behaves like set session or flash matcher without any qualifiers produces the right description in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_735288' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the store is empty rejects produces the correct failure message if the store is not empty /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_735576' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts with #[] produces the right description in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_735744' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given key is not present in the store produces the correct failure message rejects if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736032' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a symbol /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736128' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a string with #to given a static value produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736296' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736400' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736496' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_736592' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false if the given value is not present in the store rejects rejects checking for nil produces the correct failure message given a regexp produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737032' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is not present in the store rejects produces the correct failure message if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737320' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737416' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737512' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false with #[] + #to given a static value produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737680' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is not present in the store rejects produces the correct failure message if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_737968' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a dynamic value produces the right description in the positive if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_738144' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts if the value evaluated in the context is not present in the store rejects produces the correct failure message in the negative if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_738464' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message Shoulda::Matchers::Independent::DelegateMethodMatcher raises an error if the delegate object was never specified before matching qualified with #as when the given method is not the same as the subject's delegating method rejects with the correct failure message when the given method is the same as the subject's delegating method accepts negating the assertion rejects with the correct failure message when the delegating method is private accepts when the subject delegates correctly accepts negating the matcher rejects with the correct failure message when the subject does not delegate anything when the subject is a class uses the proper syntax for class methods in errors when the subject is an instance rejects with the correct failure message qualified with #with_arguments qualified with #with_arguments when the subject delegates with matching arguments accepts negating the matcher rejects with the correct failure message when not given the correct arguments rejects with the correct failure message qualified with #allow_nil when using delegate from Rails when delegations were not defined with :allow_nil rejects with the correct failure message when delegations were defined with :allow_nil accepts when delegating manually when the delegating method accounts for the delegate object being nil accepts when the delegating method does not account for the delegate object being nil rejects with the correct failure message when using Forwardable when the delegate object is nil rejects with the correct failure message #description when the subject is a class without any qualifiers states that it should delegate method to the right object qualified with #as states that it should delegate method to the right object and method qualified with #with_arguments states that it should delegate method to the right object with right argument when the subject is an instance qualified with #with_arguments states that it should delegate method to the right object with right argument qualified with #as states that it should delegate method to the right object and method qualified with #with_prefix as true when the subject's delegating method also has a prefix produces the correct description without arguments when the subject's delegating method also has a prefix produces the correct description as a symbol/string should delegate as (prefix_supplied)_(method_on_target) without any qualifiers states that it should delegate method to the right object qualified with #with_prefix without arguments when the subject's delegating method does not have a prefix rejects with the correct failure message when the subject's delegating method also has a prefix accepts as true when the subject's delegating method does not have a prefix rejects with the correct failure message when the subject's delegating method also has a prefix accepts as a symbol/string when the subject's delegating method has the same prefix accepts when the subject's delegating method has a different prefix rejects with the correct failure message stubbing a delegating method on an instance only happens temporarily and is removed after the match Shoulda::Matchers::ActionController::SetFlashMatcher when the controller sets both flash and flash.now /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740040' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored does not mix flash and flash.now when the now qualifier is called after the to qualifier raises a QualifierOrderError behaves like set session or flash matcher with #to given a regexp produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740304' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740408' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740504' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740600' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts if the given value is not present in the store produces the correct failure message rejects given a static value produces the right description in the positive if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_740952' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_741048' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_741144' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts if the given value is not present in the store produces the correct failure message rejects rejects checking for nil in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_741520' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message without any qualifiers produces the right description in the positive if the store is not empty /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_741688' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts if the store is empty rejects produces the correct failure message in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_741976' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message with #[] + #to given a dynamic value produces the right description in the negative if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_742160' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the value evaluated in the context is not present in the store rejects produces the correct failure message if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_742464' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a static value produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_742640' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is not present in the store produces the correct failure message rejects if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_742928' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts with #[] produces the right description in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_743096' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_743200' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a string /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_743296' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a symbol if the given key is not present in the store rejects produces the correct failure message when the now qualifier is called after the key is set raises a QualifierOrderError behaves like set session or flash matcher with #[] + #to given a static value produces the right description in the positive if the given value is not present in the store rejects produces the correct failure message if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_743928' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_744032' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message given a dynamic value produces the right description in the negative if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_744216' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the value evaluated in the context is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_744320' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts if the value evaluated in the context is not present in the store rejects produces the correct failure message without any qualifiers produces the right description in the positive if the store is empty produces the correct failure message rejects if the store is not empty /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_744880' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_744984' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message with #[] produces the right description in the negative if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745152' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given key is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745256' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a string /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745352' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts the param as a symbol if the given key is not present in the store produces the correct failure message rejects with #to given a regexp produces the right description in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745704' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message in the positive if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745808' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_745904' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_746000' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil if the given value is not present in the store produces the correct failure message rejects given a static value produces the right description in the positive if the given value is not present in the store produces the correct failure message rejects checking for nil rejects if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_746624' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of nil /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_746720' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_746816' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored accepts given a value of false in the negative if the given value is present in the store /usr/share/gems/gems/actionview-7.0.8/lib/action_view/base.rb:244: warning: the block passed to '_tmp_views_examples_example_html_erb___3839114121014571515_746920' defined at /tmp/shoulda-matchers-acceptance/test-project/tmp/views/examples/example.html.erb:0 may be ignored produces the correct failure message Shoulda::Matchers::Doublespeak::ObjectDouble responds to any method records every method call returns nil from any method call #calls_to returns all of the invocations of the given method and their arguments/block returns an empty array if the given method was never called Shoulda::Matchers::ActiveRecord::HaveReadonlyAttributeMatcher a read-only attribute accepts an attribute on a class with no readonly attributes assigns a failure message rejects being read-only an attribute that is not part of the read-only set rejects being read-only Shoulda::Matchers::ActionController::SetSessionOrFlashMatcher with #to given a static value produces the right description in the negative if the given value is present in the store produces the correct failure message in the positive if the given value is present in the store accepts given a value of nil accepts given a value of false accepts if the given value is not present in the store rejects produces the correct failure message given a regexp produces the right description in the negative if the given value is present in the store produces the correct failure message in the positive if the given value is present in the store accepts if the given value is not present in the store rejects produces the correct failure message given a dynamic value requires in_context to be specified beforehand produces the right description in the negative if the value evaluated in the context is present in the store produces the correct failure message in the positive if the value evaluated in the context is present in the store accepts if the value evaluated in the context is not present in the store produces the correct failure message rejects without any qualifiers produces the right description in the negative if the given key is present in the store produces the correct failure message in the positive if the store is empty rejects produces the correct failure message if the store is not empty accepts with #[] + #to given a dynamic value produces the right description in the negative if the value evaluated in the context is present in the store produces the correct failure message in the positive if the value evaluated in the context is not present in the store rejects produces the correct failure message if the value evaluated in the context is present in the store accepts given a static value produces the right description in the negative if the given value is present in the store produces the correct failure message in the positive if the given value is not present in the store produces the correct failure message rejects if the given value is present in the store accepts with #[] produces the right description in the positive if the given key is present in the store accepts if the given key is not present in the store rejects produces the correct failure message in the negative if the given key is present in the store produces the correct failure message Shoulda::Matchers::ActionController::RescueFromMatcher a controller that rescues from RuntimeError asserts controller is setup with rescue_from without a handler method the handler method is not included in the description with a handler method asserts rescue_from was not set up with incorrect handler method asserts rescue_from can find the handler when it is public asserts rescue_from can find the handler when it is private asserts rescue_from can find the handler when it is protected asserts the controller responds to the handler method a controller that does not rescue from RuntimeError asserts controller is not setup with rescue_from Shoulda::Matchers::ActiveModel::ValidateAbsenceOfMatcher a non-absent has_and_belongs_to_many association rejects with the correct failure message an i18n translation containing %{attribute} and %{model} does not raise an exception a has_many association without an absence validation does not require the attribute to not be set an absent has_and_belongs_to_many association accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) a model without an absence validation rejects with the correct failure message an ActiveModel class with an absence validation does not override the default message with a blank accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) an ActiveModel class without an absence validation rejects with the correct failure message an attribute with a context-dependent validation without the validation context does not match with the validation context matches a has_many association with an absence validation requires the attribute to not be set it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) a model with an absence validation does not override the default message with a present accepts when column is of type string accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type time accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when used in the negative fails when column is of type decimal accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when the column backing the attribute is an enum still works when column is of type integer accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type date accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type binary accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type datetime accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type timestamp accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type float accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) when column is of type text accepts it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change does not cause a test failure accepts (and does not raise an error) Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflection delegates other methods to the given Reflection object #associated_class returns the model that the association refers to #join_table_name when the association was defined with a :join_table option returns the value of the option when the association was not defined with :join_table returns the default join_table that ActiveRecord generates #association_relation when the reflection object has a #scope method when the scope is nil returns an empty scope when the scope is a block passes the object that has the association to the block executes the block in the context of an empty scope #through? returns true if the reflection is for a has_many :through association returns false if not Shoulda::Matchers::Doublespeak::Double #call_original_method does not store the original method multiple times when a method is doubled multiple times binds the stored method object to the given object and calls it with the given args and block does nothing if no method has been stored #to_return tells its implementation to return the given value prefers a block over a non-block tells its implementation to call the given block initializer if doubles are currently activated on the world level immediately activates the new Double #record_call adds the given call to the list of calls #activate replaces the method with an implementation #deactivate does nothing if the method has not been doubled still restores the original method if #activate was called twice restores the original method after being doubled Shoulda::Matchers::ActiveModel::AllowValueMatcher an attribute with a validation given several good values when used in the negative rejects with an appropriate failure message when used in the positive accepts given bad values along with good values when used in the positive rejects with an appropriate failure message when used in the negative rejects with an appropriate failure message given one bad value when used in the positive rejects with an appropriate failure message when used in the negative accepts given several bad values when used in the positive rejects with an appropriate failure message when used in the negative accepts given good values along with bad values when used in the negative rejects with an appropriate failure message when used in the positive rejects with an appropriate failure message given one good value when used in the negative rejects with an appropriate failure message when used in the positive accepts with no values raises an error an attribute with a validation and a custom message allows a good value rejects a bad value with an appropriate failure message when the custom messages do not match rejects with an appropriate failure message when interpolation values are provided along with a custom message when the messages do not match rejects with an appropriate failure message when the messages match accepts when the attribute does not exist on the model when the assertion is positive raises an AttributeDoesNotExistError when the assertion is negative raises an AttributeDoesNotExistError with a single value allows you to call description before calling matches? when the attribute interferes with attempts to be set when the attribute cannot be changed from non-nil to nil and the record remains valid accepts (and does not raise an AttributeChangedValueError) and the record becomes invalid rejects with an appropriate failure message when the attribute cannot be changed from a non-nil value to another non-nil value and the record remains valid accepts (and does not raise an AttributeChangedValueError) and the record becomes invalid rejects with an appropriate failure message when the attribute cannot be changed from nil to non-nil and the record becomes invalid rejects with an appropriate failure message and the record remains valid accepts (and does not raise an AttributeChangedValueError) #_after_setting_value sets a block which is yielded after each value is set on the attribute when the attribute being validated is different than the attribute that receives the validation error when the validation error message was provided directly given an invalid value rejects if the messages do not match technically accepts given a valid value accepts when the validation error message was provided via i18n passes given a valid value fails given an invalid value an attribute with several validations does not match given bad values along with good values does not match given multiple bad values does not match given good values along with bad values does not match given a bad value matches given a good value given attributes to preset on the record before validation when the assertion is positive if any attributes do not exist on the model raises an AttributeDoesNotExistError when the assertion is negative if any attributes do not exist on the model raises an AttributeDoesNotExistError an attribute with a context-dependent validation without the validation context allows a bad value with the validation context rejects a bad value allows a good value #description describes itself with more than two values truncates the description when long describes itself with two values describes itself with a single value given an ActiveRecord model where the attribute under test is an enum and the given value is a value in that enum accepts Shoulda::Matchers::ActiveModel #allow_values is aliased to #allow_value Shoulda::Matchers::ActiveRecord::DefineEnumForMatcher with values specified using #with produces a warning if the attribute is defined as an enum but is an alias matches if the attribute is given in plural form accidentally rejects with an appropriate failure message with both attribute name and enum values specified when the actual enum values are a hash if the attribute is not defined as an enum rejects with an appropriate failure message if the attribute is defined as an enum and the enum values match when expected enum values are an array matches has the right description when expected enum values are a hash matches has the right description but the enum values do not match rejects with an appropriate failure message when the actual enum values are an array if the attribute is defined as an enum and the enum values match has the right description matches but the enum values do not match rejects with an appropriate failure message if the attribute is not defined as an enum rejects with an appropriate failure message if a method to hold enum values exists on the model but was not created via the enum macro rejects with an appropriate failure message with only the attribute name specified if the column storing the attribute is not an integer type rejects with an appropriate failure message if the attribute is defined as an enum matches has the right description if the attribute is not defined as an enum rejects with an appropriate failure message with the backing column specified to be of some type if the column storing the attribute is of the same type has the right description matches if the column storing the attribute is of a different type rejects with an appropriate failure message qualified with both #with_prefix and #with_suffix if the attribute was not defined with a different prefix rejects with an appropriate failure message if the attribute was defined with the same prefix and suffix matches has the right description if the attribute was defined with a different suffix rejects with an appropriate failure message qualified with #with_suffix when the suffix is explicit if the attribute was defined with a different suffix rejects with an appropriate failure message if the attribute was not defined with a suffix rejects with an appropriate failure message if the attribute was defined with the same suffix has the right description matches when the suffix is implicit if the attribute was defined with a suffix matches has the right description if the attribute was not defined with a suffix rejects with an appropriate failure message qualified with #with_prefix when the prefix is explicit if the attribute was defined with a different prefix rejects with an appropriate failure message if the attribute was not defined with a prefix rejects with an appropriate failure message if the attribute was defined with the same prefix matches has the right description when the prefix is implicit if the attribute was defined with a prefix has the right description matches if the attribute was not defined with a prefix rejects with an appropriate failure message Shoulda::Matchers::ActiveModel::ValidateInclusionOfMatcher for a plain Ruby attribute against a string attribute behaves like it supports in_array raises an error when valid and given value is our test outside value does not match when one of the given values is invalid matches given a subset of the valid values matches given the same array of valid values fails when used in the negative behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given nil is as if with_message had never been called given a string does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses the default message instead of given message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex not having been qualified matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message matches when the validation uses the default message behaves like it supports with_message given a string does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n against a boolean attribute (designated by true) when ensuring inclusion of true and false prints a warning prints a warning matches when ensuring inclusion of false matches when ensuring inclusion of true matches against a boolean attribute (designated by false) when ensuring inclusion of true matches when ensuring inclusion of false matches when ensuring inclusion of true and false matches prints a warning prints a warning against an integer attribute when attribute validates a range of values via custom validation matches ensuring the correct range and messages behaves like it supports in_range does not match a record with no validations matches given a range that exactly matches the valid range does not match given a range whose start value falls outside valid range does not match given a range whose start value falls inside valid range does not match given a range whose end value falls inside valid range does not match given a range whose end value falls outside valid range behaves like it supports allow_blank matches when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given a regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given nil is as if with_message had never been called given a string matches when validation uses given message does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation does not specify allow_nil matches when the validation specifies allow_nil behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports in_array matches when one of the given values is a zero raises an error when valid and given value is our test outside value fails when used in the negative matches given a subset of the valid values does not match when one of the given values is invalid matches given the same array of valid values when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex given a string matches when validation uses given message does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a string does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given behaves like it supports allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank against a float attribute behaves like it supports in_range does not match given a range whose end value falls outside valid range does not match given a range whose start value falls inside valid range does not match given a range whose start value falls outside valid range does not match given a range whose end value falls inside valid range matches given a range that exactly matches the valid range does not match a record with no validations behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given nil is as if with_message had never been called given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil matches when the validation specifies allow_nil matches when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given a string does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports in_array matches given the same array of valid values matches when one of the given values is a zero raises an error when valid and given value is our test outside value fails when used in the negative matches given a subset of the valid values does not match when one of the given values is invalid behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a string does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message matches when validation uses given message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex behaves like it supports with_message given nil is as if with_message had never been called given a string matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward when the record has no validations passes when used in the negative fails when used in the positive with an appropriate failure message behaves like it supports allow_blank matches when the validation specifies allow_blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message against a date attribute behaves like it supports in_array matches given a subset of the valid values matches given the same array of valid values fails when used in the negative raises an error when valid and given value is our test outside value does not match when one of the given values is invalid behaves like it supports allow_nil does not match when the validation does not specify allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank when the record has no validations passes when used in the negative fails when used in the positive with an appropriate failure message behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given a string does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given a string does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex behaves like it supports in_range does not match a record with no validations does not match given a range whose start value falls inside valid range matches given a range that exactly matches the valid range does not match given a range whose start value falls outside valid range does not match given a range whose end value falls inside valid range does not match given a range whose end value falls outside valid range behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given nil is as if with_message had never been called it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message given a regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward matches when the validation does not specify allow_nil against a decimal attribute behaves like it supports in_array matches given a subset of the valid values raises an error when valid and given value is our test outside value matches given the same array of valid values matches when one of the given values is a zero fails when used in the negative does not match when one of the given values is invalid behaves like it supports allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil matches when the validation specifies allow_nil behaves like it supports with_message given a regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a string does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message behaves like it supports allow_blank matches when the validation specifies allow_blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank behaves like it supports with_message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n behaves like it supports in_range does not match given a range whose start value falls outside valid range does not match given a range whose start value falls inside valid range matches given a range that exactly matches the valid range does not match given a range whose end value falls outside valid range does not match a record with no validations does not match given a range whose end value falls inside valid range behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given a string does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message given a regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex given a string does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called behaves like it supports allow_nil matches when the validation does not specify allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil against an attribute with a specific column limit does not raise an exception when attempting to use the matcher against a datetime attribute behaves like it supports in_array fails when used in the negative matches given the same array of valid values raises an error when valid and given value is our test outside value does not match when one of the given values is invalid matches given a subset of the valid values behaves like it supports with_message given a string matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message behaves like it supports with_message not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a string matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank when the record has no validations passes when used in the negative fails when used in the positive with an appropriate failure message behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports in_range does not match a record with no validations matches given a range that exactly matches the valid range does not match given a range whose start value falls outside valid range does not match given a range whose start value falls inside valid range does not match given a range whose end value falls inside valid range does not match given a range whose end value falls outside valid range behaves like it supports allow_nil matches when the validation specifies allow_nil matches when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given a string does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses the default message instead of given message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message given nil is as if with_message had never been called behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message against a time attribute behaves like it supports in_array does not match when one of the given values is invalid matches given a subset of the valid values fails when used in the negative matches given the same array of valid values behaves like it supports allow_nil matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given nil is as if with_message had never been called given a regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex given a string matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message behaves like it supports with_message given a string matches when validation uses given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports in_range does not match a record with no validations does not match given a range whose start value falls inside valid range matches given a range that exactly matches the valid range does not match given a range whose end value falls inside valid range does not match given a range whose start value falls outside valid range does not match given a range whose end value falls outside valid range behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message matches when the validation uses the default message given nil is as if with_message had never been called given a string does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation does not specify allow_nil matches when the validation specifies allow_nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given a string does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex given nil is as if with_message had never been called #description given a range of values returns the correct string given an array of values when there is one value returns the correct string when there are three or more values returns the correct string when there are two values returns the correct string for a database column against an attribute with a specific column limit does not raise an exception when attempting to use the matcher against a decimal attribute behaves like it supports in_array matches when one of the given values is a zero fails when used in the negative matches given a subset of the valid values raises an error when valid and given value is our test outside value matches given the same array of valid values does not match when one of the given values is invalid when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil matches when the validation specifies allow_nil behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports with_message given a string matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given matches when validation uses given message does not match when validation uses the default message instead of given message given nil is as if with_message had never been called given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n behaves like it supports with_message given a string matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports in_range does not match given a range whose start value falls outside valid range does not match a record with no validations does not match given a range whose end value falls outside valid range does not match given a range whose start value falls inside valid range matches given a range that exactly matches the valid range does not match given a range whose end value falls inside valid range behaves like it supports with_message not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given nil is as if with_message had never been called behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil matches when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given a string matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given matches when validation uses given message does not match when validation uses the default message instead of given message given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message against a boolean attribute which is nullable when ensuring inclusion of nil matches prints a warning when ensuring inclusion of true and false prints a warning matches prints a warning when ensuring inclusion of false matches when ensuring inclusion of true matches which is non-nullable when ensuring inclusion of nil raises a specific error when ensuring inclusion of true and false prints a warning prints a warning matches when ensuring inclusion of false matches when ensuring inclusion of true matches against a string attribute behaves like it supports in_array matches given a subset of the valid values fails when used in the negative raises an error when valid and given value is our test outside value matches given the same array of valid values does not match when one of the given values is invalid it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given a string matches when validation uses given message does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable given a regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given nil is as if with_message had never been called behaves like it supports allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil matches when the validation specifies allow_nil behaves like it supports with_message not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given a string matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank against a timestamp column behaves like it supports in_range does not match given a range whose start value falls outside valid range does not match given a range whose end value falls outside valid range does not match given a range whose end value falls inside valid range matches given a range that exactly matches the valid range does not match a record with no validations does not match given a range whose start value falls inside valid range behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports with_message given nil is as if with_message had never been called given a string matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message behaves like it supports allow_blank matches when the validation specifies allow_blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex given a string matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil matches when the validation does not specify allow_nil behaves like it supports in_array matches given a subset of the valid values raises an error when valid and given value is our test outside value does not match when one of the given values is invalid matches given the same array of valid values fails when used in the negative behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message matches when the validation uses the default message given a string does not match when validation uses the default message instead of given message matches when validation uses given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given a regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a string matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil against a time attribute behaves like it supports in_range matches given a range that exactly matches the valid range does not match given a range whose start value falls outside valid range does not match a record with no validations does not match given a range whose start value falls inside valid range does not match given a range whose end value falls outside valid range does not match given a range whose end value falls inside valid range behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given a string does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable behaves like it supports with_message not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given nil is as if with_message had never been called given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports allow_blank matches when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation does not specify allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports in_array matches given a subset of the valid values does not match when one of the given values is invalid fails when used in the negative matches given the same array of valid values behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given nil is as if with_message had never been called given a string matches when validation uses given message does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable behaves like it supports allow_nil matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given nil is as if with_message had never been called given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message against an integer attribute when attribute validates a range of values via custom validation matches ensuring the correct range and messages behaves like it supports in_range does not match given a range whose end value falls outside valid range does not match a record with no validations matches given a range that exactly matches the valid range does not match given a range whose start value falls inside valid range does not match given a range whose end value falls inside valid range does not match given a range whose start value falls outside valid range behaves like it supports allow_nil matches when the validation specifies allow_nil matches when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports with_message not having been qualified matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message matches when the validation uses the default message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given a string matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called behaves like it supports allow_blank matches when the validation specifies allow_blank it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation does not specify allow_blank matches when the validation specifies allow_blank behaves like it supports with_message given nil is as if with_message had never been called given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message behaves like it supports in_array does not match when one of the given values is invalid fails when used in the negative matches given the same array of valid values matches when one of the given values is a zero raises an error when valid and given value is our test outside value matches given a subset of the valid values behaves like it supports with_message not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex given a string matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message given nil is as if with_message had never been called when the record has no validations passes when used in the negative fails when used in the positive with an appropriate failure message behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given a string matches when validation uses given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward does not match when the validation does not specify allow_nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank against a datetime attribute behaves like it supports in_array matches given the same array of valid values does not match when one of the given values is invalid fails when used in the negative matches given a subset of the valid values raises an error when valid and given value is our test outside value behaves like it supports allow_blank does not match when the validation does not specify allow_blank matches when the validation specifies allow_blank when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports with_message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given nil is as if with_message had never been called given a regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given nil is as if with_message had never been called given a string matches when validation uses given message does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message does not match when validation uses a message but it does not match regex behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports in_range does not match given a range whose start value falls outside valid range does not match a record with no validations matches given a range that exactly matches the valid range does not match given a range whose end value falls inside valid range does not match given a range whose start value falls inside valid range does not match given a range whose end value falls outside valid range behaves like it supports with_message given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given a string matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation does not specify allow_nil matches when the validation specifies allow_nil behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given nil is as if with_message had never been called behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message against a date attribute behaves like it supports in_range matches given a range that exactly matches the valid range does not match given a range whose start value falls outside valid range does not match given a range whose end value falls outside valid range does not match given a range whose end value falls inside valid range does not match given a range whose start value falls inside valid range does not match a record with no validations behaves like it supports allow_nil matches when the validation does not specify allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message matches when the validation uses the default message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message that has an interpolated variable matches when validation uses given message behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports with_message not having been qualified matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n does not match when the validation is configured with an overridden message given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message given a string does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given given nil is as if with_message had never been called behaves like it supports in_array matches given the same array of valid values does not match when one of the given values is invalid fails when used in the negative matches given a subset of the valid values raises an error when valid and given value is our test outside value behaves like it supports allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable given nil is as if with_message had never been called not having been qualified matches when the validation uses the default message does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n given nil is as if with_message had never been called given a string matches when validation uses given message that has an interpolated variable matches when validation uses given message does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message against a float attribute behaves like it supports in_range does not match given a range whose end value falls inside valid range does not match given a range whose start value falls outside valid range matches given a range that exactly matches the valid range does not match a record with no validations does not match given a range whose start value falls inside valid range does not match given a range whose end value falls outside valid range behaves like it supports allow_blank matches when the validation specifies allow_blank matches when the validation does not specify allow_blank behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil allows other qualifiers to be chained afterward matches when the validation specifies allow_nil behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given nil is as if with_message had never been called given a string does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable does not match when validation uses a message but it is not same as given not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message matches when the validation uses the default message and it is overridden in i18n it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports with_message not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a string does not match when validation uses a message but it is not same as given matches when validation uses given message does not match when validation uses the default message instead of given message matches when validation uses given message that has an interpolated variable given a regex does not match when validation uses a message but it does not match regex matches when validation uses a message that matches the regex does not match when validation uses the default message instead of given message given nil is as if with_message had never been called behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward matches when the validation does not specify allow_nil behaves like it supports in_array does not match when one of the given values is invalid fails when used in the negative matches when one of the given values is a zero matches given a subset of the valid values matches given the same array of valid values raises an error when valid and given value is our test outside value when the record has no validations fails when used in the positive with an appropriate failure message passes when used in the negative behaves like it supports allow_nil matches when the validation specifies allow_nil does not match when the validation does not specify allow_nil allows other qualifiers to be chained afterward behaves like it supports allow_blank matches when the validation specifies allow_blank behaves like it supports allow_nil matches when the validation specifies allow_nil allows other qualifiers to be chained afterward behaves like it supports with_message given nil is as if with_message had never been called not having been qualified does not match when the validation is configured with an overridden message matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message given a regex matches when validation uses a message that matches the regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message given a string does not match when validation uses the default message instead of given message does not match when validation uses a message but it is not same as given matches when validation uses given message matches when validation uses given message that has an interpolated variable it supports ignoring_interference_by_writer when the writer method for the attribute changes incoming values and the value change causes a test failure lists how the value got changed in the failure message behaves like it supports allow_blank matches when the validation specifies allow_blank does not match when the validation does not specify allow_blank behaves like it supports with_message given a regex does not match when validation uses a message but it does not match regex does not match when validation uses the default message instead of given message matches when validation uses a message that matches the regex given a string does not match when validation uses a message but it is not same as given does not match when validation uses the default message instead of given message matches when validation uses given message matches when validation uses given message that has an interpolated variable not having been qualified matches when the validation uses the default message and it is overridden in i18n matches when the validation uses the default message does not match when the validation is configured with an overridden message given nil is as if with_message had never been called Finished in 11 minutes 38 seconds (files took 12.99 seconds to load) 2485 examples, 0 failures Randomized with seed 47008 + sed -i '/add_gem '\''spring-commands-rspec'\''/ s/^/#/' spec/support/acceptance/helpers/step_helpers.rb + sed -i '/updating_bundle do |bundle|/a \ bundle.add_gem '\''spring'\''' spec/support/acceptance/helpers/step_helpers.rb + sed -i '/updating_bundle do |bundle|/a \ bundle.remove_gem '\''capybara'\''' spec/support/acceptance/helpers/step_helpers.rb + sed -i '/updating_bundle do |bundle|/a \ bundle.remove_gem '\''selenium-webdriver'\''' spec/support/acceptance/helpers/step_helpers.rb + sed -i '/updating_bundle do |bundle|/a \ bundle.remove_gem '\''debug'\''' spec/support/acceptance/helpers/step_helpers.rb + sed -i '/updating_bundle do |bundle|/a \ bundle.updating { fs.comment_lines_matching('\''Gemfile'\'', /^ *ruby ("|'\'')#{RUBY_VERSION}\\1/) }' spec/support/acceptance/helpers/step_helpers.rb + bundle exec rspec spec/acceptance Randomized with seed 10528 shoulda-matchers integrates with an ActiveModel project when using active model library [DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/spec/support/acceptance/helpers/command_helpers.rb:26) allows use of inclusion matcher from active model library and loads without errors shoulda-matchers integrates with Rails in a project that uses Spring in a project that uses the default test framework in a project that combines both RSpec and Test::Unit in a project that uses RSpec shoulda-matchers has independent matchers, specifically delegate_method and integrates with a Ruby application that uses the default test framework and integrates with a Ruby application that uses RSpec shoulda-matchers integrates with active record when using both active_record and active_model libraries allows the use of matchers from both libraries shoulda-matchers integrates with multiple libraries when using both active_record and active_model libraries allows the use of matchers from both libraries Finished in 1 minute 36.58 seconds (files took 0.25221 seconds to load) 10 examples, 0 failures Randomized with seed 10528 ~/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/shoulda-matchers-5.1.0 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-shoulda-matchers-5.1.0-10.fc42.noarch Provides: rubygem(shoulda-matchers) = 5.1.0 rubygem-shoulda-matchers = 5.1.0-10.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) rubygem(activesupport) >= 5.2.0 Processing files: rubygem-shoulda-matchers-doc-5.1.0-10.fc42.noarch Provides: rubygem-shoulda-matchers-doc = 5.1.0-10.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rubygem-shoulda-matchers-5.1.0-build/BUILDROOT Wrote: /builddir/build/RPMS/rubygem-shoulda-matchers-5.1.0-10.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-shoulda-matchers-doc-5.1.0-10.fc42.noarch.rpm Child return code was: 0