Diff of the two buildlogs: -- --- b1/build.log 2021-07-25 18:32:05.520752910 +0000 +++ b2/build.log 2021-07-25 18:38:14.722917459 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 27 12:54:00 -12 2022 -I: pbuilder-time-stamp: 1661648040 +I: Current time: Mon Jul 26 08:32:07 +14 2021 +I: pbuilder-time-stamp: 1627237927 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-rspec-rails_4.0.1-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.cFc2gGXp/trustedkeys.kbx': General error -gpgv: Signature made Wed Aug 26 10:40:45 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.csCfEl0z/trustedkeys.kbx': General error +gpgv: Signature made Thu Aug 27 12:40:45 2020 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-rspec-rails_4.0.1-2.dsc @@ -32,137 +32,171 @@ 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/50018/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22294/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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/22294/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22294/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=7' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='46d5ab36115348aaabfebbdcee2ab1fc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='50018' - PS1='# ' - PS2='> ' + INVOCATION_ID=dcfb206db7b54ea8b6101076938c24a7 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=22294 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.9TzYyWU9bS/pbuilderrc_rRZQ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.9TzYyWU9bS/b1 --logfile b1/build.log ruby-rspec-rails_4.0.1-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.9TzYyWU9bS/pbuilderrc_H4vx --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.9TzYyWU9bS/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rspec-rails_4.0.1-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 27 03:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/50018/tmp/hooks/D02_print_environment finished + total 5784 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 26 08:35 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 24 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/22294/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -419,7 +453,7 @@ Get: 191 http://deb.debian.org/debian bullseye/main i386 ruby-zip all 2.0.0-2 [43.4 kB] Get: 192 http://deb.debian.org/debian bullseye/main i386 ruby-selenium-webdriver all 3.142.7+dfsg-2 [742 kB] Get: 193 http://deb.debian.org/debian bullseye/main i386 ruby-sqlite3 i386 1.4.2-3 [45.9 kB] -Fetched 50.8 MB in 1s (45.7 MB/s) +Fetched 50.8 MB in 10s (5112 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -1215,8 +1249,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (450 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 31704 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-rspec-rails-4.0.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-4.0.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 4.0.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1247,7 +1317,7 @@ dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/ruby-rspec-rails-4.0.1/debian/ruby-rspec-rails dh_ruby --install -/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20220827-61022-15sdafh/gemspec +/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20210726-16955-ibb9ln/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on actionpack (>= 4.2) is not recommended if actionpack is semantically versioned, use: @@ -1263,7 +1333,7 @@ Name: rspec-rails Version: 4.0.1 File: rspec-rails-4.0.1.gem -/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-rails/usr/share/rubygems-integration/all /tmp/d20220827-61022-15sdafh/rspec-rails-4.0.1.gem +/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-rails/usr/share/rubygems-integration/all /tmp/d20210726-16955-ibb9ln/rspec-rails-4.0.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-rails-4.0.1/debian/ruby-rspec-rails/usr/share/rubygems-integration/all/gems/rspec-rails-4.0.1/lib/generators/rspec.rb /build/ruby-rspec-rails-4.0.1/debian/ruby-rspec-rails/usr/share/rubygems-integration/all/gems/rspec-rails-4.0.1/lib/generators/rspec/channel/channel_generator.rb @@ -1368,7 +1438,7 @@ rm -rf extensions cd gems/rspec-rails-4.0.1 rm -f -chmod 644 lib/rspec/rails/example/rails_example_group.rb lib/rspec/rails/example/model_example_group.rb lib/rspec/rails/example/mailer_example_group.rb lib/rspec/rails/example/mailbox_example_group.rb lib/rspec/rails/example/view_example_group.rb lib/rspec/rails/example/routing_example_group.rb lib/rspec/rails/example/request_example_group.rb lib/rspec/rails/example/channel_example_group.rb lib/rspec/rails/example/controller_example_group.rb lib/rspec/rails/example/helper_example_group.rb lib/rspec/rails/example/job_example_group.rb lib/rspec/rails/example/feature_example_group.rb lib/rspec/rails/example/system_example_group.rb lib/rspec/rails/adapters.rb lib/rspec/rails/configuration.rb lib/rspec/rails/extensions.rb lib/rspec/rails/view_path_builder.rb lib/rspec/rails/example.rb lib/rspec/rails/fixture_support.rb lib/rspec/rails/version.rb lib/rspec/rails/active_record.rb lib/rspec/rails/matchers/have_http_status.rb lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb lib/rspec/rails/matchers/action_cable/have_streams.rb lib/rspec/rails/matchers/redirect_to.rb lib/rspec/rails/matchers/active_job.rb lib/rspec/rails/matchers/be_a_new.rb lib/rspec/rails/matchers/base_matcher.rb lib/rspec/rails/matchers/routing_matchers.rb lib/rspec/rails/matchers/be_valid.rb lib/rspec/rails/matchers/be_new_record.rb lib/rspec/rails/matchers/have_enqueued_mail.rb lib/rspec/rails/matchers/action_cable.rb lib/rspec/rails/matchers/action_mailbox.rb lib/rspec/rails/matchers/relation_match_array.rb lib/rspec/rails/matchers/have_rendered.rb lib/rspec/rails/extensions/active_record/proxy.rb lib/rspec/rails/view_assigns.rb lib/rspec/rails/view_rendering.rb lib/rspec/rails/matchers.rb lib/rspec/rails/vendor/capybara.rb lib/rspec/rails/view_spec_methods.rb lib/rspec/rails/fixture_file_upload_support.rb lib/rspec/rails/file_fixture_support.rb lib/rspec/rails/feature_check.rb lib/rspec/rails.rb lib/rspec-rails.rb lib/generators/rspec/controller/templates/routing_spec.rb lib/generators/rspec/controller/templates/controller_spec.rb lib/generators/rspec/controller/templates/request_spec.rb lib/generators/rspec/controller/templates/view_spec.rb lib/generators/rspec/controller/controller_generator.rb lib/generators/rspec/mailer/templates/mailer_spec.rb lib/generators/rspec/mailer/templates/preview.rb lib/generators/rspec/mailer/mailer_generator.rb lib/generators/rspec/generator/templates/generator_spec.rb lib/generators/rspec/generator/generator_generator.rb lib/generators/rspec/request/request_generator.rb lib/generators/rspec/mailbox/mailbox_generator.rb lib/generators/rspec/view/templates/view_spec.rb lib/generators/rspec/view/view_generator.rb lib/generators/rspec/channel/channel_generator.rb lib/generators/rspec/install/templates/spec/rails_helper.rb lib/generators/rspec/install/install_generator.rb lib/generators/rspec/helper/templates/helper_spec.rb lib/generators/rspec/helper/helper_generator.rb lib/generators/rspec/system/templates/system_spec.rb lib/generators/rspec/system/system_generator.rb lib/generators/rspec/feature/templates/feature_spec.rb lib/generators/rspec/feature/templates/feature_singular_spec.rb lib/generators/rspec/feature/feature_generator.rb lib/generators/rspec/job/job_generator.rb lib/generators/rspec/model/templates/model_spec.rb lib/generators/rspec/model/model_generator.rb lib/generators/rspec/integration/templates/request_spec.rb lib/generators/rspec/integration/integration_generator.rb lib/generators/rspec/scaffold/templates/routing_spec.rb lib/generators/rspec/scaffold/templates/api_controller_spec.rb lib/generators/rspec/scaffold/templates/api_request_spec.rb lib/generators/rspec/scaffold/templates/index_spec.rb lib/generators/rspec/scaffold/templates/controller_spec.rb lib/generators/rspec/scaffold/templates/new_spec.rb lib/generators/rspec/scaffold/templates/request_spec.rb lib/generators/rspec/scaffold/templates/edit_spec.rb lib/generators/rspec/scaffold/templates/show_spec.rb lib/generators/rspec/scaffold/scaffold_generator.rb lib/generators/rspec.rb +chmod 644 lib/rspec/rails.rb lib/rspec/rails/view_rendering.rb lib/rspec/rails/extensions/active_record/proxy.rb lib/rspec/rails/adapters.rb lib/rspec/rails/view_spec_methods.rb lib/rspec/rails/version.rb lib/rspec/rails/matchers.rb lib/rspec/rails/configuration.rb lib/rspec/rails/fixture_support.rb lib/rspec/rails/example.rb lib/rspec/rails/vendor/capybara.rb lib/rspec/rails/feature_check.rb lib/rspec/rails/extensions.rb lib/rspec/rails/example/view_example_group.rb lib/rspec/rails/example/system_example_group.rb lib/rspec/rails/example/mailer_example_group.rb lib/rspec/rails/example/mailbox_example_group.rb lib/rspec/rails/example/request_example_group.rb lib/rspec/rails/example/routing_example_group.rb lib/rspec/rails/example/feature_example_group.rb lib/rspec/rails/example/job_example_group.rb lib/rspec/rails/example/helper_example_group.rb lib/rspec/rails/example/channel_example_group.rb lib/rspec/rails/example/controller_example_group.rb lib/rspec/rails/example/rails_example_group.rb lib/rspec/rails/example/model_example_group.rb lib/rspec/rails/view_assigns.rb lib/rspec/rails/fixture_file_upload_support.rb lib/rspec/rails/file_fixture_support.rb lib/rspec/rails/active_record.rb lib/rspec/rails/view_path_builder.rb lib/rspec/rails/matchers/routing_matchers.rb lib/rspec/rails/matchers/have_http_status.rb lib/rspec/rails/matchers/be_a_new.rb lib/rspec/rails/matchers/relation_match_array.rb lib/rspec/rails/matchers/redirect_to.rb lib/rspec/rails/matchers/be_valid.rb lib/rspec/rails/matchers/action_cable.rb lib/rspec/rails/matchers/action_cable/have_streams.rb lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb lib/rspec/rails/matchers/action_mailbox.rb lib/rspec/rails/matchers/have_rendered.rb lib/rspec/rails/matchers/active_job.rb lib/rspec/rails/matchers/be_new_record.rb lib/rspec/rails/matchers/base_matcher.rb lib/rspec/rails/matchers/have_enqueued_mail.rb lib/rspec-rails.rb lib/generators/rspec/mailer/templates/preview.rb lib/generators/rspec/mailer/templates/mailer_spec.rb lib/generators/rspec/mailer/mailer_generator.rb lib/generators/rspec/controller/templates/view_spec.rb lib/generators/rspec/controller/templates/request_spec.rb lib/generators/rspec/controller/templates/controller_spec.rb lib/generators/rspec/controller/templates/routing_spec.rb lib/generators/rspec/controller/controller_generator.rb lib/generators/rspec/feature/templates/feature_spec.rb lib/generators/rspec/feature/templates/feature_singular_spec.rb lib/generators/rspec/feature/feature_generator.rb lib/generators/rspec/channel/channel_generator.rb lib/generators/rspec/mailbox/mailbox_generator.rb lib/generators/rspec/generator/templates/generator_spec.rb lib/generators/rspec/generator/generator_generator.rb lib/generators/rspec/helper/templates/helper_spec.rb lib/generators/rspec/helper/helper_generator.rb lib/generators/rspec/system/system_generator.rb lib/generators/rspec/system/templates/system_spec.rb lib/generators/rspec/job/job_generator.rb lib/generators/rspec/integration/templates/request_spec.rb lib/generators/rspec/integration/integration_generator.rb lib/generators/rspec/install/templates/spec/rails_helper.rb lib/generators/rspec/install/install_generator.rb lib/generators/rspec/request/request_generator.rb lib/generators/rspec/view/templates/view_spec.rb lib/generators/rspec/view/view_generator.rb lib/generators/rspec/model/model_generator.rb lib/generators/rspec/model/templates/model_spec.rb lib/generators/rspec/scaffold/templates/api_request_spec.rb lib/generators/rspec/scaffold/templates/new_spec.rb lib/generators/rspec/scaffold/templates/edit_spec.rb lib/generators/rspec/scaffold/templates/request_spec.rb lib/generators/rspec/scaffold/templates/show_spec.rb lib/generators/rspec/scaffold/templates/index_spec.rb lib/generators/rspec/scaffold/templates/api_controller_spec.rb lib/generators/rspec/scaffold/templates/controller_spec.rb lib/generators/rspec/scaffold/templates/routing_spec.rb lib/generators/rspec/scaffold/scaffold_generator.rb lib/generators/rspec.rb find lib/ -type d -empty -delete cd - cd - @@ -1390,567 +1460,283 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 24375 +Randomized with seed 50098 ActiveModel support with partial double verification disabled - allows you to stub instances of `ActiveModel` allows you to stub `ActiveModel` + allows you to stub instances of `ActiveModel` with partial double verification enabled - allows you to stub `ActiveModel` allows you to stub instances of `ActiveModel` + allows you to stub `ActiveModel` -have_rendered - 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 symbol - converts to_s and delegates to assert_template - given a hash - delegates to assert_template - 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 passes - fails with custom failure message - when fails due to some other exception - raises that exception - when assert_template fails - passes - -RSpec::Rails::HelperExampleGroup - provides a controller_path based on the helper module's name - 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 => :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 include itself in the example group - does not tag groups in that directory with `:type => :helper` - 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 - tags groups in that directory with `:type => :helper` - includes itself in the example group - 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 - allows users to override the type - applies configured `before(:context)` hooks with `:type => :helper` metadata - includes itself in the example group - tags groups in that directory with `:type => :helper` - #helper - includes ApplicationHelper - returns the instance of AV::Base provided by AV::TC::Behavior - -HaveEnqueuedMail matchers - have_enqueued_mail - generates a failure message when given 0 argument - passes when deliver_later is called with a queue argument - fails with with block with incorrect data - ensure that the right mailer is enqueued - generates a failure message with arguments - passes when using the have_enqueued_email alias - passes when only given mailer argument - throws descriptive error when no test adapter set - generates a failure message with at - passes for mailer methods that accept arguments when the provided argument matcher is not used - passes when using the enqueue_mail alias - fails when negated and mail is enqueued - fails when too many emails are enqueued - passes multiple arguments to with block - passes when negated with only mailer arguments - generates a failure message with at most hint - generates a failure message when given only mailer argument - generates a failure message with on_queue - generates a failure message with at least hint - passes with :twice count - accepts composable matchers as an at date - passes when using the enqueue_email alias - only calls with block if other conditions are met - generates a failure message with unmatching enqueued mail jobs - passes when negated - passes with :thrice count - passes when deliver_later is called with a wait_until argument - counts only emails enqueued in the block - passes with at_most when enqueued emails are under the limit - passes with multiple emails - matches based on mailer class and method name - passes when given 0 arguments - passes when a mailer method is called with deliver_later - passes when negated with 0 arguments - passes with :once count - passes with provided argument matchers - passes with at_least when enqueued emails are over the limit - generates a failure message - passes for mailer methods with default arguments - mailer job is unified - passes when mixing parameterized and non-parameterized emails - passes when mailer is parameterized - passes when using a mailer with `delivery_job` set to a sub class of `ActionMailer::DeliveryJob` - passes with provided argument matchers - when parameterized - passes with provided argument matchers - passes when mixing parameterized and non-parameterized emails - passes when mailer is parameterized - -RSpec::Rails::ControllerExampleGroup - includes routing matchers - 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 - with explicit subject - uses the specified subject instead of the controller - 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 tag groups in that directory with `:type => :controller` - does not include itself in the example group - 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 - includes itself in the example group - allows users to override the type - applies configured `before(:context)` hooks with `:type => :controller` metadata - tags groups in that directory with `:type => :controller` - for an example group defined in a file in the ./spec/controllers/ directory - tags groups in that directory with `:type => :controller` - includes itself in the example group - allows users to override the type - applies configured `before(:context)` hooks with `:type => :controller` metadata - with implicit subject - doesn't cause let definition priority to be changed - uses the controller as the subject - controller name - sets name as AnonymousController if defined as ApplicationController - sets the name according to defined controller if it is not anonymous - sets name as AnonymousController if it inherits outer group's anonymous controller - sets the name as AnonymousController if it's anonymous - sets name as AnonymousController if the controller is abstract - #controller - calls NamedRouteCollection#route_defined? when it checks that given route is defined or not - delegates named route helpers to the underlying controller - 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 when no ApplicationController is present - infers the anonymous controller class - -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 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` - 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 - includes itself in the example group - tags groups in that directory with `:type => :model` - for an example group defined in a file in the .\spec\models\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :model` metadata - allows users to override the type - tags groups in that directory with `:type => :model` - -RSpec::Rails::FeatureExampleGroup - includes Rails route helpers - when nested inside a request example group - 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 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/features/ directory - does not tag groups in that directory with `:type => :feature` - does not include itself in the example group - 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 - applies configured `before(:context)` hooks with `:type => :feature` metadata - allows users to override the type - includes itself in the example group - tags groups in that directory with `:type => :feature` - -render_template - given a string - delegates to assert_template - given a hash - delegates to assert_template - with should - when assert_template fails - uses failure message from assert_template - when fails due to some other exception - raises that exception - when assert_template passes - passes - given a symbol - converts to_s and delegates to assert_template - with should_not - when assert_template passes - fails with custom failure message - 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 +RSpec::Rails::HelperExampleGroup::ClassMethods + determine_default_helper_class + the described is a class + returns nil + the described is a module + returns the module Configuration - metadata `type: :model` sets up model example groups - has a default #file_fixture_path of 'spec/fixtures/files' + metadata `type: :helper` sets up helper example groups + metadata `type: :routing` sets up routing example groups + adds 'lib/rspec/rails' to the backtrace exclusions + adds 'vendor/' to the backtrace exclusions metadata `:type => :controller` sets up controller example groups - #filter_rails_from_backtrace! adds exclusion patterns for rails gems - metadata `type: :request` sets up request example groups metadata `type: :mailer` sets up mailer example groups - adds 'vendor/' to the backtrace exclusions - fixture support is included with metadata `:use_fixtures` - adds 'lib/rspec/rails' to the backtrace exclusions - metadata `type: :routing` sets up routing example groups - metadata `type: :view` sets up view example groups metadata `type: :feature` sets up feature example groups - metadata `type: :helper` sets up helper example groups + metadata `type: :view` sets up view example groups + fixture support is included with metadata `:use_fixtures` + metadata `type: :model` sets up model example groups + #filter_rails_from_backtrace! adds exclusion patterns for rails gems + metadata `type: :request` sets up request example groups + has a default #file_fixture_path of 'spec/fixtures/files' + #infer_spec_type_from_file_location! + sets the type to `:view` for file path `spec/views` + sets the type to `:feature` for file path `spec/features` + sets the type to `:model` for file path `spec/models` + sets the type to `:request` for file path `spec/requests` + sets the type to `:helper` for file path `spec/helpers` + sets the type to `:request` for file path `spec/api` + sets the type to `:routing` for file path `spec/routing` + sets the type to `:request` for file path `spec/integration` + sets the type to `:mailer` for file path `spec/mailers` + sets the type to `:controller` for file path `spec/controllers` clears ActionMailer::Base::Deliveries after each example - only has deliveries from this test (e.g. from email_2@example.com) (PENDING: Temporarily skipped with xit) only has deliveries from this test (e.g. from email@example.com) (PENDING: Temporarily skipped with xit) + only has deliveries from this test (e.g. from email_2@example.com) (PENDING: Temporarily skipped with xit) adds settings - `#fixture_path?` is `nil` by default + `#rendering_views?` is `nil` by default + `#render_views?` is falsey by default `#use_instantiated_fixtures?` is `nil` by default - `#global_fixtures?` is `nil` by default + `#render_views` sets `render_views?` to `true` `#infer_base_class_for_anonymous_controllers?` is `true` by default `#use_transactional_fixtures?` is `nil` by default - `#render_views` sets `render_views?` to `true` - `#render_views?` is falsey by default `#use_transactional_examples` is an alias for `use_transactional_fixtures` - `#rendering_views?` is `nil` by default - `#render_views=` - sets `render_views?` to the provided value - sets `render_views` to the provided value - `#fixture_path=` - sets `fixture_path` to the provided value - changes `fixture_path?` to the provided value + `#global_fixtures?` is `nil` by default + `#fixture_path?` is `nil` by default `#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 - `#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=` 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 `:controller` for file path `spec/controllers` - sets the type to `:mailer` for file path `spec/mailers` - 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/requests` - sets the type to `:routing` for file path `spec/routing` - sets the type to `:request` for file path `spec/integration` - sets the type to `:view` for file path `spec/views` - sets the type to `:helper` for file path `spec/helpers` + `#global_fixtures=` + changes `global_fixtures?` to the provided value + sets `global_fixtures` to the provided value + `#rendering_views=` + sets `rendering_views` to the provided value + changes `rendering_views?` to the provided value + `#fixture_path=` + changes `fixture_path?` to the provided value + sets `fixture_path` to the provided value -RSpec::Rails::ViewExampleGroup - #stub_template - caches FixtureResolver instances between example groups - prepends an ActionView::FixtureResolver to the view path - #render - given no input - converts the filename components into render options - sends render(:template => (described file)) to the view - converts the filename with variant into render options - converts the filename without format into render options - given a hash - sends the hash as the first arg to render - given a string - sends string as the first arg to render - #view - is accessible to hooks - delegates to _view +be_valid matcher + includes a brief error message when error message is wrong arity + includes a brief error message for the simplest implementation of validity + includes a failure message for the negative case + includes the error messages for simple implementations of error messages + uses a custom failure message if provided + does not include the validation context if not provided + includes the validation context if provided + includes the error messages in the failure message + +RSpec::Rails::MinitestLifecycleAdapter + invokes minitest lifecycle hooks at the appropriate times + allows let variables named 'send' + +RSpec::Rails::SetupAndTeardownAdapter + .setup + registers prepend_before hooks for the Rails' setup methods + registers teardown hooks in the order setup is received + registers before hooks in the order setup is received + +RSpec::Rails + has no malformed whitespace + +RSpec::Rails::ChannelExampleGroup 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 + includes itself in example groups tagged with `:type => :channel` + for an example group defined in a file in the ./spec/channels/ 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 tag groups in that directory with `:type => :channel` + for an example group defined in a file in the .\spec\channels\ directory does not include itself in the example group - does not tag groups in that directory with `:type => :view` + does not tag groups in that directory with `:type => :channel` 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 - applies configured `before(:context)` hooks with `:type => :view` metadata - allows users to override the type - includes itself in the example group - tags groups in that directory with `:type => :view` - for an example group defined in a file in the ./spec/views/ directory - allows users to override the type - applies configured `before(:context)` hooks with `:type => :view` metadata + includes itself in example groups tagged with `:type => :channel` + for an example group defined in a file in the .\spec\channels\ directory + tags groups in that directory with `:type => :channel` includes itself in the example group - tags groups in that directory with `:type => :view` - #template - delegates to #view - is deprecated - automatic inclusion of helpers - 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 - includes the helper with the same name - no application helper exists - operates normally - application helper exists - includes the application helper - #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 - routes helpers collides with asset helpers - uses routes helpers - -RSpec::Rails::MailboxExampleGroup - #have_failed - does not raise otherwise - raises on unfailed mail - #have_bounced - does not raise otherwise - raises on unbounced mail - #have_been_delivered - raises on undelivered mail - does not raise otherwise - #process - sends mail to the mailbox - 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 => :mailbox` - for an example group defined in a file in the .\spec\mailboxes\ directory allows users to override the type - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :mailbox` metadata - tags groups in that directory with `:type => :mailbox` - for an example group defined in a file in the ./spec/mailboxes/ directory + applies configured `before(:context)` hooks with `:type => :channel` metadata + for an example group defined in a file in the ./spec/channels/ directory allows users to override the type + applies configured `before(:context)` hooks with `:type => :channel` metadata includes itself in the example group - applies configured `before(:context)` hooks with `:type => :mailbox` metadata - tags groups in that directory with `:type => :mailbox` - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :mailbox` - for an example group defined in a file in the .\spec\mailboxes\ directory - does not tag groups in that directory with `:type => :mailbox` - does not include itself in the example group - for an example group defined in a file in the ./spec/mailboxes/ directory - does not tag groups in that directory with `:type => :mailbox` - does not include itself in the example group + tags groups in that directory with `:type => :channel` -RSpec::Rails::SetupAndTeardownAdapter - .setup - registers prepend_before hooks for the Rails' setup methods - registers before hooks in the order setup is received - registers teardown hooks in the order setup is received +RSpec::Rails::AssertionDelegator + delegates back to the including instance for methods the assertion module requires + does not delegate method_missing + provides a module that delegates assertion methods to an isolated class -RSpec::Rails::JobExampleGroup +RSpec::Rails::ViewSpecMethods + .remove_extra_params_accessors_from + when accessors are not defined + does nothing + when accessors are defined + removes them + .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 + +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 => :job` - for an example group defined in a file in the .\spec\jobs\ directory + 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 + tags groups in that directory with `:type => :routing` 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 - allows users to override the type - tags groups in that directory with `:type => :job` + 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 + allows users to override the type + tags groups in that directory with `:type => :routing` 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 => :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\jobs\ directory - does not tag groups in that directory with `:type => :job` + 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 -redirect_to - with should - when assert_redirected_to fails - uses failure message from assert_redirected_to - when assert_redirected_to passes - passes - when fails due to some other exception - raises that exception - with should_not - when fails due to some other exception - raises that exception - when assert_redirected_to fails - passes - when assert_redirected_to passes - fails with custom failure message - -ActiveSupport::Relation match_array matcher - fails if the scope encompasses fewer records than on the right hand side - fails if the scope encompasses more records than on the right hand side - verifies that the scope returns the records on the right hand side, regardless of order - have_http_status - http status :error - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - 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 :error + http status :server_error 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 + 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 + 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 :not_found behaves like status code matcher 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 + 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 - http status :server_error + returns false for a response with a different code behaves like supports different response instances - returns false given another type 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 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 general status code group :successful + given something that acts as a Capybara::Session + returns true for a response with the same code + with a symbolic status + has a failure message reporting the expected and actual statuses + raises an ArgumentError + has a negated failure message reporting the expected status code + describes responding by the symbolic and associated numeric status code + 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 failure message reporting it was given another type - returns false given another type 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 - given something that acts as a Capybara::Session - returns true for a response with the same code + with general status code group :successful 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 + 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 - 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 :server_error - behaves like status code matcher - 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 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 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 - with a symbolic status + with a nil status raises an ArgumentError - 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 + with general status code group :missing + 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 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::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 - matching a response - returns false for a response with a different code - returns true for a response with the equivalent code + given an ActionDispatch::Response + returns true for a response with the same code http status :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 failure message reporting it was given another type - has a negated failure message reporting it was given another type - given an ActionDispatch::Response + 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 - given an ActionDispatch::TestResponse + given an ActionDispatch::Response returns true for a response with the same code - http status :not_found + with general status code group :success + 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 + 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 failure message reporting it was given another type @@ -1963,629 +1749,913 @@ returns true for a response with the same 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 - 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 + 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 the same code - with general status code group :missing + 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 negated 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 - 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 - matching a response - returns true for a response with code - returns false for a response with a different code - with a nil status - raises an ArgumentError - with general status code group :success + given an ActionDispatch::TestResponse + 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 - 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 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 - given something that acts as a Capybara::Session - 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 + 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 failure message reporting the expected and actual status codes 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 general status code group :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 + 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 - given an ActionDispatch::Response - returns true for a response with the same code + with general status code group :error 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 + 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 - with general status code group :redirect 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 + 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 + with general status code group :redirect + 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::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 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 + 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 +have_stream matchers + have_stream_from + fails with message + raises ArgumentError when no subscription passed to expect + passes + raises when no subscription started + with negated form + passes + fails with message + with composable matcher + fails with message + passes + have_stream_for + raises ArgumentError when no subscription passed to expect + passes + fails with message + raises when no subscription started + with negated form + fails with message + passes + have_streams + does not allow usage + raises when no subscription started + with negated form + passes with negated form + raises ArgumentError when no subscription passed to expect + fails with message + raises when no subscription started + +have_broadcasted_to matchers + have_broadcasted_to + passes with at_least count when sent messages are over limit + fails when negated and message is sent + generates failure message with at least hint + raises ArgumentError when no Proc passed to expect + generates failure message when data not match + passes with multiple streams + generates failure message with at most hint + passes with default messages count (exactly one) + fails when message is not sent + reports correct number in fail error message + passes when negated + passes with :thrice count + fails when too many messages broadcast + counts only messages sent in block + fails with with block with incorrect data + throws descriptive error when no test adapter set + passes when using alias + passes with :twice count + passes with provided data matchers + passes with provided data + passes with :once count + passes with at_most count when sent messages are under limit + when object is passed as first argument + when channel is present + passes + when channel can't be inferred + raises exception + +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 not configured + includes itself in example groups tagged with `:type => :system` + for an example group defined in a file in the .\spec\system\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :system` + for an example group defined in a file in the ./spec/system/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :system` + 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` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :system` metadata + includes itself in the example group + 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 + #driver + sets :rack_test driver using by before_action + calls :driven_by method only once + uses :selenium driver by default + +RSpec::Rails::ControllerExampleGroup + includes routing matchers + with inferred anonymous controller + defaults to inferring anonymous controller class + when infer_base_class_for_anonymous_controllers is true + infers the anonymous controller class when no ApplicationController is present + infers the 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 + #bypass_rescue + overrides the rescue_with_handler method on the controller to raise submitted error + with implicit subject + doesn't cause let definition priority to be changed + uses the controller as the subject + controller name + sets the name as AnonymousController if it's anonymous + sets name as AnonymousController if it inherits outer group's anonymous controller + sets name as AnonymousController if defined as ApplicationController + sets the name according to defined controller if it is not anonymous + sets name as AnonymousController if the controller is abstract + #controller + calls NamedRouteCollection#route_defined? when it checks that given route is defined or not + delegates named route helpers to the underlying controller + 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 => :controller` + 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 + for an example group defined in a file in the .\spec\controllers\ directory + tags groups in that directory with `:type => :controller` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :controller` metadata + includes itself in the example group + 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` + with explicit subject + uses the specified subject instead of the controller + 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 + +RSpec::Rails::FixtureFileUploadSupport + with fixture path not set + resolves fixture using relative path + with fixture path set in config + resolves supports `Pathname` objects + resolves fixture file + with fixture path set in spec + resolves fixture file + be_routable provides a description with should - fails if routes do not recognize the path passes if routes recognize the path + fails if routes do not recognize the path with should_not passes if routes do not recognize the path fails if routes recognize the path +HaveEnqueuedMail matchers + have_enqueued_mail + passes when deliver_later is called with a wait_until argument + passes when only given mailer argument + passes when using the enqueue_mail alias + passes when using the enqueue_email alias + fails when too many emails are enqueued + ensure that the right mailer is enqueued + generates a failure message with on_queue + passes with at_most when enqueued emails are under the limit + passes when a mailer method is called with deliver_later + passes when negated + passes when given 0 arguments + passes with provided argument matchers + counts only emails enqueued in the block + passes multiple arguments to with block + passes with at_least when enqueued emails are over the limit + passes with :thrice count + generates a failure message with unmatching enqueued mail jobs + generates a failure message with arguments + accepts composable matchers as an at date + passes with :twice count + generates a failure message with at least hint + passes when negated with only mailer arguments + only calls with block if other conditions are met + passes with :once count + passes for mailer methods that accept arguments when the provided argument matcher is not used + generates a failure message with at most hint + generates a failure message when given only mailer argument + passes when negated with 0 arguments + matches based on mailer class and method name + generates a failure message + fails with with block with incorrect data + passes for mailer methods with default arguments + passes with multiple emails + generates a failure message with at + fails when negated and mail is enqueued + throws descriptive error when no test adapter set + passes when deliver_later is called with a queue argument + passes when using the have_enqueued_email alias + generates a failure message when given 0 argument + when parameterized + passes when mixing parameterized and non-parameterized emails + passes with provided argument matchers + passes when mailer is parameterized + mailer job is unified + passes when using a mailer with `delivery_job` set to a sub class of `ActionMailer::DeliveryJob` + passes with provided argument matchers + passes when mailer is parameterized + passes when mixing parameterized and non-parameterized emails + +RSpec::Rails::FeatureExampleGroup + includes Rails route helpers + when nested inside a request example group + 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 + 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 + tags groups in that directory with `:type => :feature` + applies configured `before(:context)` hooks with `:type => :feature` metadata + 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 => :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` + #visit + is resistant to load order errors + raises an error informing about missing Capybara + +ActionMailbox matchers + receive_inbound_email + passes when negated when it doesn't receive inbound email + fails when negated when it receives inbound email + passes when it receives inbound email + fails when it doesn't receive inbound email + +RSpec::Rails::MinitestAssertionAdapter + exposes assert_raises to host examples + exposes refute_nil to host examples + exposes refute_in_epsilon to host examples + exposes assert_predicate to host examples + exposes assert_output to host examples + does not expose Minitest's message method + exposes assert_throws to host examples + exposes flunk to host examples + exposes refute_equal to host examples + exposes refute_operator to host examples + exposes refute_predicate to host examples + exposes refute_match to host examples + exposes refute_instance_of to host examples + exposes refute_empty to host examples + exposes assert_equal to host examples + exposes assert_in_epsilon to host examples + exposes assert_same to host examples + exposes refute_includes to host examples + exposes assert_nil to host examples + exposes refute_in_delta to host examples + exposes assert_instance_of to host examples + exposes assert_silent to host examples + exposes refute_kind_of to host examples + exposes refute_respond_to to host examples + exposes assert_includes to host examples + exposes assert_match to host examples + exposes assert_kind_of to host examples + exposes assert_operator to host examples + exposes refute_path_exists to host examples + does not leak TestUnit specific methods into the AssertionDelegator + exposes assert_path_exists to host examples + exposes assert to host examples + exposes assert_empty to host examples + exposes refute_same to host examples + exposes assert_send to host examples + exposes assert_respond_to to host examples + exposes assert_in_delta to host examples + does not expose internal methods of Minitest + exposes refute to host examples + +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 + includes itself in the example group + tags groups in that directory with `:type => :model` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :model` metadata + 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 + 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 include itself in the example group + does not tag groups in that directory with `:type => :model` + 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` + be_a_new matcher - new record - wrong class - fails - right class - passes - existing record - right class - fails - wrong class - fails #with - right class and new record - one attribute same - passes + wrong class and existing record + all attributes same + fails one attribute value not the same fails + no attributes same + fails + right class and new record all attributes same passes + no attributes same + fails with composable matchers two attributes are composable matchers - only one matcher present in actual - fails both matchers present in actual passes + only one matcher present in actual + fails one attribute is a composable matcher - fails passes + fails matcher is wrong type fails - no attributes same - fails - wrong class and existing record - no attributes same - fails - all attributes same - fails + one attribute same + passes one attribute value not the same fails + existing record + wrong class + fails + right class + fails + new record + wrong class + fails + right class + passes -be_new_record - a new record - passes - fails with custom failure message - a persisted record - fails with custom failure message - fails +RSpec::Rails::FixtureSupport + with use_transactional_fixtures set to false + still supports fixture_path -have_broadcasted_to matchers - have_broadcasted_to - fails when too many messages broadcast - passes with multiple streams - passes with at_least count when sent messages are over limit - generates failure message when data not match - passes with :twice count - fails with with block with incorrect data - passes with provided data - passes when negated - passes with provided data matchers - throws descriptive error when no test adapter set - passes when using alias - fails when message is not sent - counts only messages sent in block - reports correct number in fail error message - passes with :thrice count - generates failure message with at least hint - fails when negated and message is sent - raises ArgumentError when no Proc passed to expect - passes with default messages count (exactly one) - generates failure message with at most hint - passes with at_most count when sent messages are under limit - passes with :once count - when object is passed as first argument - when channel can't be inferred - raises exception - when channel is present - passes +RSpec::Rails::ViewExampleGroup + #params + delegates to the controller + 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 => :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 + includes itself in the example group + 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 + includes itself in the example group + tags groups in that directory with `:type => :view` + allows users to override the type + 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 tag groups in that directory with `:type => :view` + does not include itself in the example group + #view + is accessible to hooks + delegates to _view + #render + given no input + converts the filename components into render options + sends render(:template => (described file)) to the view + converts the filename with variant into render options + converts the filename without format into render options + given a hash + sends the hash as the first arg to render + given a string + sends string as the first arg to render + automatic inclusion of helpers + operates normally when no helper with the same name exists + includes the helper with the same name + includes the namespaced helper with the same name + 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 + is deprecated + delegates to #view + #stub_template + caches FixtureResolver instances between example groups + prepends an ActionView::FixtureResolver to the view path + #_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 + routes helpers collides with asset helpers + uses routes helpers + +RSpec::Rails::MailboxExampleGroup + 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 => :mailbox` + for an example group defined in a file in the .\spec\mailboxes\ directory + does not tag groups in that directory with `:type => :mailbox` + does not include itself in the example group + for an example group defined in a file in the ./spec/mailboxes/ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :mailbox` + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :mailbox` + for an example group defined in a file in the ./spec/mailboxes/ directory + applies configured `before(:context)` hooks with `:type => :mailbox` metadata + includes itself in the example group + allows users to override the type + tags groups in that directory with `:type => :mailbox` + for an example group defined in a file in the .\spec\mailboxes\ directory + applies configured `before(:context)` hooks with `:type => :mailbox` metadata + includes itself in the example group + tags groups in that directory with `:type => :mailbox` + allows users to override the type + #have_bounced + does not raise otherwise + raises on unbounced mail + #process + sends mail to the mailbox + #have_been_delivered + raises on undelivered mail + does not raise otherwise + #have_failed + does not raise otherwise + raises on unfailed mail + +have_rendered + given a string + delegates to assert_template + with should + when fails due to some other exception + raises that exception + when assert_template passes + passes + when assert_template fails + uses failure message from assert_template + with should_not + when fails due to some other exception + raises that exception + when assert_template fails + passes + when assert_template passes + fails with custom failure message + when fails with a redirect + gives informative error message + with a badly formatted error message + falls back to something informative + given a hash + delegates to assert_template + given a symbol + converts to_s and delegates to assert_template 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 not configured includes itself in example groups tagged with `:type => :request` - for an example group defined in a file in the .\spec\requests\ directory + 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` - for an example group defined in a file in the .\spec\api\ directory + 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/api/ directory + 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/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/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 include itself in the example group + does not tag groups in that directory with `:type => :request` 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 - tags groups in that directory with `:type => :request` - 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 - allows users to override the type - for an example group defined in a file in the ./spec/api/ directory includes itself in the example group allows users to override the type tags groups in that directory with `:type => :request` + for an example group defined in a file in the ./spec/requests/ directory + allows users to override the type applies configured `before(:context)` hooks with `:type => :request` metadata + tags groups in that directory with `:type => :request` + includes itself in the example group for an example group defined in a file in the .\spec\api\ directory includes itself in the example group - allows users to override the type tags groups in that directory with `:type => :request` + allows users to override the type applies configured `before(:context)` hooks with `:type => :request` metadata - for an example group defined in a file in the ./spec/requests/ directory + 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 - for an example group defined in a file in the ./spec/integration/ directory + 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 tags groups in that directory with `:type => :request` - applies configured `before(:context)` hooks with `:type => :request` metadata - for an example group defined in a file in the .\spec\requests\ directory + for an example group defined in a file in the ./spec/api/ directory allows users to override the type applies configured `before(:context)` hooks with `:type => :request` metadata includes itself in the example group tags groups in that directory with `:type => :request` -ActionMailbox matchers - receive_inbound_email - passes when it receives inbound email - fails when negated when it receives inbound email - fails when it doesn't receive inbound email - passes when negated when it doesn't receive inbound email +route_to + provides a description + delegates to assert_recognizes + uses failure message from assert_recognizes + with should_not + when an exception is raised + raises that exception + 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 + with shortcut syntax + routes without extra options + routes with nested query parameters + routes with multiple query parameters + routes with one query parameter + routes with extra options + with should + when assert_recognizes fails with an assertion failure + fails with message from assert_recognizes + when an exception is raised + raises that exception + when assert_recognizes fails with a routing error + fails with message from assert_recognizes + when assert_recognizes passes + passes + +be_new_record + a persisted record + fails + fails with custom failure message + a new record + fails with custom failure message + passes + +ActiveSupport::Relation match_array matcher + 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 + fails if the scope encompasses more records than on the right hand side ActiveJob matchers - have_been_performed - counts all performed jobs - fails when job is not performed - passes with default jobs count (exactly one) - passes when negated - have_performed_job - passes with :twice count - passes with at_most count when performed jobs are under limit - passes with provided arguments containing global id object - fails when negated and job is performed - passes with multiple jobs - raises ArgumentError when no Proc passed to expect - reports correct number in fail error message - passes when negated - generates failure message with all provided options - passes with provided queue name as symbol + have_enqueued_job + passes with :thrice count + passes with at_most count when enqueued jobs are under limit + fails when job is not enqueued + passes multiple arguments to with block only calls with block if other conditions are met passes with :once count - counts only jobs performed in block - passes with provided at date passes with job name - fails with with block with incorrect data - fails when too many jobs performed - generates failure message with at most hint - passes with provided argument matchers - passes with at_least count when performed jobs are over limit - passes with :thrice count - passes with default jobs count (exactly one) - passes with provided arguments - passes with provided queue name as string - throws descriptive error when no test adapter set - passes multiple arguments to with block generates failure message with at least hint - fails when job is not performed - passess deserialized arguments to with block - have_enqueued_job - passes with provided queue name as symbol + reports correct number in fail error message ignores undeserializable arguments - fails when too many jobs enqueued - passes with :thrice count + passes when negated + passes with provided arguments + passes with provided queue name as symbol passes with ActiveSupport::TimeWithZone - counts only jobs enqueued in block - passes with provided at date - fails when job is not enqueued - passes multiple arguments to with block - passes with provided arguments containing global id object - generates failure message with all provided options - does not have an enqueued job when providing at of :no_wait and there is a wait + accepts composable matchers as an at date + generates failure message with at most hint + fails when too many jobs enqueued raises ArgumentError when no Proc passed to expect - throws descriptive error when no test adapter set - passes with at_most count when enqueued jobs are under limit fails when negated and job is enqueued - passes with provided arguments - passes with :once count + passes when using alias + passes with provided at time + passes with multiple jobs + throws descriptive error when no test adapter set + passes with :twice count + passes with default jobs count (exactly one) + does not have an enqueued job when providing at of :no_wait and there is a wait + has an enqueued job when not providing at and there is a wait + passes with provided at date has an enqueued job when providing at of :no_wait and there is no wait - fails with with block with incorrect data - passes with at_least count when enqueued jobs are over limit - fails when negated and several jobs enqueued passes with Time - passes with default jobs count (exactly one) + fails when negated and several jobs enqueued + passes with provided queue name as string + generates failure message with all provided options + passes with provided arguments containing global id object + passess deserialized arguments to with block + passes with at_least count when enqueued jobs are over limit has an enqueued job when providing at and there is no wait - generates failure message with at least hint - passes with job name passes with provided argument matchers - has an enqueued job when not providing at and there is a wait - reports correct number in fail error message - only calls with block if other conditions are met + fails with with block with incorrect data + counts only jobs enqueued in block + have_performed_job + passes with provided queue name as string generates failure message with at most hint + passes with at_most count when performed jobs are under limit + passes multiple arguments to with block + fails when too many jobs performed + passes with provided at date + passes with provided queue name as symbol + fails with with block with incorrect data + throws descriptive error when no test adapter set + reports correct number in fail error message + fails when negated and job is performed + passes with provided arguments passes with :twice count - accepts composable matchers as an at date - passess deserialized arguments to with block - passes with provided queue name as string - passes when negated - passes when using alias + passes with default jobs count (exactly one) passes with multiple jobs - passes with provided at time + raises ArgumentError when no Proc passed to expect + passes when negated + passes with job name + passes with at_least count when performed jobs are over limit + fails when job is not performed + passess deserialized arguments to with block + passes with :thrice count + passes with provided arguments containing global id object + passes with provided argument matchers + passes with :once count + only calls with block if other conditions are met + generates failure message with all provided options + generates failure message with at least hint + counts only jobs performed in block have_been_enqueued passes when negated - counts all enqueued jobs + fails when negated and several jobs enqueued fails when job is not enqueued accepts composable matchers as an at date - fails when negated and several jobs enqueued passes with default jobs count (exactly one) + counts all enqueued jobs + have_been_performed + passes when negated + counts all performed jobs + passes with default jobs count (exactly one) + fails when job is not performed -be_valid matcher - includes the error messages for simple implementations of error messages - does not include the validation context if not provided - includes the error messages in the failure message - includes a failure message for the negative case - uses a custom failure message if provided - includes a brief error message for the simplest implementation of validity - includes the validation context if provided - includes a brief error message when error message is wrong arity - -RSpec::Rails::MinitestLifecycleAdapter - invokes minitest lifecycle hooks at the appropriate times - allows let variables named 'send' - -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 not defined - does nothing - when accessors are defined - removes them +ActiveRecord support + with partial double verification disabled + allows you to stub abstract classes + allows you to stub `ActiveRecord::Base` + with partial double verification enabled + allows you to stub abstract classes + allows you to stub `ActiveRecord::Base` -RSpec::Rails - has no malformed whitespace +redirect_to + with should_not + when fails due to some other exception + raises that exception + when assert_redirected_to passes + fails with custom failure message + when assert_redirected_to fails + passes + with should + when assert_redirected_to passes + passes + when assert_redirected_to fails + uses failure message from assert_redirected_to + when fails due to some other exception + raises that exception -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::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 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 the example group + applies configured `before(:context)` hooks with `:type => :job` metadata + allows users to override the type + tags groups in that directory with `:type => :job` + for an example group defined in a file in the ./spec/jobs/ directory + tags groups in that directory with `:type => :job` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :job` metadata + 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 tag groups in that directory with `:type => :job` + 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` + does not include itself in the example group should have_xxx works with ActiveRecord::Associations::CollectionProxy -RSpec::Rails::FixtureSupport - with use_transactional_fixtures set to false - still supports fixture_path - -RSpec::Rails::FixtureFileUploadSupport - with fixture path set in config - resolves supports `Pathname` objects - resolves fixture file - with fixture path set in spec - resolves fixture file - with fixture path not set - resolves fixture using relative path +RSpec::Rails::HelperExampleGroup + provides a controller_path based on the helper module's name + #helper + includes ApplicationHelper + returns the instance of AV::Base provided by AV::TC::Behavior + 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 => :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 include itself in the example group + does not tag groups in that directory with `:type => :helper` + 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 + tags groups in that directory with `:type => :helper` + includes itself in the example group + applies configured `before(:context)` hooks with `:type => :helper` metadata + allows users to override the type + for an example group defined in a file in the ./spec/helpers/ directory + allows users to override the type + tags groups in that directory with `:type => :helper` + applies configured `before(:context)` hooks with `:type => :helper` metadata + includes itself in the example group RSpec::Rails::ViewRendering #render_views propogates to examples in nested groups properly - with no args - tells examples to render views - with true - tells examples to render views in a nested group - passes override to children leaves the parent group as/is + passes override to children 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 - with true - tells examples to render views + with true + tells examples to render views with false tells examples not to render views overrides the global config if render_views is enabled there - default - ActionController::Metal - renders views - ActionController::Base - does not render views in a nested group - does not 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 - supports manipulating view paths with resolvers with empty template resolver - works with custom resolvers works with strings + works with custom resolvers + default + ActionController::Base + does not render views in a nested group + does not render views + ActionController::Metal + renders views -RSpec::Rails::SystemExampleGroup - 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 => :system` - 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 - 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 - 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 - allows users to override the type - tags groups in that directory 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 the example group - allows users to override the type - applies configured `before(:context)` hooks with `:type => :system` metadata - #driver - uses :selenium driver by default - sets :rack_test driver using by before_action - calls :driven_by method only once - #method_name - converts special characters to underscores - -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 abstract classes - allows you to stub `ActiveRecord::Base` - -RSpec::Rails::RoutingExampleGroup - 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 - includes itself in the example group - tags groups in that directory with `:type => :routing` - applies configured `before(:context)` hooks with `:type => :routing` metadata - allows users to override the type - for an example group defined in a file in the .\spec\routing\ directory - tags groups in that directory with `:type => :routing` - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :routing` 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 => :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 - named routes - delegates them to the route_set - -RSpec::Rails::ChannelExampleGroup - 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 => :channel` - for an example group defined in a file in the .\spec\channels\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :channel` metadata - allows users to override the type - tags groups in that directory with `:type => :channel` - for an example group defined in a file in the ./spec/channels/ directory - allows users to override the type - tags groups in that directory with `:type => :channel` - applies configured `before(:context)` hooks with `:type => :channel` metadata - includes itself in the example group - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :channel` - for an example group defined in a file in the .\spec\channels\ directory - does not tag groups in that directory with `:type => :channel` - does not include itself in the example group - for an example group defined in a file in the ./spec/channels/ directory - does not tag groups in that directory with `:type => :channel` - does not include itself in the example group - -RSpec::Rails::AssertionDelegator - provides a module that delegates assertion methods to an isolated class - does not delegate method_missing - delegates back to the including instance for methods the assertion module requires - -have_stream matchers - have_streams - does not allow usage - raises when no subscription started - with negated form - fails with message - passes with negated form - raises ArgumentError when no subscription passed to expect - raises when no subscription started - have_stream_for - raises when no subscription started - fails with message - raises ArgumentError when no subscription passed to expect - passes - with negated form - passes - fails with message - have_stream_from - passes - raises when no subscription started - fails with message - raises ArgumentError when no subscription passed to expect - with composable matcher - fails with message - passes - with negated form - passes - fails with message - -route_to - delegates to assert_recognizes - provides a description - uses failure message from assert_recognizes - with shortcut syntax - routes without extra options - routes with multiple query parameters - routes with extra options - routes with nested query parameters - routes with one query parameter +render_template with should_not - when assert_recognizes fails with an assertion failure - passes - when assert_recognizes fails with a routing error - passes - when assert_recognizes passes - fails with custom message - when an exception is raised + when fails with a redirect + gives informative error message + with a badly formatted error message + falls back to something informative + when fails due to some other exception raises that exception + when assert_template passes + fails with custom failure message + when assert_template fails + passes + given a symbol + converts to_s and delegates to assert_template with should - when assert_recognizes fails with a routing error - fails with message from assert_recognizes - when assert_recognizes passes + when assert_template passes passes - when assert_recognizes fails with an assertion failure - fails with message from assert_recognizes - when an exception is raised + when fails due to some other exception raises that exception - -RSpec::Rails::MinitestAssertionAdapter - exposes assert_raises to host examples - exposes assert_respond_to to host examples - exposes refute_predicate to host examples - exposes assert_silent to host examples - exposes assert_empty to host examples - exposes assert_in_epsilon to host examples - exposes assert_instance_of to host examples - exposes assert_kind_of to host examples - exposes refute_operator to host examples - exposes assert to host examples - exposes assert_match to host examples - exposes refute_nil to host examples - does not leak TestUnit specific methods into the AssertionDelegator - exposes assert_in_delta to host examples - exposes refute_instance_of to host examples - exposes refute_in_epsilon to host examples - exposes assert_same to host examples - exposes assert_includes to host examples - exposes assert_throws to host examples - exposes refute_match to host examples - exposes refute to host examples - exposes refute_equal to host examples - exposes assert_operator to host examples - exposes assert_send to host examples - exposes assert_equal to host examples - does not expose internal methods of Minitest - exposes assert_predicate to host examples - exposes refute_path_exists to host examples - exposes flunk to host examples - exposes refute_in_delta to host examples - exposes refute_kind_of to host examples - exposes assert_path_exists to host examples - exposes refute_empty to host examples - exposes assert_output to host examples - exposes assert_nil to host examples - exposes refute_includes to host examples - exposes refute_respond_to to host examples - does not expose Minitest's message method - exposes refute_same to host examples + when assert_template fails + uses failure message from assert_template + given a hash + delegates to assert_template + given a string + delegates to assert_template Pending: (Failures listed here are expected and do not affect your suite's status) - 1) RSpec::Rails::ControllerExampleGroup in a namespace sets up resourceful routes on the example - # Not yet implemented - # ./spec/rspec/rails/example/controller_example_group_spec.rb:209 + 1) Configuration clears ActionMailer::Base::Deliveries after each example only has deliveries from this test (e.g. from email@example.com) + # Temporarily skipped with xit + # ./spec/rspec/rails/configuration_spec.rb:275 2) Configuration clears ActionMailer::Base::Deliveries after each example only has deliveries from this test (e.g. from email_2@example.com) # Temporarily skipped with xit # ./spec/rspec/rails/configuration_spec.rb:281 - 3) Configuration clears ActionMailer::Base::Deliveries after each example only has deliveries from this test (e.g. from email@example.com) - # Temporarily skipped with xit - # ./spec/rspec/rails/configuration_spec.rb:275 + 3) RSpec::Rails::ControllerExampleGroup in a namespace sets up resourceful routes on the example + # Not yet implemented + # ./spec/rspec/rails/example/controller_example_group_spec.rb:209 -Finished in 2.96 seconds (files took 3.34 seconds to load) +Finished in 4.3 seconds (files took 5.11 seconds to load) 761 examples, 0 failures, 3 pending -Randomized with seed 24375 +Randomized with seed 50098 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2618,12 +2688,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/22294/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22294/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/50018 and its subdirectories -I: Current time: Sat Aug 27 12:55:04 -12 2022 -I: pbuilder-time-stamp: 1661648104 +I: removing directory /srv/workspace/pbuilder/22294 and its subdirectories +I: Current time: Mon Jul 26 08:38:14 +14 2021 +I: pbuilder-time-stamp: 1627238294