Diff of the two buildlogs: -- --- b1/build.log 2021-08-09 08:56:16.069859201 +0000 +++ b2/build.log 2021-08-09 08:57:11.647769919 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 8 20:55:32 -12 2021 -I: pbuilder-time-stamp: 1628499332 +I: Current time: Mon Sep 12 05:19:17 +14 2022 +I: pbuilder-time-stamp: 1662909557 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jan 8 00:47:45 2019 -12 +gpgv: Signature made Wed Jan 9 02:47:45 2019 +14 gpgv: using RSA key 2A7974AE2FC152D77867DA4ACE1F9C674512C22A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-rspec-rails_3.8.1-2.dsc @@ -31,136 +31,170 @@ dpkg-source: info: applying remove_git_in_gemspec.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29684/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6f620ec55b0248f9805533815921180c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='29684' - PS1='# ' - PS2='> ' + INVOCATION_ID=5ca73679375742a5ae82e2eaebe6326d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=9203 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jwJsGdyLD5/pbuilderrc_jd5E --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jwJsGdyLD5/b1 --logfile b1/build.log ruby-rspec-rails_3.8.1-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.jwJsGdyLD5/pbuilderrc_2XQ5 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jwJsGdyLD5/b2 --logfile b2/build.log ruby-rspec-rails_3.8.1-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:25 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/29684/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 12 05:19 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -457,7 +491,7 @@ Get: 233 http://deb.debian.org/debian buster/main amd64 ruby-thread-order all 1.1.0-1 [5096 B] Get: 234 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 235 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] -Fetched 56.1 MB in 2s (37.2 MB/s) +Fetched 56.1 MB in 1s (44.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1425,7 +1459,7 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/ruby-rspec-rails-3.8.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-rspec-rails-3.8.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-rspec-rails dpkg-buildpackage: info: source version 3.8.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1561,655 +1595,308 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 2055 +Randomized with seed 27608 -RSpec::Rails::MailerExampleGroup - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :mailer` - for an example group defined in a file in the ./spec/mailers/ directory - applies configured `before(:context)` hooks with `:type => :mailer` metadata - includes itself in the example group - tags groups in that directory with `:type => :mailer` - allows users to override the type - for an example group defined in a file in the .\spec\mailers\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :mailer` metadata - allows users to override the type - tags groups in that directory with `:type => :mailer` - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :mailer` - for an example group defined in a file in the ./spec/mailers/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :mailer` - for an example group defined in a file in the .\spec\mailers\ directory - does not tag groups in that directory with `:type => :mailer` - does not include itself in the example group - -be_new_record - a new record - passes - fails with custom failure message - a persisted record - fails with custom failure message - fails - -be_valid matcher - includes a failure message for the negative case - does not include the validation context if not provided - uses a custom failure message if provided - includes the error messages in the failure message - includes a brief error message for the simplest implementation of validity - includes the error messages for simple implementations of error messages - includes the validation context if provided - -RSpec::Rails::ModelExampleGroup - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :model` - for an example group defined in a file in the ./spec/models/ directory - allows users to override the type - applies configured `before(:context)` hooks with `:type => :model` metadata - tags groups in that directory with `:type => :model` - includes itself in the example group - for an example group defined in a file in the .\spec\models\ directory - tags groups in that directory with `:type => :model` - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :model` metadata - allows users to override the type - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :model` - for an example group defined in a file in the .\spec\models\ directory - does not tag groups in that directory with `:type => :model` - does not include itself in the example group - for an example group defined in a file in the ./spec/models/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :model` - -ActiveSupport::Relation match_array matcher - fails if the scope encompasses more records than on the right hand side - fails if the scope encompasses fewer records than on the right hand side - verifies that the scope returns the records on the right hand side, regardless of order - -RSpec::Rails::FixtureFileUploadSupport - with fixture path not set - resolves fixture using relative path - with fixture path set in spec - resolves fixture file - with fixture path set in config - resolves fixture file - resolves supports `Pathname` objects - -should have_xxx - works with ActiveRecord::Associations::CollectionProxy - -RSpec::Rails::FeatureExampleGroup - includes Rails route helpers - #visit - raises an error informing about missing Capybara - is resistant to load order errors - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :feature` - for an example group defined in a file in the .\spec\features\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :feature` - for an example group defined in a file in the ./spec/features/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :feature` - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :feature` - for an example group defined in a file in the ./spec/features/ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :feature` metadata - tags groups in that directory with `:type => :feature` - allows users to override the type - for an example group defined in a file in the .\spec\features\ directory - allows users to override the type - includes itself in the example group - tags groups in that directory with `:type => :feature` - applies configured `before(:context)` hooks with `:type => :feature` metadata - -RSpec::Rails::ViewExampleGroup - automatic inclusion of helpers - includes the helper with the same name - includes the namespaced helper with the same name - operates normally when no helper with the same name exists - operates normally when the view has no path and there is a Helper class defined - no application helper exists - operates normally - application helper exists - includes the application helper - #template - delegates to #view - is deprecated - #stub_template - caches FixtureResolver instances between example groups - prepends an ActionView::FixtureResolver to the view path - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :view` - for an example group defined in a file in the ./spec/views/ directory - does not tag groups in that directory with `:type => :view` - does not include itself in the example group - for an example group defined in a file in the .\spec\views\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :view` - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :view` - for an example group defined in a file in the ./spec/views/ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :view` metadata - tags groups in that directory with `:type => :view` - allows users to override the type - for an example group defined in a file in the .\spec\views\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :view` metadata - allows users to override the type - tags groups in that directory with `:type => :view` - #view - delegates to _view - is accessible to hooks - #_controller_path - with a common _default_file_to_render - it returns the directory - with a nested _default_file_to_render - it returns the directory path - #render - given no input - converts the filename components into render options - sends render(:template => (described file)) to the view - given a hash - sends the hash as the first arg to render - given a string - sends string as the first arg to render - #params - delegates to the controller - routes helpers collides with asset helpers - uses routes helpers - -RSpec::Rails::ControllerExampleGroup - includes routing matchers - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :controller` - for an example group defined in a file in the .\spec\controllers\ directory - does not tag groups in that directory with `:type => :controller` - does not include itself in the example group - for an example group defined in a file in the ./spec/controllers/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :controller` - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :controller` - for an example group defined in a file in the .\spec\controllers\ directory - tags groups in that directory with `:type => :controller` - applies configured `before(:context)` hooks with `:type => :controller` metadata - allows users to override the type - includes itself in the example group - for an example group defined in a file in the ./spec/controllers/ directory - allows users to override the type - includes itself in the example group - tags groups in that directory with `:type => :controller` - applies configured `before(:context)` hooks with `:type => :controller` metadata - controller name - sets name as AnonymousController if it inherits outer group's anonymous controller - sets the name according to defined controller if it is not anonymous - sets name as AnonymousController if defined as ApplicationController - sets the name as AnonymousController if it's anonymous - sets name as AnonymousController if the controller is abstract - with inferred anonymous controller - defaults to inferring anonymous controller class - when infer_base_class_for_anonymous_controllers is false - sets the anonymous controller class to ActiveController::Base when no ApplicationController is present - sets the anonymous controller class to ApplicationController - when infer_base_class_for_anonymous_controllers is true - infers the anonymous controller class - infers the anonymous controller class when no ApplicationController is present - with implicit subject - doesn't cause let definition priority to be changed - uses the controller as the subject - in a namespace - sets up resourceful routes on the example (PENDING: Not yet implemented) - controller name - sets the name as 'AnonymousController' if the controller is abstract - sets the name according to the defined controller namespace if it is not anonymous - #bypass_rescue - overrides the rescue_with_handler method on the controller to raise submitted error - #controller - calls NamedRouteCollection#route_defined? when it checks that given route is defined or not - delegates named route helpers to the underlying controller - with explicit subject - uses the specified subject instead of the controller - -RSpec::Rails::HelperExampleGroup::ClassMethods - determine_default_helper_class - the described is a module - returns the module - the described is a class - returns nil - -redirect_to - with should - when assert_redirected_to fails - uses failure message from assert_redirected_to - when fails due to some other exception - raises that exception - when assert_redirected_to passes - passes - with should_not - when assert_redirected_to fails - passes - when assert_redirected_to passes - fails with custom failure message - when fails due to some other exception - raises that exception - -Configuration - metadata `:type => :view` sets up view example groups - fixture support is included with metadata `:use_fixtures` - metadata `:type => :feature` sets up feature example groups - metadata `:type => :controller` sets up controller example groups - metadata `:type => :model` sets up model example groups - has a default #file_fixture_path of 'spec/fixtures/files' - #filter_rails_from_backtrace! adds exclusion patterns for rails gems - adds 'lib/rspec/rails' to the backtrace exclusions - metadata `:type => :helper` sets up helper example groups - metadata `:type => :routing` sets up routing example groups - metadata `:type => :mailer` sets up mailer example groups - metadata `:type => :request` sets up request example groups - adds 'vendor/' to the backtrace exclusions - adds settings - `#use_transactional_examples` is an alias for `use_transactional_fixtures` - `#render_views` sets `render_views?` to `true` - `#global_fixtures?` is `nil` by default - `#use_instantiated_fixtures?` is `nil` by default - `#infer_base_class_for_anonymous_controllers?` is `true` by default - `#use_transactional_fixtures?` is `nil` by default - `#rendering_views?` is `nil` by default - `#render_views?` is falsey by default - `#fixture_path?` is `nil` by default - `#rendering_views=` - sets `rendering_views` to the provided value - changes `rendering_views?` to the provided value - `#infer_base_class_for_anonymous_controllers=` - changes `infer_base_class_for_anonymous_controllers?` to the provided value - sets `infer_base_class_for_anonymous_controllers` to the provided value - `#global_fixtures=` - changes `global_fixtures?` to the provided value - sets `global_fixtures` to the provided value - `#use_transactional_fixtures=` - sets `use_transactional_fixtures` to the provided value - changes `use_transactional_fixtures?` to the provided value - `#fixture_path=` - changes `fixture_path?` to the provided value - sets `fixture_path` to the provided value - `#render_views=` - sets `render_views?` to the provided value - sets `render_views` to the provided value - `#use_instantiated_fixtures=` - changes `use_instantiated_fixtures?` to the provided value - sets `use_instantiated_fixtures` to the provided value - #infer_spec_type_from_file_location! - sets the type to `:mailer` for file path `spec/mailers` - sets the type to `:helper` for file path `spec/helpers` - sets the type to `:request` for file path `spec/requests` - sets the type to `:view` for file path `spec/views` - sets the type to `:controller` for file path `spec/controllers` - sets the type to `:request` for file path `spec/api` - sets the type to `:model` for file path `spec/models` - sets the type to `:routing` for file path `spec/routing` - sets the type to `:feature` for file path `spec/features` - sets the type to `:request` for file path `spec/integration` - -RSpec::Rails::MinitestLifecycleAdapter - allows let variables named 'send' - invokes minitest lifecycle hooks at the appropriate times +RSpec::Rails::MinitestAssertionAdapter + exposes assert_silent to host examples + exposes refute_includes to host examples + exposes refute_match to host examples + does not leak TestUnit specific methods into the AssertionDelegator + exposes refute_operator to host examples + exposes assert_in_delta to host examples + exposes refute_kind_of to host examples + exposes assert_predicate to host examples + exposes assert_kind_of to host examples + exposes assert_match to host examples + exposes refute_in_delta to host examples + exposes refute_predicate to host examples + exposes assert_respond_to to host examples + exposes assert_equal to host examples + exposes refute to host examples + exposes flunk to host examples + exposes refute_empty to host examples + exposes refute_nil to host examples + exposes assert_nil to host examples + exposes assert_operator to host examples + exposes assert_send to host examples + exposes refute_respond_to to host examples + exposes assert_includes to host examples + exposes assert_instance_of to host examples + does not expose internal methods of Minitest + exposes refute_same to host examples + exposes assert_in_epsilon to host examples + exposes assert_output to host examples + exposes assert_empty to host examples + exposes refute_in_epsilon to host examples + exposes assert_same to host examples + exposes assert_throws to host examples + exposes refute_equal to host examples + does not expose Minitest's message method + exposes assert to host examples + exposes assert_raises to host examples + exposes refute_instance_of to host examples -render_template +have_rendered with should_not when fails due to some other exception raises that exception + when assert_template fails + passes when fails with a redirect gives informative error message with a badly formatted error message falls back to something informative - when assert_template fails - passes when assert_template passes fails with custom failure message given a symbol converts to_s and delegates to assert_template - with should - when assert_template fails - uses failure message from assert_template - when assert_template passes - passes - when fails due to some other exception - raises that exception given a string delegates to assert_template given a hash delegates to assert_template - -RSpec::Rails::AssertionDelegator - does not delegate method_missing - provides a module that delegates assertion methods to an isolated class - delegates back to the including instance for methods the assertion module requires - -be_a_new matcher - existing record - wrong class - fails - right class - fails - #with - right class and new record - all attributes same - passes - one attribute value not the same - fails - with composable matchers - one attribute is a composable matcher - passes - fails - matcher is wrong type - fails - two attributes are composable matchers - only one matcher present in actual - fails - both matchers present in actual - passes - one attribute same - passes - no attributes same - fails - wrong class and existing record - all attributes same - fails - one attribute value not the same - fails - no attributes same - fails - new record - right class - passes - wrong class - fails - -route_to - provides a description - uses failure message from assert_recognizes - delegates to assert_recognizes - with should_not - when assert_recognizes fails with a routing error - passes - when assert_recognizes passes - fails with custom message - when assert_recognizes fails with an assertion failure - passes - when an exception is raised - raises that exception - with shortcut syntax - routes without extra options - routes with multiple query parameters - routes with nested query parameters - routes with extra options - routes with one query parameter with should - when assert_recognizes fails with a routing error - fails with message from assert_recognizes - when assert_recognizes passes - passes - when assert_recognizes fails with an assertion failure - fails with message from assert_recognizes - when an exception is raised - raises that exception - -RSpec::Rails - has no malformed whitespace - -have_rendered - with should_not - when fails with a redirect - gives informative error message - with a badly formatted error message - falls back to something informative when assert_template fails - passes - when fails due to some other exception - raises that exception - when assert_template passes - fails with custom failure message - with should + uses failure message from assert_template when assert_template passes passes - when assert_template fails - uses failure message from assert_template when fails due to some other exception raises that exception - given a hash - delegates to assert_template - given a string - delegates to assert_template - given a symbol - converts to_s and delegates to assert_template - -be_routable - provides a description - with should - passes if routes recognize the path - fails if routes do not recognize the path - with should_not - fails if routes recognize the path - passes if routes do not recognize the path -RSpec::Rails::RoutingExampleGroup - named routes - delegates them to the route_set +RSpec::Rails::JobExampleGroup behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :routing` - for an example group defined in a file in the ./spec/routing/ directory - does not tag groups in that directory with `:type => :routing` - does not include itself in the example group - for an example group defined in a file in the .\spec\routing\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :routing` when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :routing` - for an example group defined in a file in the .\spec\routing\ directory - allows users to override the type - tags groups in that directory with `:type => :routing` - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :routing` metadata - for an example group defined in a file in the ./spec/routing/ directory + includes itself in example groups tagged with `:type => :job` + for an example group defined in a file in the .\spec\jobs\ directory + applies configured `before(:context)` hooks with `:type => :job` metadata + tags groups in that directory with `:type => :job` includes itself in the example group - tags groups in that directory with `:type => :routing` allows users to override the type - applies configured `before(:context)` hooks with `:type => :routing` metadata + for an example group defined in a file in the ./spec/jobs/ directory + applies configured `before(:context)` hooks with `:type => :job` metadata + allows users to override the type + tags groups in that directory with `:type => :job` + includes itself in the example group + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :job` + for an example group defined in a file in the .\spec\jobs\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :job` + for an example group defined in a file in the ./spec/jobs/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :job` -RSpec::Rails::ViewSpecMethods - .add_extra_params_accessors_to - when accessors are not yet defined - adds them as instance methods - the added #extra_params reader - raises an error when a user tries to mutate it - when accessors are already defined - does not redefine them - .remove_extra_params_accessors_from - when accessors are defined - removes them - when accessors are not defined - does nothing +RSpec::Rails::ViewRendering + when render_views? is false + supports manipulating view paths with resolvers + supports manipulating view paths with arrays + supports manipulating view paths + with empty template resolver + works with custom resolvers + works with strings + default + ActionController::Metal + renders views + ActionController::Base + does not render views + does not render views in a nested group + #render_views + propogates to examples in nested groups properly + with true + tells examples to render views + with no args + tells examples to render views + with false + tells examples not to render views + overrides the global config if render_views is enabled there + in a nested group + passes override to children + leaves the parent group as/is + overrides the value inherited from the parent group + with true + tells examples to render views + with no args + tells examples to render views + with false + tells examples not to render views -ActiveRecord support - with partial double verification enabled - allows you to stub abstract classes - allows you to stub `ActiveRecord::Base` - with partial double verification disabled - allows you to stub abstract classes - allows you to stub `ActiveRecord::Base` +be_routable + provides a description + with should + fails if routes do not recognize the path + passes if routes recognize the path + with should_not + fails if routes recognize the path + passes if routes do not recognize the path have_http_status - with general status code group :error + with general status code group :successful behaves like supports different response instances - has a negated failure message reporting it was given another type returns false given another type + has a negated failure message reporting it was given another type has a failure message reporting it was given another type + given an ActionDispatch::TestResponse + returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code - given an ActionDispatch::TestResponse - returns true for a response with the same code behaves like status code matcher has a negated failure message reporting the expected and actual status codes - describes behaves like status code matcher has a failure message reporting the expected and actual status codes + describes behaves like status code matcher matching a response returns true for a response with code returns false for a response with a different code with general status code group :missing - behaves like status code matcher - has a failure message reporting the expected and actual status codes - describes behaves like status code matcher - has a negated failure message reporting the expected and actual status codes - matching a response - returns false for a response with a different code - returns true for a response with code behaves like supports different response instances has a failure message reporting it was given another type - returns false given another type - has a negated failure message reporting it was given another type - given an ActionDispatch::Response - returns true for a response with the same code - given an ActionDispatch::TestResponse - returns true for a response with the same code - given something that acts as a Capybara::Session - returns true for a response with the same code - http status :not_found - behaves like supports different response instances has a negated failure message reporting it was given another type returns false given another type - has a failure message reporting it was given another type given something that acts as a Capybara::Session returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code - http status :missing - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - with general status code group :success behaves like status code matcher - has a failure message reporting the expected and actual status codes describes behaves like status code matcher + has a failure message reporting the expected and actual status codes has a negated failure message reporting the expected and actual status codes matching a response - returns true for a response with code returns false for a response with a different code + returns true for a response with code + with general status code group :redirect behaves like supports different response instances returns false given another type - has a negated failure message reporting it was given another type has a failure message reporting it was given another type + has a negated failure message reporting it was given another type + given something that acts as a Capybara::Session + returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code - given something that acts as a Capybara::Session - returns true for a response with the same code - http status :successful + behaves like status code matcher + has a negated failure message reporting the expected and actual status codes + has a failure message reporting the expected and actual status codes + describes behaves like status code matcher + matching a response + returns false for a response with a different code + returns true for a response with code + with a numeric status code + describes responding with the numeric status code + has a failure message reporting the expected and actual status codes + has a negated failure message reporting the expected status code + matching a response + returns true for a response with the same code + returns false for a response with a different code behaves like supports different response instances + returns false given another type has a failure message reporting it was given another type has a negated failure message reporting it was given another type - returns false given another type given something that acts as a Capybara::Session returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code - with general status code group :not_found - behaves like status code matcher - has a negated failure message reporting the expected and actual status codes - describes behaves like status code matcher - has a failure message reporting the expected and actual status codes - matching a response - returns false for a response with a different code - returns true for a response with code + with a symbolic status + has a failure message reporting the expected and actual statuses + has a negated failure message reporting the expected status code + describes responding by the symbolic and associated numeric status code + raises an ArgumentError + matching a response + returns true for a response with the equivalent code + returns false for a response with a different code behaves like supports different response instances has a negated failure message reporting it was given another type - has a failure message reporting it was given another type returns false given another type + has a failure message reporting it was given another type given an ActionDispatch::Response returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code - with general status code group :redirect + http status :success + behaves like does not use deprecated methods for Rails 5.2+ + does not use deprecated method for Rails >= 5.2 + with general status code group :success behaves like supports different response instances - returns false given another type has a failure message reporting it was given another type has a negated failure message reporting it was given another type + returns false given another type + given an ActionDispatch::TestResponse + returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code - given an ActionDispatch::TestResponse - returns true for a response with the same code behaves like status code matcher - has a failure message reporting the expected and actual status codes describes behaves like status code matcher + has a failure message reporting the expected and actual status codes has a negated failure message reporting the expected and actual status codes matching a response - returns false for a response with a different code returns true for a response with code - with general status code group :successful + returns false for a response with a different code + with general status code group :server_error behaves like status code matcher - has a failure message reporting the expected and actual status codes has a negated failure message reporting the expected and actual status codes describes behaves like status code matcher + has a failure message reporting the expected and actual status codes matching a response returns false for a response with a different code returns true for a response with code behaves like supports different response instances returns false given another type - has a negated failure message reporting it was given another type has a failure message reporting it was given another type - given something that acts as a Capybara::Session + has a negated failure message reporting it was given another type + given an ActionDispatch::Response returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code - given an ActionDispatch::Response + given something that acts as a Capybara::Session returns true for a response with the same code - with a nil status - raises an ArgumentError http status :server_error behaves like supports different response instances + has a negated failure message reporting it was given another type + has a failure message reporting it was given another type returns false given another type + given something that acts as a Capybara::Session + returns true for a response with the same code + given an ActionDispatch::Response + returns true for a response with the same code + given an ActionDispatch::TestResponse + returns true for a response with the same code + http status :missing + behaves like does not use deprecated methods for Rails 5.2+ + does not use deprecated method for Rails >= 5.2 + http status :not_found + behaves like supports different response instances has a failure message reporting it was given another type has a negated failure message reporting it was given another type + returns false given another type given an ActionDispatch::Response returns true for a response with the same code + given an ActionDispatch::TestResponse + returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code + http status :successful + behaves like supports different response instances + returns false given another type + has a failure message reporting it was given another type + has a negated failure message reporting it was given another type given an ActionDispatch::TestResponse returns true for a response with the same code - http status :error - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - with a numeric status code - has a failure message reporting the expected and actual status codes - describes responding with the numeric status code - has a negated failure message reporting the expected status code + given something that acts as a Capybara::Session + returns true for a response with the same code + given an ActionDispatch::Response + returns true for a response with the same code + with a nil status + raises an ArgumentError + with general status code group :not_found behaves like supports different response instances has a negated failure message reporting it was given another type has a failure message reporting it was given another type @@ -2220,258 +1907,505 @@ returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code - matching a response - returns false for a response with a different code - returns true for a response with the same code - http status :success - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - with general status code group :server_error behaves like status code matcher has a negated failure message reporting the expected and actual status codes describes behaves like status code matcher has a failure message reporting the expected and actual status codes matching a response - returns true for a response with code returns false for a response with a different code + returns true for a response with code + http status :error + behaves like does not use deprecated methods for Rails 5.2+ + does not use deprecated method for Rails >= 5.2 + with general status code group :error behaves like supports different response instances + has a failure message reporting it was given another type returns false given another type has a negated failure message reporting it was given another type - has a failure message reporting it was given another type - given an ActionDispatch::Response - returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code - given an ActionDispatch::TestResponse - returns true for a response with the same code - with a symbolic status - has a failure message reporting the expected and actual statuses - has a negated failure message reporting the expected status code - describes responding by the symbolic and associated numeric status code - raises an ArgumentError - behaves like supports different response instances - has a negated failure message reporting it was given another type - returns false given another type - has a failure message reporting it was given another type - given an ActionDispatch::TestResponse - returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code - given something that acts as a Capybara::Session + given an ActionDispatch::TestResponse returns true for a response with the same code - matching a response - returns true for a response with the equivalent code - returns false for a response with a different code + behaves like status code matcher + has a negated failure message reporting the expected and actual status codes + has a failure message reporting the expected and actual status codes + describes behaves like status code matcher + matching a response + returns true for a response with code + returns false for a response with a different code -RSpec::Rails::MinitestAssertionAdapter - exposes refute_match to host examples - exposes assert_empty to host examples - exposes refute_same to host examples - exposes assert_in_delta to host examples - exposes assert_match to host examples - does not leak TestUnit specific methods into the AssertionDelegator - exposes assert_in_epsilon to host examples - exposes refute_kind_of to host examples - exposes assert_silent to host examples - exposes refute_equal to host examples - exposes assert_operator to host examples - does not expose internal methods of Minitest - does not expose Minitest's message method - exposes refute_operator to host examples - exposes assert_throws to host examples - exposes refute_in_delta to host examples - exposes assert_nil to host examples - exposes assert_output to host examples - exposes refute_predicate to host examples - exposes assert_predicate to host examples - exposes refute_respond_to to host examples - exposes assert_raises to host examples - exposes assert_includes to host examples - exposes assert_equal to host examples - exposes assert_kind_of to host examples - exposes assert_respond_to to host examples - exposes refute_instance_of to host examples - exposes refute to host examples - exposes refute_nil to host examples - exposes assert_instance_of to host examples - exposes assert_send to host examples - exposes assert to host examples - exposes refute_empty to host examples - exposes refute_includes to host examples - exposes refute_in_epsilon to host examples - exposes assert_same to host examples - exposes flunk to host examples +redirect_to + with should_not + when assert_redirected_to passes + fails with custom failure message + when fails due to some other exception + raises that exception + when assert_redirected_to fails + passes + with should + when fails due to some other exception + raises that exception + when assert_redirected_to passes + passes + when assert_redirected_to fails + uses failure message from assert_redirected_to -RSpec::Rails::ViewRendering - default - ActionController::Base - does not render views - does not render views in a nested group - ActionController::Metal - renders views - #render_views - propogates to examples in nested groups properly - with false - overrides the global config if render_views is enabled there - tells examples not to render views - in a nested group - passes override to children - leaves the parent group as/is - overrides the value inherited from the parent group - with no args - tells examples to render views - with true - tells examples to render views - with false - tells examples not to render views - with true - tells examples to render views - with no args - tells examples to render views - when render_views? is false - supports manipulating view paths with resolvers - supports manipulating view paths with arrays - supports manipulating view paths - with empty template resolver - works with custom resolvers - works with strings +RSpec::Rails::RoutingExampleGroup + named routes + delegates them to the route_set + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :routing` + for an example group defined in a file in the ./spec/routing/ directory + applies configured `before(:context)` hooks with `:type => :routing` metadata + includes itself in the example group + tags groups in that directory with `:type => :routing` + allows users to override the type + for an example group defined in a file in the .\spec\routing\ directory + applies configured `before(:context)` hooks with `:type => :routing` metadata + tags groups in that directory with `:type => :routing` + allows users to override the type + includes itself in the example group + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :routing` + for an example group defined in a file in the ./spec/routing/ directory + does not tag groups in that directory with `:type => :routing` + does not include itself in the example group + for an example group defined in a file in the .\spec\routing\ directory + does not tag groups in that directory with `:type => :routing` + does not include itself in the example group + +RSpec::Rails::HelperExampleGroup + provides a controller_path based on the helper module's name + #helper + returns the instance of AV::Base provided by AV::TC::Behavior + includes ApplicationHelper + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :helper` + for an example group defined in a file in the .\spec\helpers\ directory + includes itself in the example group + tags groups in that directory with `:type => :helper` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :helper` metadata + for an example group defined in a file in the ./spec/helpers/ directory + includes itself in the example group + allows users to override the type + tags groups in that directory with `:type => :helper` + applies configured `before(:context)` hooks with `:type => :helper` metadata + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :helper` + for an example group defined in a file in the ./spec/helpers/ directory + does not tag groups in that directory with `:type => :helper` + does not include itself in the example group + for an example group defined in a file in the .\spec\helpers\ directory + does not tag groups in that directory with `:type => :helper` + does not include itself in the example group + +RSpec::Rails + has no malformed whitespace + +ActiveModel support + with partial double verification enabled + allows you to stub `ActiveModel` + allows you to stub instances of `ActiveModel` + with partial double verification disabled + allows you to stub instances of `ActiveModel` + allows you to stub `ActiveModel` + +Configuration + metadata `:type => :mailer` sets up mailer example groups + #filter_rails_from_backtrace! adds exclusion patterns for rails gems + adds 'vendor/' to the backtrace exclusions + metadata `:type => :controller` sets up controller example groups + metadata `:type => :routing` sets up routing example groups + adds 'lib/rspec/rails' to the backtrace exclusions + has a default #file_fixture_path of 'spec/fixtures/files' + metadata `:type => :feature` sets up feature example groups + metadata `:type => :view` sets up view example groups + fixture support is included with metadata `:use_fixtures` + metadata `:type => :helper` sets up helper example groups + metadata `:type => :request` sets up request example groups + metadata `:type => :model` sets up model example groups + #infer_spec_type_from_file_location! + sets the type to `:model` for file path `spec/models` + sets the type to `:feature` for file path `spec/features` + sets the type to `:request` for file path `spec/api` + sets the type to `:request` for file path `spec/integration` + sets the type to `:mailer` for file path `spec/mailers` + sets the type to `:request` for file path `spec/requests` + sets the type to `:helper` for file path `spec/helpers` + sets the type to `:controller` for file path `spec/controllers` + sets the type to `:view` for file path `spec/views` + sets the type to `:routing` for file path `spec/routing` + adds settings + `#render_views?` is falsey by default + `#fixture_path?` is `nil` by default + `#use_transactional_fixtures?` is `nil` by default + `#use_transactional_examples` is an alias for `use_transactional_fixtures` + `#global_fixtures?` is `nil` by default + `#render_views` sets `render_views?` to `true` + `#rendering_views?` is `nil` by default + `#infer_base_class_for_anonymous_controllers?` is `true` by default + `#use_instantiated_fixtures?` is `nil` by default + `#rendering_views=` + changes `rendering_views?` to the provided value + sets `rendering_views` to the provided value + `#render_views=` + sets `render_views?` to the provided value + sets `render_views` to the provided value + `#use_instantiated_fixtures=` + sets `use_instantiated_fixtures` to the provided value + changes `use_instantiated_fixtures?` to the provided value + `#use_transactional_fixtures=` + changes `use_transactional_fixtures?` to the provided value + sets `use_transactional_fixtures` to the provided value + `#fixture_path=` + changes `fixture_path?` to the provided value + sets `fixture_path` to the provided value + `#global_fixtures=` + changes `global_fixtures?` to the provided value + sets `global_fixtures` to the provided value + `#infer_base_class_for_anonymous_controllers=` + changes `infer_base_class_for_anonymous_controllers?` to the provided value + sets `infer_base_class_for_anonymous_controllers` to the provided value RSpec::Rails::FixtureSupport with use_transactional_fixtures set to false still supports fixture_path -ActiveJob matchers - have_enqueued_job - passes with at_most count when enqueued jobs are under limit - generates failure message with at most hint - passess deserialized arguments to with block - passes with :thrice count - passes with provided arguments containing global id object - fails when negated and job is enqueued - passes with multiple jobs - generates failure message with at least hint - has an enqueued job when not providing at and there is a wait - passes with provided arguments - fails when job is not enqueued - passes when negated - fails when too many jobs enqueued - has an enqueued job when providing at of :no_wait and there is no wait - passes when using alias - fails with with block with incorrect data - passes with job name - reports correct number in fail error message - throws descriptive error when no test adapter set - passes with :once count - passes with provided queue name - passes with default jobs count (exactly one) - counts only jobs enqueued in block - passes multiple arguments to with block - passes with :twice count - generates failure message with all provided options - passes with provided at date - passes with provided argument matchers - raises ArgumentError when no Proc passed to expect - only calls with block if other conditions are met - ignores undeserializable arguments - passes with at_least count when enqueued jobs are over limit - does not have an enqueued job when providing at of :no_wait and there is a wait - have_been_enqueued - passes when negated - fails when job is not enqueued - counts all enqueued jobs - passes with default jobs count (exactly one) - -RSpec::Rails::RequestExampleGroup +RSpec::Rails::MailerExampleGroup behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :request` - for an example group defined in a file in the ./spec/api/ directory - does not tag groups in that directory with `:type => :request` - does not include itself in the example group - for an example group defined in a file in the ./spec/requests/ directory - does not tag groups in that directory with `:type => :request` - does not include itself in the example group - for an example group defined in a file in the .\spec\requests\ directory - does not tag groups in that directory with `:type => :request` - does not include itself in the example group - for an example group defined in a file in the .\spec\integration\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :request` - for an example group defined in a file in the .\spec\api\ directory + includes itself in example groups tagged with `:type => :mailer` + for an example group defined in a file in the .\spec\mailers\ directory does not include itself in the example group - does not tag groups in that directory with `:type => :request` - for an example group defined in a file in the ./spec/integration/ directory - does not tag groups in that directory with `:type => :request` + does not tag groups in that directory with `:type => :mailer` + for an example group defined in a file in the ./spec/mailers/ directory does not include itself in the example group + does not tag groups in that directory with `:type => :mailer` + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :mailer` + for an example group defined in a file in the .\spec\mailers\ directory + applies configured `before(:context)` hooks with `:type => :mailer` metadata + tags groups in that directory with `:type => :mailer` + allows users to override the type + includes itself in the example group + for an example group defined in a file in the ./spec/mailers/ directory + allows users to override the type + applies configured `before(:context)` hooks with `:type => :mailer` metadata + includes itself in the example group + tags groups in that directory with `:type => :mailer` + +ActiveSupport::Relation match_array matcher + verifies that the scope returns the records on the right hand side, regardless of order + fails if the scope encompasses more records than on the right hand side + fails if the scope encompasses fewer records than on the right hand side + +be_a_new matcher + existing record + wrong class + fails + right class + fails + #with + right class and new record + all attributes same + passes + with composable matchers + one attribute is a composable matcher + passes + fails + matcher is wrong type + fails + two attributes are composable matchers + both matchers present in actual + passes + only one matcher present in actual + fails + no attributes same + fails + one attribute same + passes + one attribute value not the same + fails + wrong class and existing record + no attributes same + fails + one attribute value not the same + fails + all attributes same + fails + new record + wrong class + fails + right class + passes + +RSpec::Rails::ViewSpecMethods + .remove_extra_params_accessors_from + when accessors are defined + removes them + when accessors are not defined + does nothing + .add_extra_params_accessors_to + when accessors are already defined + does not redefine them + when accessors are not yet defined + adds them as instance methods + the added #extra_params reader + raises an error when a user tries to mutate it + +RSpec::Rails::HelperExampleGroup::ClassMethods + determine_default_helper_class + the described is a module + returns the module + the described is a class + returns nil + +RSpec::Rails::FixtureFileUploadSupport + with fixture path set in spec + resolves fixture file + with fixture path set in config + resolves supports `Pathname` objects + resolves fixture file + with fixture path not set + resolves fixture using relative path + +RSpec::Rails::RequestExampleGroup + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured includes itself in example groups tagged with `:type => :request` - for an example group defined in a file in the ./spec/integration/ directory + for an example group defined in a file in the .\spec\requests\ directory + tags groups in that directory with `:type => :request` includes itself in the example group applies configured `before(:context)` hooks with `:type => :request` metadata + allows users to override the type + for an example group defined in a file in the ./spec/requests/ directory tags groups in that directory with `:type => :request` allows users to override the type - for an example group defined in a file in the .\spec\integration\ directory applies configured `before(:context)` hooks with `:type => :request` metadata - allows users to override the type includes itself in the example group + for an example group defined in a file in the .\spec\integration\ directory + applies configured `before(:context)` hooks with `:type => :request` metadata tags groups in that directory with `:type => :request` - for an example group defined in a file in the ./spec/requests/ directory - includes itself in the example group allows users to override the type - tags groups in that directory with `:type => :request` - applies configured `before(:context)` hooks with `:type => :request` metadata + includes itself in the example group for an example group defined in a file in the ./spec/api/ directory applies configured `before(:context)` hooks with `:type => :request` metadata + includes itself in the example group + tags groups in that directory with `:type => :request` + allows users to override the type + for an example group defined in a file in the ./spec/integration/ directory allows users to override the type tags groups in that directory with `:type => :request` + applies configured `before(:context)` hooks with `:type => :request` metadata includes itself in the example group for an example group defined in a file in the .\spec\api\ directory tags groups in that directory with `:type => :request` - applies configured `before(:context)` hooks with `:type => :request` metadata includes itself in the example group - allows users to override the type - for an example group defined in a file in the .\spec\requests\ directory - tags groups in that directory with `:type => :request` applies configured `before(:context)` hooks with `:type => :request` metadata - includes itself in the example group allows users to override the type + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :request` + for an example group defined in a file in the .\spec\integration\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :request` + for an example group defined in a file in the ./spec/integration/ directory + does not tag groups in that directory with `:type => :request` + does not include itself in the example group + for an example group defined in a file in the ./spec/requests/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :request` + for an example group defined in a file in the .\spec\api\ directory + does not tag groups in that directory with `:type => :request` + does not include itself in the example group + for an example group defined in a file in the .\spec\requests\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :request` + for an example group defined in a file in the ./spec/api/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :request` + +RSpec::Rails::AssertionDelegator + delegates back to the including instance for methods the assertion module requires + provides a module that delegates assertion methods to an isolated class + does not delegate method_missing + +ActiveRecord support + with partial double verification enabled + allows you to stub `ActiveRecord::Base` + allows you to stub abstract classes + with partial double verification disabled + allows you to stub `ActiveRecord::Base` + allows you to stub abstract classes RSpec::Rails::SetupAndTeardownAdapter ::setup - registers before hooks in the order setup is received registers teardown hooks in the order setup is received + registers before hooks in the order setup is received registers prepend_before hooks for the Rails' setup methods -RSpec::Rails::JobExampleGroup +render_template + with should + when fails due to some other exception + raises that exception + when assert_template fails + uses failure message from assert_template + when assert_template passes + passes + given a symbol + converts to_s and delegates to assert_template + given a hash + delegates to assert_template + given a string + delegates to assert_template + with should_not + when assert_template fails + passes + when fails with a redirect + gives informative error message + with a badly formatted error message + falls back to something informative + when assert_template passes + fails with custom failure message + when fails due to some other exception + raises that exception + +RSpec::Rails::ViewExampleGroup + #template + is deprecated + delegates to #view behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :job` - for an example group defined in a file in the .\spec\jobs\ directory + includes itself in example groups tagged with `:type => :view` + for an example group defined in a file in the ./spec/views/ directory + applies configured `before(:context)` hooks with `:type => :view` metadata allows users to override the type - applies configured `before(:context)` hooks with `:type => :job` metadata - tags groups in that directory with `:type => :job` includes itself in the example group - for an example group defined in a file in the ./spec/jobs/ directory - applies configured `before(:context)` hooks with `:type => :job` metadata - tags groups in that directory with `:type => :job` + tags groups in that directory with `:type => :view` + for an example group defined in a file in the .\spec\views\ directory + applies configured `before(:context)` hooks with `:type => :view` metadata + tags groups in that directory with `:type => :view` + allows users to override the type includes itself in the example group + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :view` + for an example group defined in a file in the ./spec/views/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :view` + for an example group defined in a file in the .\spec\views\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :view` + routes helpers collides with asset helpers + uses routes helpers + automatic inclusion of helpers + includes the helper with the same name + operates normally when no helper with the same name exists + operates normally when the view has no path and there is a Helper class defined + includes the namespaced helper with the same name + no application helper exists + operates normally + application helper exists + includes the application helper + #render + given a hash + sends the hash as the first arg to render + given no input + converts the filename components into render options + sends render(:template => (described file)) to the view + given a string + sends string as the first arg to render + #view + is accessible to hooks + delegates to _view + #stub_template + caches FixtureResolver instances between example groups + prepends an ActionView::FixtureResolver to the view path + #params + delegates to the controller + #_controller_path + with a common _default_file_to_render + it returns the directory + with a nested _default_file_to_render + it returns the directory path + +RSpec::Rails::FeatureExampleGroup + includes Rails route helpers + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :feature` + for an example group defined in a file in the ./spec/features/ directory + applies configured `before(:context)` hooks with `:type => :feature` metadata + includes itself in the example group + tags groups in that directory with `:type => :feature` allows users to override the type + for an example group defined in a file in the .\spec\features\ directory + tags groups in that directory with `:type => :feature` + allows users to override the type + includes itself in the example group + applies configured `before(:context)` hooks with `:type => :feature` metadata when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :job` - for an example group defined in a file in the .\spec\jobs\ directory - does not tag groups in that directory with `:type => :job` + includes itself in example groups tagged with `:type => :feature` + for an example group defined in a file in the ./spec/features/ directory + does not tag groups in that directory with `:type => :feature` does not include itself in the example group - for an example group defined in a file in the ./spec/jobs/ directory - does not tag groups in that directory with `:type => :job` + for an example group defined in a file in the .\spec\features\ directory + does not tag groups in that directory with `:type => :feature` does not include itself in the example group + #visit + is resistant to load order errors + raises an error informing about missing Capybara + +RSpec::Rails::MinitestLifecycleAdapter + invokes minitest lifecycle hooks at the appropriate times + allows let variables named 'send' + +should have_xxx + works with ActiveRecord::Associations::CollectionProxy + +be_new_record + a new record + fails with custom failure message + passes + a persisted record + fails with custom failure message + fails + +be_valid matcher + includes a failure message for the negative case + includes the error messages in the failure message + uses a custom failure message if provided + includes the error messages for simple implementations of error messages + includes a brief error message for the simplest implementation of validity + does not include the validation context if not provided + includes the validation context if provided RSpec::Rails::SystemExampleGroup #method_name converts special characters to underscores behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :system` + for an example group defined in a file in the ./spec/system/ directory + includes itself in the example group + applies configured `before(:context)` hooks with `:type => :system` metadata + tags groups in that directory with `:type => :system` + allows users to override the type + for an example group defined in a file in the .\spec\system\ directory + applies configured `before(:context)` hooks with `:type => :system` metadata + includes itself in the example group + allows users to override the type + tags groups in that directory with `:type => :system` when `infer_spec_type_from_file_location!` is not configured includes itself in example groups tagged with `:type => :system` for an example group defined in a file in the ./spec/system/ directory @@ -2480,54 +2414,154 @@ for an example group defined in a file in the .\spec\system\ directory does not tag groups in that directory with `:type => :system` does not include itself in the example group + +route_to + provides a description + delegates to assert_recognizes + uses failure message from assert_recognizes + with should + when assert_recognizes fails with a routing error + fails with message from assert_recognizes + when assert_recognizes passes + passes + when an exception is raised + raises that exception + when assert_recognizes fails with an assertion failure + fails with message from assert_recognizes + with shortcut syntax + routes with extra options + routes with nested query parameters + routes with one query parameter + routes without extra options + routes with multiple query parameters + with should_not + when assert_recognizes passes + fails with custom message + when assert_recognizes fails with an assertion failure + passes + when assert_recognizes fails with a routing error + passes + when an exception is raised + raises that exception + +ActiveJob matchers + have_enqueued_job + passes with provided argument matchers + raises ArgumentError when no Proc passed to expect + does not have an enqueued job when providing at of :no_wait and there is a wait + passes with :twice count + only calls with block if other conditions are met + fails when job is not enqueued + passes with provided queue name + fails with with block with incorrect data + ignores undeserializable arguments + passes when negated + passes with at_least count when enqueued jobs are over limit + passes with provided arguments + throws descriptive error when no test adapter set + has an enqueued job when not providing at and there is a wait + generates failure message with at most hint + generates failure message with at least hint + passes with at_most count when enqueued jobs are under limit + passes multiple arguments to with block + passes with multiple jobs + reports correct number in fail error message + passess deserialized arguments to with block + passes with :once count + has an enqueued job when providing at of :no_wait and there is no wait + passes with provided at date + passes with provided arguments containing global id object + fails when too many jobs enqueued + counts only jobs enqueued in block + passes with job name + passes with default jobs count (exactly one) + fails when negated and job is enqueued + passes when using alias + generates failure message with all provided options + passes with :thrice count + have_been_enqueued + fails when job is not enqueued + counts all enqueued jobs + passes when negated + passes with default jobs count (exactly one) + +RSpec::Rails::ControllerExampleGroup + includes routing matchers + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :system` - for an example group defined in a file in the ./spec/system/ directory - tags groups in that directory with `:type => :system` + includes itself in example groups tagged with `:type => :controller` + for an example group defined in a file in the .\spec\controllers\ directory + applies configured `before(:context)` hooks with `:type => :controller` metadata includes itself in the example group + tags groups in that directory with `:type => :controller` allows users to override the type - applies configured `before(:context)` hooks with `:type => :system` metadata - for an example group defined in a file in the .\spec\system\ directory - tags groups in that directory with `:type => :system` + for an example group defined in a file in the ./spec/controllers/ directory includes itself in the example group - applies configured `before(:context)` hooks with `:type => :system` metadata + tags groups in that directory with `:type => :controller` + applies configured `before(:context)` hooks with `:type => :controller` metadata allows users to override the type + when `infer_spec_type_from_file_location!` is not configured + includes itself in example groups tagged with `:type => :controller` + for an example group defined in a file in the .\spec\controllers\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :controller` + for an example group defined in a file in the ./spec/controllers/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :controller` + in a namespace + sets up resourceful routes on the example (PENDING: Not yet implemented) + controller name + sets the name according to the defined controller namespace if it is not anonymous + sets the name as 'AnonymousController' if the controller is abstract + with inferred anonymous controller + defaults to inferring anonymous controller class + when infer_base_class_for_anonymous_controllers is false + sets the anonymous controller class to ApplicationController + sets the anonymous controller class to ActiveController::Base when no ApplicationController is present + when infer_base_class_for_anonymous_controllers is true + infers the anonymous controller class + infers the anonymous controller class when no ApplicationController is present + with explicit subject + uses the specified subject instead of the controller + controller name + sets name as AnonymousController if the controller is abstract + sets name as AnonymousController if defined as ApplicationController + sets the name as AnonymousController if it's anonymous + sets name as AnonymousController if it inherits outer group's anonymous controller + sets the name according to defined controller if it is not anonymous + with implicit subject + doesn't cause let definition priority to be changed + uses the controller as the subject + #controller + delegates named route helpers to the underlying controller + calls NamedRouteCollection#route_defined? when it checks that given route is defined or not + #bypass_rescue + overrides the rescue_with_handler method on the controller to raise submitted error -ActiveModel support - with partial double verification disabled - allows you to stub instances of `ActiveModel` - allows you to stub `ActiveModel` - with partial double verification enabled - allows you to stub instances of `ActiveModel` - allows you to stub `ActiveModel` - -RSpec::Rails::HelperExampleGroup - provides a controller_path based on the helper module's name +RSpec::Rails::ModelExampleGroup behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :helper` - for an example group defined in a file in the .\spec\helpers\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :helper` metadata + includes itself in example groups tagged with `:type => :model` + for an example group defined in a file in the ./spec/models/ directory allows users to override the type - tags groups in that directory with `:type => :helper` - for an example group defined in a file in the ./spec/helpers/ directory includes itself in the example group - tags groups in that directory with `:type => :helper` + applies configured `before(:context)` hooks with `:type => :model` metadata + tags groups in that directory with `:type => :model` + for an example group defined in a file in the .\spec\models\ directory + tags groups in that directory with `:type => :model` + applies configured `before(:context)` hooks with `:type => :model` metadata + includes itself in the example group allows users to override the type - applies configured `before(:context)` hooks with `:type => :helper` metadata when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :helper` - for an example group defined in a file in the .\spec\helpers\ directory + includes itself in example groups tagged with `:type => :model` + for an example group defined in a file in the .\spec\models\ directory + does not tag groups in that directory with `:type => :model` does not include itself in the example group - does not tag groups in that directory with `:type => :helper` - for an example group defined in a file in the ./spec/helpers/ directory + for an example group defined in a file in the ./spec/models/ directory + does not tag groups in that directory with `:type => :model` does not include itself in the example group - does not tag groups in that directory with `:type => :helper` - #helper - includes ApplicationHelper - returns the instance of AV::Base provided by AV::TC::Behavior Pending: (Failures listed here are expected and do not affect your suite's status) @@ -2535,10 +2569,10 @@ # Not yet implemented # ./spec/rspec/rails/example/controller_example_group_spec.rb:222 -Finished in 2.03 seconds (files took 2.05 seconds to load) +Finished in 2.19 seconds (files took 2.06 seconds to load) 592 examples, 0 failures, 1 pending -Randomized with seed 2055 +Randomized with seed 27608 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2570,12 +2604,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9203/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/29684 and its subdirectories -I: Current time: Sun Aug 8 20:56:15 -12 2021 -I: pbuilder-time-stamp: 1628499375 +I: removing directory /srv/workspace/pbuilder/9203 and its subdirectories +I: Current time: Mon Sep 12 05:20:11 +14 2022 +I: pbuilder-time-stamp: 1662909611