Diff of the two buildlogs: -- --- b1/build.log 2023-06-12 20:15:52.600831520 +0000 +++ b2/build.log 2023-06-12 20:17:01.225829208 +0000 @@ -1,6 +1,7 @@ +W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 12 08:14:46 -12 2023 -I: pbuilder-time-stamp: 1686600886 +I: Current time: Sun Aug 17 23:01:54 +14 2025 +I: pbuilder-time-stamp: 1755421314 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +17,7 @@ I: copying [./ruby-rspec-rails_5.0.2.orig.tar.gz] I: copying [./ruby-rspec-rails_5.0.2-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Nov 18 01:55:46 2021 -12 +gpgv: Signature made Fri Nov 19 03:55:46 2021 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-rspec-rails_5.0.2-1.dsc: no acceptable signature found @@ -30,135 +31,166 @@ 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/131912/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 17 23:02 /bin/sh -> /bin/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/1819651/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='72148723f7854a9fbb0194d168630da7' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='131912' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1819651 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/r-b-build.lXbWRq52/pbuilderrc_FdAh --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lXbWRq52/b1 --logfile b1/build.log ruby-rspec-rails_5.0.2-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lXbWRq52/pbuilderrc_WDNP --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lXbWRq52/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rspec-rails_5.0.2-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/131912/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Aug 17 23:02 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -419,7 +451,7 @@ Get: 193 http://deb.debian.org/debian bookworm/main amd64 ruby-websocket all 1.2.9-3 [19.9 kB] Get: 194 http://deb.debian.org/debian bookworm/main amd64 ruby-selenium-webdriver all 4.4.0-1 [119 kB] Get: 195 http://deb.debian.org/debian bookworm/main amd64 ruby-sqlite3 amd64 1.4.2-4+b3 [43.2 kB] -Fetched 52.6 MB in 3s (17.4 MB/s) +Fetched 52.6 MB in 1s (40.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19591 files and directories currently installed.) @@ -1222,8 +1254,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-rspec-rails-5.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-rspec-rails_5.0.2-1_source.changes +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-rspec-rails-5.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-rspec-rails_5.0.2-1_source.changes dpkg-buildpackage: info: source package ruby-rspec-rails dpkg-buildpackage: info: source version 5.0.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1252,7 +1295,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-rspec-rails/ -O--buildsystem=ruby dh_ruby --install /build/ruby-rspec-rails-5.0.2/debian/ruby-rspec-rails -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230612-143559-wnymdh/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250817-1847214-jh2r5k/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on actionpack (>= 5.2) is not recommended if actionpack is semantically versioned, use: @@ -1268,7 +1311,7 @@ Name: rspec-rails Version: 5.0.2 File: rspec-rails-5.0.2.gem -/usr/bin/ruby3.1 -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/d20230612-143559-wnymdh/rspec-rails-5.0.2.gem +/usr/bin/ruby3.1 -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/d20250817-1847214-jh2r5k/rspec-rails-5.0.2.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-rails-5.0.2/debian/ruby-rspec-rails/usr/share/rubygems-integration/all/gems/rspec-rails-5.0.2/lib/generators/rspec.rb /build/ruby-rspec-rails-5.0.2/debian/ruby-rspec-rails/usr/share/rubygems-integration/all/gems/rspec-rails-5.0.2/lib/generators/rspec/channel/channel_generator.rb @@ -1393,107 +1436,223 @@ RUBYLIB=. GEM_PATH=/build/ruby-rspec-rails-5.0.2/debian/ruby-rspec-rails/usr/share/rubygems-integration/all:/build/ruby-rspec-rails-5.0.2/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec ./spec/rspec/rails/active_model_spec.rb ./spec/rspec/rails/active_record_spec.rb ./spec/rspec/rails/assertion_adapter_spec.rb ./spec/rspec/rails/assertion_delegator_spec.rb ./spec/rspec/rails/configuration_spec.rb ./spec/rspec/rails/example/channel_example_group_spec.rb ./spec/rspec/rails/example/controller_example_group_spec.rb ./spec/rspec/rails/example/feature_example_group_spec.rb ./spec/rspec/rails/example/helper_example_group_spec.rb ./spec/rspec/rails/example/job_example_group_spec.rb ./spec/rspec/rails/example/mailbox_example_group_spec.rb ./spec/rspec/rails/example/model_example_group_spec.rb ./spec/rspec/rails/example/request_example_group_spec.rb ./spec/rspec/rails/example/routing_example_group_spec.rb ./spec/rspec/rails/example/system_example_group_spec.rb ./spec/rspec/rails/example/view_example_group_spec.rb ./spec/rspec/rails/fixture_file_upload_support_spec.rb ./spec/rspec/rails/fixture_support_spec.rb ./spec/rspec/rails/matchers/action_cable/have_broadcasted_to_spec.rb ./spec/rspec/rails/matchers/action_cable/have_stream_spec.rb ./spec/rspec/rails/matchers/action_mailbox_spec.rb ./spec/rspec/rails/matchers/active_job_spec.rb ./spec/rspec/rails/matchers/be_a_new_spec.rb ./spec/rspec/rails/matchers/be_new_record_spec.rb ./spec/rspec/rails/matchers/be_routable_spec.rb ./spec/rspec/rails/matchers/be_valid_spec.rb ./spec/rspec/rails/matchers/has_spec.rb ./spec/rspec/rails/matchers/have_enqueued_mail_spec.rb ./spec/rspec/rails/matchers/have_http_status_spec.rb ./spec/rspec/rails/matchers/have_rendered_spec.rb ./spec/rspec/rails/matchers/redirect_to_spec.rb ./spec/rspec/rails/matchers/relation_match_array_spec.rb ./spec/rspec/rails/matchers/route_to_spec.rb ./spec/rspec/rails/minitest_lifecycle_adapter_spec.rb ./spec/rspec/rails/setup_and_teardown_adapter_spec.rb ./spec/rspec/rails/view_rendering_spec.rb ./spec/rspec/rails/view_spec_methods_spec.rb ./spec/rspec/rails_spec.rb --format documentation -Randomized with seed 21711 +Randomized with seed 58215 + +RSpec::Rails::HelperExampleGroup::ClassMethods + determine_default_helper_class + the described is a module + returns the module + the described is a class + returns nil + +have_stream matchers + have_stream_from + raises ArgumentError when no subscription passed to expect + passes + raises when no subscription started + fails with message + with composable matcher + passes + fails with message + with negated form + fails with message + passes + have_stream_for + raises ArgumentError when no subscription passed to expect + passes + raises when no subscription started + fails with message + with negated form + fails with message + passes + have_streams + raises when no subscription started + does not allow usage + with negated form + passes with negated form + raises when no subscription started + fails with message + raises ArgumentError when no subscription passed to expect + +RSpec::Rails::MailboxExampleGroup + #have_failed + raises on unfailed mail + does not raise otherwise + 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 + applies configured `before(:context)` hooks with `:type => :mailbox` metadata + allows users to override the type + includes itself in the example group + tags groups in that directory 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` + 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 include itself in the example group + does not tag groups in that directory 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 + #have_bounced + raises on unbounced mail + does not raise otherwise + #have_been_delivered + does not raise otherwise + raises on undelivered mail + #process + sends mail to the mailbox + +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/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\requests\ directory + does not include itself in the example group + does not tag groups in that directory with `:type => :request` + for an example group defined in a file in the ./spec/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\integration\ directory + does not tag groups in that directory with `:type => :request` + does not include itself in the example group + for an example group defined in a file in the .\spec\api\ directory + does not tag groups in that directory with `:type => :request` + 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 => :request` + for an example group defined in a file in the .\spec\api\ 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` + for an example group defined in a file in the ./spec/api/ directory + tags groups in that directory with `:type => :request` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :request` metadata + includes itself in the example group + for an example group defined in a file in the .\spec\requests\ 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` + for an example group defined in a file in the ./spec/requests/ directory + includes itself in the example group + applies configured `before(:context)` hooks with `:type => :request` metadata + 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/integration/ directory + tags groups in that directory with `:type => :request` + includes itself in the example group + 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\integration\ directory + includes itself in the example group + tags groups in that directory with `:type => :request` + applies configured `before(:context)` hooks with `:type => :request` metadata + allows users to override the type have_http_status 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 - given something that acts as a Capybara::Session + 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 an ActionDispatch::Response + given something that acts as a Capybara::Session returns true for a response with the same code with a numeric status code + has a failure message reporting the expected and actual status codes has a negated failure message reporting the expected status code describes responding with the numeric status code - has a failure message reporting the expected and actual status codes - behaves like supports different response instances - has a negated failure message reporting it was given another type - has a failure message reporting it was given another type - returns false given another type - given 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 matching a response - returns true for a response with the same code returns false for a response with a different code - http status :not_found + returns true for a response with the same 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 - with general status code group :redirect + given an ActionDispatch::Response + returns true for a response with the same code + with general status code group :success 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::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 + given an ActionDispatch::Response + 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 + 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 :success + with general status code group :not_found 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 failure message reporting the expected and actual status codes + has a negated failure message reporting the expected and actual status codes matching a response - returns true for a response with code returns false for a response with a different code + returns true for a response with code behaves like supports different response instances - has a negated failure message reporting it was given another type returns false given another type + has a negated failure message reporting it was given another type has a failure message reporting it was given another type - given an ActionDispatch::TestResponse - returns true for a response with the same code given an ActionDispatch::Response returns true for a response with the same code given something that acts as a Capybara::Session returns true for a response with the same code - with general status code group :not_found - 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 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 :server_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 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 has a failure message reporting it was given another type + given an ActionDispatch::Response + returns true for a response with the same code + given an ActionDispatch::TestResponse + returns true for a response with the same code + given something that acts as a Capybara::Session + returns true for a response with the same code + http status :not_found + behaves like supports different response instances has a negated failure message reporting it was given another type + returns false given another type + has a failure message reporting it was given another type given something that acts as a Capybara::Session returns true for a response with the same code given an ActionDispatch::Response @@ -1502,161 +1661,252 @@ returns true for a response with the same code with a nil status raises an ArgumentError - http status :error + 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 :successful + with general status code group :missing behaves like supports different response instances - has a negated failure message reporting it was given another type has a failure message reporting it was given another type returns false given another type - given an ActionDispatch::TestResponse - returns true for a response with the same code + 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 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 - 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 :missing + returns false for a response with a different code + http status :server_error behaves like supports different response instances - returns false given another type has a failure message reporting it was given another type has a negated failure message reporting it was given another type + returns false given another type given something that acts as a Capybara::Session returns true for a response with the same code - given an ActionDispatch::Response - returns true for a response with the same code given an ActionDispatch::TestResponse returns true for a response with the same code - behaves like status code matcher - has a negated failure message reporting the expected and actual status codes - describes behaves like status code matcher - has a failure message reporting the expected and actual status codes - matching a response - returns false for a response with a different code - returns true for a response with code + given an ActionDispatch::Response + returns true for a response with the same code + http status :missing + behaves like does not use deprecated methods for Rails 5.2+ + does not use deprecated method for Rails >= 5.2 with a symbolic status has a negated failure message reporting the expected status code has a failure message reporting the expected and actual statuses - describes responding by the symbolic and associated numeric status code raises an ArgumentError + describes responding by the symbolic and associated numeric status code matching a response returns false for a response with a different code returns true for a response with the equivalent code 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 - with general status code group :error + with general status code group :successful + behaves like supports different response instances + has a negated failure message reporting it was given another type + 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 behaves like status code matcher + has a failure message reporting the expected and actual status codes has a negated failure message reporting the expected and actual status codes describes behaves like status code matcher - has a failure message reporting the expected and actual status codes matching a response returns false for a response with a different code returns true for a response with code + with general status code group :error behaves like supports different response instances has a negated failure message reporting it was given another type - has a failure message reporting it was given another type returns false given another type - given an ActionDispatch::Response + 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 something that acts as a Capybara::Session + given an ActionDispatch::Response returns true for a response with the same code - http status :missing - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - http status :success - behaves like does not use deprecated methods for Rails 5.2+ - does not use deprecated method for Rails >= 5.2 - with general status code group :server_error behaves like status code matcher has a negated failure message reporting the expected and actual status codes - has a failure message reporting the expected and actual status codes describes behaves like status code matcher + has a failure message reporting the expected and actual status codes matching a response + returns false for a response with a different code returns true for a response with code + with general status code group :redirect + behaves like status code matcher + describes 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 + 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 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 an ActionDispatch::TestResponse + returns true for a response with the same code + http status :error + behaves like does not use deprecated methods for Rails 5.2+ + does not use deprecated method for Rails >= 5.2 -have_stream matchers - have_stream_from - fails with message - raises when no subscription started - passes - raises ArgumentError when no subscription passed to expect - with composable matcher - fails with message +render_template + given a symbol + converts to_s and delegates to assert_template + given a string + delegates to assert_template + with should_not + when assert_template fails passes - with negated form - fails with message + when fails due to some other exception + raises that exception + 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 + with should + when assert_template fails + uses failure message from assert_template + when assert_template passes passes - have_streams - raises when no subscription started - does not allow usage - with negated form - raises ArgumentError when no subscription passed to expect - fails with message - raises when no subscription started - passes with negated form - have_stream_for - raises ArgumentError when no subscription passed to expect - raises when no subscription started - passes - fails with message - with negated form + when fails due to some other exception + raises that exception + given a hash + delegates to assert_template + +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 - fails with message + with should + when fails due to some other exception + raises that exception + when assert_redirected_to fails + uses failure message from assert_redirected_to + when assert_redirected_to passes + passes + +RSpec::Rails + has no malformed whitespace + +RSpec::Rails::RoutingExampleGroup + named routes + delegates them to the route_set + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :routing` + for an example group defined in a file in the ./spec/routing/ directory + applies configured `before(:context)` hooks with `:type => :routing` metadata + includes itself in the example group + tags groups in that directory with `:type => :routing` + allows users to override the type + for an example group defined in a file in the .\spec\routing\ directory + includes itself in the example group + applies configured `before(:context)` hooks with `:type => :routing` metadata + 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 => :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 + +ActionMailbox matchers + receive_inbound_email + fails when negated when it receives inbound email + passes when negated when it doesn't receive inbound email + passes when it receives inbound email + fails when it doesn't receive inbound email + +be_a_new matcher + existing record + wrong class + fails + right class + fails + new record + right class + passes + wrong class + fails + #with + wrong class and existing record + one attribute value not the same + fails + all attributes same + fails + no attributes same + fails + right class and new record + with composable matchers + two attributes are composable matchers + both matchers present in actual + passes + only one matcher present in actual + fails + one attribute is a composable matcher + passes + fails + matcher is wrong type + fails + one attribute same + passes + one attribute value not the same + fails + no attributes same + fails + all attributes same + passes + +be_valid matcher + includes the validation context if provided + includes a failure message for the negative case + includes the error messages for simple implementations of error messages + includes a brief error message for the simplest implementation of validity + uses a custom failure message if provided + includes a brief error message when error message is wrong arity + does not include the validation context if not provided + includes the error messages in the failure message RSpec::Rails::ViewRendering - #render_views - propogates to examples in nested groups properly - with no args - tells examples to render views - in a nested group - passes override to children - leaves the parent group as/is - overrides the value inherited from the parent group - with true - tells examples to render views - with false - tells examples not to render views - with no args - 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 does not render views in a nested group + does not render views when render_views? is false supports manipulating view paths with resolvers supports manipulating view paths with arrays @@ -1664,40 +1914,115 @@ with empty template resolver works with custom resolvers works with strings + #render_views + propogates to examples in nested groups properly + in a nested group + overrides the value inherited from the parent group + passes override to children + leaves the parent group as/is + with true + tells examples to render views + with no args + tells examples to render views + with false + tells examples not to render views + with false + overrides the global config if render_views is enabled there + tells examples not to render views + with true + tells examples to render views + with no args + tells examples to render views -RSpec::Rails::MinitestLifecycleAdapter - allows let variables named 'send' - invokes minitest lifecycle hooks at the appropriate times - -RSpec::Rails::FeatureExampleGroup - includes Rails route helpers - when nested inside a request example group - includes Rails route helpers - #visit - is resistant to load order errors - raises an error informing about missing Capybara +RSpec::Rails::ViewExampleGroup + #template + delegates to #view + is deprecated + automatic inclusion of helpers + operates normally when no helper with the same name exists + operates normally when the view has no path and there is a Helper class defined + includes the namespaced helper with the same name + includes the helper with the same name + application helper exists + includes the application helper + no application helper exists + operates normally + #params + delegates to the controller + #render + given a string + sends string as the first arg to render + given a hash + sends the hash as the first arg to render + given no input + converts the filename without format into render options + converts the filename components into render options + converts the filename with variant into render options + sends render(:template => (described file)) to the view + #stub_template + prepends an ActionView::FixtureResolver to the view path + caches FixtureResolver instances between example groups + #view + is accessible to configuration-level hooks + delegates to _view + #_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 behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :feature` - for an example group defined in a file in the .\spec\features\ directory - applies configured `before(:context)` hooks with `:type => :feature` metadata - allows users to override the type + includes itself in example groups tagged with `:type => :view` + for an example group defined in a file in the .\spec\views\ directory includes itself in the example group - tags groups in that directory 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 + applies configured `before(:context)` hooks with `:type => :view` metadata + tags groups in that directory with `:type => :view` + allows users to override the type + for an example group defined in a file in the ./spec/views/ directory allows users to override the type includes itself in the example group - tags groups in that directory with `:type => :feature` + tags groups in that directory with `:type => :view` + applies configured `before(:context)` hooks with `:type => :view` metadata 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` + 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\features\ directory + for an example group defined in a file in the .\spec\views\ directory does not include itself in the example group - does not tag groups in that directory with `:type => :feature` + does not tag groups in that directory with `:type => :view` + routes helpers collides with asset helpers + uses routes helpers + +be_routable + provides a description + with should_not + passes if routes do not recognize the path + fails if routes recognize the path + with should + passes if routes recognize the path + fails if routes do not recognize the path + +ActiveRecord support + with partial double verification enabled + allows you to stub `ActiveRecord::Base` + allows you to stub abstract classes + with partial double verification disabled + allows you to stub `ActiveRecord::Base` + allows you to stub abstract classes + +ActiveModel support + with partial double verification disabled + 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` + +RSpec::Rails::MinitestLifecycleAdapter + invokes minitest lifecycle hooks at the appropriate times + allows let variables named 'send' RSpec::Rails::ModelExampleGroup behaves like an rspec-rails example group mixin @@ -1705,892 +2030,610 @@ 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 - tags groups in that directory with `:type => :model` includes itself in the example group + tags groups in that directory with `:type => :model` applies configured `before(:context)` hooks with `:type => :model` metadata + allows users to override the type 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 tags groups in that directory with `:type => :model` + applies configured `before(:context)` hooks with `:type => :model` metadata allows users to override the type when `infer_spec_type_from_file_location!` is not configured includes itself in example groups tagged with `:type => :model` - for an example group defined in a file in the .\spec\models\ directory - does not 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 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 tag groups in that directory with `:type => :model` + does not include itself in the example group -ActionMailbox matchers - receive_inbound_email - fails when negated when it receives inbound email - fails when it doesn't receive inbound email - passes when it receives inbound email - passes when negated when it doesn't receive inbound email +HaveEnqueuedMail matchers + have_enqueued_mail + generates a failure message when given 0 argument + passes when negated with only mailer arguments + passes for mailer methods that accept arguments when the provided argument matcher is not used + generates a failure message with at most hint + passes for mailer methods with default arguments + passes when negated with 0 arguments + generates a failure message with arguments + passes with :twice count + fails when too many emails are enqueued + fails with with block with incorrect data + fails when negated and mail is enqueued + passes when a mailer method is called with deliver_later + throws descriptive error when no test adapter set + generates a failure message with unmatching enqueued mail jobs + counts only emails enqueued in the block + accepts composable matchers as an at date + passes with provided argument matchers + passes when negated + passes when using the enqueue_mail alias + ensure that the right mailer is enqueued + only calls with block if other conditions are met + passes when deliver_later is called with a queue argument + passes when deliver_later is called with a wait_until argument + passes with :thrice count + passes with at_most when enqueued emails are under the limit + generates a failure message when given only mailer argument + passes multiple arguments to with block + generates a failure message with at least hint + generates a failure message + generates a failure message with on_queue + passes when using the have_enqueued_email alias + matches based on mailer class and method name + passes when given 0 arguments + passes with :once count + passes when using the enqueue_email alias + generates a failure message with at + passes with multiple emails + passes when only given mailer argument + passes with at_least when enqueued emails are over the limit + when parameterized + passes when mixing parameterized and non-parameterized emails + passes when mailer is parameterized + passes with provided argument matchers + mailer job is unified + passes when mixing parameterized and non-parameterized emails + 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 -be_new_record - a new record - passes - fails with custom failure message - a persisted record - fails - fails with custom failure message +should have_xxx + works with ActiveRecord::Associations::CollectionProxy -ActiveModel support - with partial double verification disabled - 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` +ActiveSupport::Relation match_array matcher + verifies that the scope returns the records on the right hand side, regardless of order + fails if the scope encompasses fewer records than on the right hand side + fails if the scope encompasses more records than on the right hand side + +RSpec::Rails::FeatureExampleGroup + includes Rails route helpers + behaves like an rspec-rails example group mixin + adds does not add `:type` metadata on inclusion + when `infer_spec_type_from_file_location!` is 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 include itself in the example group + does not tag groups in that directory with `:type => :feature` + when `infer_spec_type_from_file_location!` is configured + includes itself in example groups tagged with `:type => :feature` + for an example group defined in a file in the ./spec/features/ directory + applies configured `before(:context)` hooks with `:type => :feature` metadata + includes itself in the example group + tags groups in that directory with `:type => :feature` + allows users to override the type + for an example group defined in a file in the .\spec\features\ directory + tags groups in that directory with `:type => :feature` + allows users to override the type + applies configured `before(:context)` hooks with `:type => :feature` metadata + includes itself in the example group + #visit + raises an error informing about missing Capybara + is resistant to load order errors + when nested inside a request example group + includes Rails route helpers route_to - provides a description uses failure message from assert_recognizes + provides a description delegates to assert_recognizes + with should_not + when assert_recognizes passes + fails with custom message + when assert_recognizes fails with an assertion failure + passes + when assert_recognizes fails with a routing error + passes + when an exception is raised + raises that exception with shortcut syntax + routes with nested query parameters routes with extra options - routes with multiple query parameters routes without extra options - routes with nested query parameters routes with one query parameter + routes with multiple query parameters with should - when assert_recognizes fails with a routing error - fails with message from assert_recognizes when an exception is raised raises that exception - when assert_recognizes passes - passes - when assert_recognizes fails with an assertion failure + when assert_recognizes fails with a routing error fails with message from assert_recognizes - with should_not when assert_recognizes fails with an assertion failure - passes + fails with message from assert_recognizes when assert_recognizes passes - fails with custom message - when an exception is raised - raises that exception - when assert_recognizes fails with a routing error passes -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 - -RSpec::Rails - has no malformed whitespace - -ActiveJob matchers - have_enqueued_job - passes when negated - generates failure message with at least hint - has an enqueued job when providing at and there is no wait - counts only jobs enqueued in block - passes with provided argument matchers - warns when time offsets are inprecise - passes with provided arguments - has an enqueued job when not providing at and there is a wait - has an enqueued job when providing at of :no_wait and there is no wait - passes with ActiveSupport::TimeWithZone - generates failure message with at most hint - passes with :twice count - passes multiple arguments to with block - passes with provided at date - passess deserialized arguments to with block - passes with :once count - ignores undeserializable arguments - generates failure message with all provided options - raises ArgumentError when no Proc passed to expect - fails when negated and job is enqueued - fails with with block with incorrect data - throws descriptive error when no test adapter set - passes with provided at time - passes with Time - passes with :thrice count - passes with provided queue name as symbol - fails when negated and several jobs enqueued - passes when using alias - fails when too many jobs enqueued - passes with default jobs count (exactly one) - fails when job is not enqueued - passes with at_most count when enqueued jobs are under limit - passes with at_least count when enqueued jobs are over limit - does not have an enqueued job when providing at of :no_wait and there is a wait - works with time offsets - passes with multiple jobs - reports correct number in fail error message - passes with job name - passes with provided arguments containing global id object - accepts composable matchers as an at date - only calls with block if other conditions are met - passes with provided queue name as string - have_been_enqueued - passes with default jobs count (exactly one) - fails when job is not enqueued - fails when negated and several jobs enqueued - counts all enqueued jobs - passes when negated - accepts composable matchers as an at date - have_performed_job - counts only jobs performed in block - generates failure message with all provided options - passes with provided queue name as symbol - fails when negated and job is performed - passes with at_least count when performed jobs are over limit - passes with multiple jobs - passes with provided arguments - passes with provided at date - throws descriptive error when no test adapter set - raises ArgumentError when no Proc passed to expect - passes with provided queue name as string - passes with provided argument matchers - passes with provided arguments containing global id object - generates failure message with at least hint - reports correct number in fail error message - passes multiple arguments to with block - fails when too many jobs performed - passes with :thrice count - fails when job is not performed - passes with at_most count when performed jobs are under limit - passes with :twice count - only calls with block if other conditions are met - passes with job name - passes when negated - passes with :once count - passes with default jobs count (exactly one) - fails with with block with incorrect data - generates failure message with at most hint - passess deserialized arguments to with block - have_been_performed - fails when job is not performed - counts all performed jobs - passes when negated - passes with default jobs count (exactly one) - Active Job test helpers - does not raise that "assert_nothing_raised" is undefined - Configuration - #filter_rails_from_backtrace! adds exclusion patterns for rails gems - adds 'lib/rspec/rails' to the backtrace exclusions - metadata `type: :model` sets up model example groups - metadata `:type => :controller` sets up controller example groups - adds 'vendor/' to the backtrace exclusions - fixture support is included with metadata `:use_fixtures` - metadata `type: :mailer` sets up mailer example groups 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 => :controller` sets up controller example groups + adds 'lib/rspec/rails' to the backtrace exclusions + metadata `type: :model` sets up model example groups has a default #file_fixture_path of 'spec/fixtures/files' - metadata `type: :request` sets up request example groups metadata `type: :helper` sets up helper example groups + metadata `type: :request` sets up request example groups + metadata `type: :view` sets up view example groups + fixture support is included with metadata `:use_fixtures` + #filter_rails_from_backtrace! adds exclusion patterns for rails gems + adds 'vendor/' to the backtrace exclusions + metadata `type: :mailer` sets up mailer example groups #infer_spec_type_from_file_location! - sets the type to `:helper` for file path `spec/helpers` sets the type to `:request` for file path `spec/requests` - sets the type to `:controller` for file path `spec/controllers` + sets the type to `:routing` for file path `spec/routing` sets the type to `:mailer` for file path `spec/mailers` sets the type to `:request` for file path `spec/api` - sets the type to `:routing` for file path `spec/routing` - sets the type to `:model` for file path `spec/models` + sets the type to `:view` for file path `spec/views` + sets the type to `:controller` for file path `spec/controllers` sets the type to `:feature` for file path `spec/features` + sets the type to `:model` for file path `spec/models` + sets the type to `:helper` for file path `spec/helpers` sets the type to `:request` for file path `spec/integration` - sets the type to `:view` for file path `spec/views` - clears ActionMailer::Base::Deliveries after each example - 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 - `#use_instantiated_fixtures` is `nil` by default - `#render_views?` is false by default + `#global_fixtures?` is `false` by default + `#fixture_path?` is `false` by default + `#fixture_path` is `nil` by default `#global_fixtures?` is `false` by default `#global_fixtures` is `nil` by default - `#use_instantiated_fixtures?` is `false` by default - `#rendering_views?` is `false` by default + `#infer_base_class_for_anonymous_controllers?` is `true` by default `#rendering_views` is `nil` by default + `#rendering_views?` is `false` by default + `#use_transactional_examples` is an alias for `use_transactional_fixtures` + `#rendering_views?` is `false` by default `#use_instantiated_fixtures?` is `false` by default - `#fixture_path` is `nil` by default - `#infer_base_class_for_anonymous_controllers` is `true` by default - `#render_views` sets `render_views?` to `true` - `#infer_base_class_for_anonymous_controllers?` is `true` by default - `#global_fixtures?` is `false` by default - `#fixture_path?` is `false` by default - `#fixture_path?` is `false` by default + `#render_views?` is false by default `#use_transactional_fixtures` is `nil` by default + `#render_views` sets `render_views?` to `true` + `#use_instantiated_fixtures` is `nil` by default `#use_transactional_fixtures?` is `false` by default + `#fixture_path?` is `false` by default + `#use_instantiated_fixtures?` is `false` by default `#infer_base_class_for_anonymous_controllers?` is `true` by default + `#infer_base_class_for_anonymous_controllers` is `true` by default `#use_transactional_fixtures?` is `false` by default - `#use_transactional_examples` is an alias for `use_transactional_fixtures` - `#rendering_views?` is `false` by default + `#global_fixtures=` + sets `global_fixtures` to the provided value + changes `global_fixtures?` to the true for a truthy value `#use_instantiated_fixtures=` - changes `use_instantiated_fixtures?` to the true for a truthy value sets `use_instantiated_fixtures` to the provided value + changes `use_instantiated_fixtures?` to the true for a truthy value + `#fixture_path=` + sets `fixture_path` to the provided value + changes `fixture_path?` to the true for a truthy value `#infer_base_class_for_anonymous_controllers=` - changes `infer_base_class_for_anonymous_controllers?` to the true for a truthy value sets `infer_base_class_for_anonymous_controllers` to the provided value - `#render_views=` - sets `render_views?` to the truthyness of the provided value - `#rendering_views=` - sets `rendering_views` to the provided value - changes `rendering_views?` to the true for a truthy value + changes `infer_base_class_for_anonymous_controllers?` to the true for a truthy value `#use_transactional_fixtures=` - sets `use_transactional_fixtures` to the provided value changes `use_transactional_fixtures?` to the true for a truthy value - `#fixture_path=` - sets `fixture_path` to the provided value - changes `fixture_path?` to the true for a truthy value - `#global_fixtures=` - changes `global_fixtures?` to the true for a truthy value - sets `global_fixtures` to the provided value - -RSpec::Rails::JobExampleGroup - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :job` - for an example group defined in a file in the ./spec/jobs/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :job` - for an example group defined in a file in the .\spec\jobs\ directory - does not tag groups in that directory with `:type => :job` - 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 => :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 - applies configured `before(:context)` hooks with `:type => :job` metadata - allows users to override the type - tags groups in that directory with `:type => :job` - includes itself in the example group + sets `use_transactional_fixtures` to the provided value + `#rendering_views=` + changes `rendering_views?` to the true for a truthy value + sets `rendering_views` to the provided value + `#render_views=` + sets `render_views?` to the truthyness of the provided value + clears ActionMailer::Base::Deliveries after each example + 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) -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 +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 -HaveEnqueuedMail matchers - have_enqueued_mail - generates a failure message with at most hint - passes for mailer methods that accept arguments when the provided argument matcher is not used - passes with multiple emails - passes for mailer methods with default arguments - generates a failure message - passes when negated - accepts composable matchers as an at date - fails with with block with incorrect data - generates a failure message with at least hint - passes with at_most when enqueued emails are under the limit - passes when a mailer method is called with deliver_later - passes when using the enqueue_mail alias - generates a failure message with unmatching enqueued mail jobs - passes when deliver_later is called with a wait_until argument - passes with :thrice count - passes with at_least when enqueued emails are over the limit - only calls with block if other conditions are met - generates a failure message when given only mailer argument - generates a failure message with on_queue - passes with :twice count - matches based on mailer class and method name - passes when only given mailer argument - passes when given 0 arguments - passes when using the have_enqueued_email alias - generates a failure message when given 0 argument - passes with :once count - fails when too many emails are enqueued - passes when deliver_later is called with a queue argument - passes when using the enqueue_email alias - throws descriptive error when no test adapter set - generates a failure message with arguments - fails when negated and mail is enqueued - generates a failure message with at - ensure that the right mailer is enqueued - passes with provided argument matchers - counts only emails enqueued in the block - passes multiple arguments to with block - passes when negated with 0 arguments - passes when negated with only mailer arguments - when parameterized - passes when mixing parameterized and non-parameterized emails - passes when mailer is parameterized - passes with provided argument matchers - mailer job is unified - passes when mailer is parameterized - passes with provided argument matchers - passes when using a mailer with `delivery_job` set to a sub class of `ActionMailer::DeliveryJob` - passes when mixing parameterized and non-parameterized emails +RSpec::Rails::MinitestAssertionAdapter + exposes assert_kind_of to host examples + exposes flunk to host examples + exposes refute_operator to host examples + exposes assert_match to host examples + exposes refute_same to host examples + exposes refute_nil to host examples + exposes refute_includes to host examples + exposes refute_predicate to host examples + exposes refute to host examples + exposes assert to host examples + does not expose internal methods of Minitest + does not expose Minitest's message method + exposes assert_includes to host examples + exposes assert_respond_to to host examples + exposes assert_silent to host examples + exposes refute_empty to host examples + exposes assert_throws to host examples + exposes assert_equal to host examples + exposes refute_equal to host examples + exposes assert_empty to host examples + exposes assert_operator to host examples + exposes assert_output to host examples + exposes assert_send to host examples + exposes assert_in_epsilon to host examples + exposes assert_nil to host examples + exposes assert_in_delta to host examples + exposes assert_path_exists to host examples + exposes assert_same to host examples + exposes refute_in_delta to host examples + exposes refute_path_exists to host examples + exposes refute_respond_to to host examples + exposes refute_instance_of to host examples + exposes refute_in_epsilon to host examples + exposes refute_kind_of to host examples + exposes assert_raises to host examples + does not leak TestUnit specific methods into the AssertionDelegator + exposes refute_match to host examples + exposes assert_predicate to host examples + exposes assert_instance_of to host examples RSpec::Rails::HelperExampleGroup provides a controller_path based on the helper module's name + #helper + returns the instance of AV::Base provided by AV::TC::Behavior + includes ApplicationHelper behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured includes itself in example groups tagged with `:type => :helper` - for an example group defined in a file in the .\spec\helpers\ directory - includes itself in the example group - allows users to override the type - applies configured `before(:context)` hooks with `:type => :helper` metadata - tags groups in that directory with `:type => :helper` for an example group defined in a file in the ./spec/helpers/ directory + includes itself in the example group applies configured `before(:context)` hooks with `:type => :helper` metadata allows users to override the type + tags groups in that directory with `:type => :helper` + for an example group defined in a file in the .\spec\helpers\ directory includes itself in the example group tags groups in that directory with `:type => :helper` + applies configured `before(:context)` hooks with `:type => :helper` 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 => :helper` 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` + does not include itself in the example group for an example group defined in a file in the .\spec\helpers\ directory does not tag groups in that directory with `:type => :helper` does not include itself in the example group - #helper - includes ApplicationHelper - returns the instance of AV::Base provided by AV::TC::Behavior -be_routable - provides a description - with should_not - passes if routes do not recognize the path - fails if routes recognize the path +RSpec::Rails::FixtureFileUploadSupport + with fixture path set in spec + resolves fixture file + with fixture path set in config + resolves fixture file + resolves supports `Pathname` objects + with fixture path not set + resolves fixture using relative path + +have_rendered with should - fails if routes do not recognize the path - passes if routes recognize the path + when fails due to some other exception + raises that exception + when assert_template fails + uses failure message from assert_template + when assert_template passes + passes + given a 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 + given a symbol + converts to_s and delegates to assert_template + given a string + delegates to assert_template -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 not configured - includes itself in example groups tagged with `:type => :view` - for an example group defined in a file in the ./spec/views/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :view` - for an example group defined in a file in the .\spec\views\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :view` - 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 - tags groups in that directory with `:type => :view` - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :view` metadata - allows users to override the type - for an example group defined in a file in the .\spec\views\ directory - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :view` metadata - tags groups in that directory with `:type => :view` - allows users to override the type - #view - is accessible to configuration-level hooks - delegates to _view - #_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 - #stub_template - prepends an ActionView::FixtureResolver to the view path - caches FixtureResolver instances between example groups - routes helpers collides with asset helpers - uses routes helpers - #render - given a hash - sends the hash as the first arg to render - given no input - converts the filename without format into render options - sends render(:template => (described file)) to the view - converts the filename components into render options - converts the filename with variant into render options - given a string - sends string as the first arg to render - #template - is deprecated - delegates to #view - automatic inclusion of helpers - operates normally when the view has no path and there is a Helper class defined - operates normally when no helper with the same name exists - includes the namespaced helper with the same name - includes the helper with the same name - no application helper exists - operates normally - application helper exists - includes the application helper +RSpec::Rails::FixtureSupport + will allow #setup_fixture to run successfully + with use_transactional_tests set to true + works with #uses_transaction helper + with use_transactional_fixtures set to false + still supports fixture_path -RSpec::Rails::RoutingExampleGroup - named routes - delegates them to the route_set - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :routing` - for an example group defined in a file in the ./spec/routing/ directory - tags groups in that directory with `:type => :routing` - allows users to override the type - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :routing` metadata - for an example group defined in a file in the .\spec\routing\ directory - allows users to override the type - applies configured `before(:context)` hooks with `:type => :routing` metadata - tags groups in that directory with `:type => :routing` - includes itself in the example group - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :routing` - for an example group defined in a file in the .\spec\routing\ directory - does not tag groups in that directory with `:type => :routing` - does not include itself in the example group - for an example group defined in a file in the ./spec/routing/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :routing` +have_broadcasted_to matchers + have_broadcasted_to + passes with :once count + passes when negated + fails with with block with incorrect data + passes with :thrice count + generates failure message when data not match + passes with at_most count when sent messages are under limit + generates failure message with at least hint + passes with at_least count when sent messages are over limit + passes with provided data matchers + passes with multiple streams + fails when negated and message is sent + passes with :twice count + passes with default messages count (exactly one) + reports correct number in fail error message + raises ArgumentError when no Proc passed to expect + generates failure message with at most hint + fails when message is not sent + fails when too many messages broadcast + throws descriptive error when no test adapter set + counts only messages sent in block + passes with provided data + passes when using alias + when object is passed as first argument + when channel can't be inferred + raises exception + when channel is present + passes -RSpec::Rails::MailboxExampleGroup +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 => :mailbox` - for an example group defined in a file in the .\spec\mailboxes\ 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 tag groups in that directory with `:type => :channel` does not include itself in the example group - does not tag groups in that directory 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` + 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 => :channel` 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 - allows users to override the type + 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 - 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 + applies configured `before(:context)` hooks with `:type => :channel` metadata + tags groups in that directory with `:type => :channel` + allows users to override the type + for an example group defined in a file in the ./spec/channels/ directory + tags groups in that directory with `:type => :channel` + applies configured `before(:context)` hooks with `:type => :channel` metadata allows users to override the type - tags groups in that directory with `:type => :mailbox` includes itself in the example group - #have_been_delivered - does not raise otherwise - raises on undelivered mail - #process - sends mail to the mailbox - #have_bounced - raises on unbounced mail - does not raise otherwise - #have_failed - raises on unfailed mail - does not raise otherwise -RSpec::Rails::ViewSpecMethods - .remove_extra_params_accessors_from - when accessors are defined - removes them - when accessors are not defined - does nothing - .add_extra_params_accessors_to - when accessors are already defined - does not redefine them - when accessors are not yet defined - adds them as instance methods - the added #extra_params reader - raises an error when a user tries to mutate it +ActiveJob matchers + Active Job test helpers + does not raise that "assert_nothing_raised" is undefined + have_performed_job + raises ArgumentError when no Proc passed to expect + passes with provided arguments containing global id object + fails with with block with incorrect data + counts only jobs performed in block + passes with provided argument matchers + passes with default jobs count (exactly one) + passes with :once count + passes with provided queue name as string + passes multiple arguments to with block + passes with :thrice count + passes with multiple jobs + passess deserialized arguments to with block + passes with :twice count + fails when job is not performed + passes with job name + fails when negated and job is performed + fails when too many jobs performed + generates failure message with at most hint + generates failure message with at least hint + passes when negated + passes with at_least count when performed jobs are over limit + passes with at_most count when performed jobs are under limit + passes with provided arguments + throws descriptive error when no test adapter set + passes with provided queue name as symbol + reports correct number in fail error message + generates failure message with all provided options + passes with provided at date + only calls with block if other conditions are met + have_enqueued_job + passes when using alias + passes with :thrice count + passes with provided queue name as symbol + has an enqueued job when providing at of :no_wait and there is no wait + works with time offsets + passes with provided arguments + fails with with block with incorrect data + passes with default jobs count (exactly one) + passes with provided argument matchers + passes when negated + has an enqueued job when providing at and there is no wait + only calls with block if other conditions are met + passes with job name + passes with provided queue name as string + does not have an enqueued job when providing at of :no_wait and there is a wait + passes with provided at time + passes with ActiveSupport::TimeWithZone + passes with multiple jobs + generates failure message with all provided options + accepts composable matchers as an at date + fails when negated and several jobs enqueued + generates failure message with at most hint + ignores undeserializable arguments + has an enqueued job when not providing at and there is a wait + passess deserialized arguments to with block + warns when time offsets are inprecise + fails when negated and job is enqueued + passes with Time + raises ArgumentError when no Proc passed to expect + passes with provided arguments containing global id object + passes with :twice count + throws descriptive error when no test adapter set + fails when too many jobs enqueued + fails when job is not enqueued + generates failure message with at least hint + counts only jobs enqueued in block + passes with at_least count when enqueued jobs are over limit + passes with at_most count when enqueued jobs are under limit + passes with provided at date + reports correct number in fail error message + passes with :once count + passes multiple arguments to with block + have_been_performed + passes when negated + fails when job is not performed + passes with default jobs count (exactly one) + counts all performed jobs + have_been_enqueued + fails when job is not enqueued + fails when negated and several jobs enqueued + passes when negated + passes with default jobs count (exactly one) + accepts composable matchers as an at date + counts all enqueued jobs RSpec::Rails::ControllerExampleGroup - handles methods invoked via `method_missing` that use keywords includes routing matchers - in a namespace - 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 - with implicit subject - uses the controller as the subject - doesn't cause let definition priority to be changed - #bypass_rescue - overrides the rescue_with_handler method on the controller to raise submitted error + handles methods invoked via `method_missing` that use keywords with explicit subject uses the specified subject instead of the controller + 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 it inherits outer group's anonymous controller + sets name as AnonymousController if defined as ApplicationController + sets name as AnonymousController if the controller is abstract + sets the name according to defined controller if it is not anonymous + sets the name as AnonymousController if it's anonymous with inferred anonymous controller defaults to inferring anonymous controller class - when infer_base_class_for_anonymous_controllers is true - infers the anonymous controller class - infers the anonymous controller class when no ApplicationController is present when infer_base_class_for_anonymous_controllers is false sets the anonymous controller class to ActiveController::Base when no ApplicationController is present sets the anonymous controller class to ApplicationController + when infer_base_class_for_anonymous_controllers is true + infers the anonymous controller class when no ApplicationController is present + infers the anonymous controller class + in a namespace + 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 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 + 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 + 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 + allows users to override the type includes itself in the example group tags groups in that directory with `:type => :controller` - allows users to override the type applies configured `before(:context)` hooks with `:type => :controller` metadata for an example group defined in a file in the .\spec\controllers\ directory - applies configured `before(:context)` hooks with `:type => :controller` metadata allows users to override the type - tags groups in that directory with `:type => :controller` + applies configured `before(:context)` hooks with `:type => :controller` metadata includes itself in the example group - controller name - sets name as AnonymousController if the controller is abstract - sets the name according to defined controller if it is not anonymous - sets name as AnonymousController if defined as ApplicationController - sets the name as AnonymousController if it's anonymous - sets name as AnonymousController if it inherits outer group's anonymous controller + tags groups in that directory with `:type => :controller` #controller delegates named route helpers to the underlying controller calls NamedRouteCollection#route_defined? when it checks that given route is defined or not -RSpec::Rails::HelperExampleGroup::ClassMethods - determine_default_helper_class - the described is a module - returns the module - the described is a class - returns nil - -ActiveRecord support - with partial double verification disabled - allows you to stub `ActiveRecord::Base` - allows you to stub abstract classes - with partial double verification enabled - allows you to stub abstract classes - allows you to stub `ActiveRecord::Base` - -be_valid matcher - includes the error messages in the failure message - includes a brief error message when error message is wrong arity - includes a brief error message for the simplest implementation of validity - uses a custom failure message if provided - includes the error messages for simple implementations of error messages - includes a failure message for the negative case - includes the validation context if provided - does not include the validation context if not provided - -RSpec::Rails::RequestExampleGroup - behaves like an rspec-rails example group mixin - adds does not add `:type` metadata on inclusion - when `infer_spec_type_from_file_location!` is configured - includes itself in example groups tagged with `:type => :request` - for an example group defined in a file in the ./spec/requests/ directory - applies configured `before(:context)` hooks with `:type => :request` metadata - includes itself in the example group - tags groups in that directory with `:type => :request` - allows users to override the type - for an example group defined in a file in the .\spec\integration\ directory - tags groups in that directory with `:type => :request` - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :request` metadata - allows users to override the type - for an example group defined in a file in the .\spec\requests\ directory - allows users to override the type - includes itself in the example group - applies configured `before(:context)` hooks with `:type => :request` metadata - tags groups in that directory with `:type => :request` - for an example group defined in a file in the ./spec/api/ directory - includes itself in the example group - 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\api\ directory - includes itself in the example group - tags groups in that directory with `:type => :request` - 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/integration/ directory - allows users to override the type - tags groups in that directory with `:type => :request` - applies configured `before(:context)` hooks with `:type => :request` metadata - includes itself in the example group - when `infer_spec_type_from_file_location!` is not configured - includes itself in example groups tagged with `:type => :request` - for an example group defined in a file in the ./spec/api/ directory - does not 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\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\integration\ directory - does not tag groups in that directory with `:type => :request` - does not include itself in the example group - for an example group defined in a file in the .\spec\requests\ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :request` - for an example group defined in a file in the ./spec/integration/ directory - does not include itself in the example group - does not tag groups in that directory with `:type => :request` - -redirect_to - with should_not - when assert_redirected_to fails - passes - when fails due to some other exception - raises that exception - when assert_redirected_to passes - fails with custom failure message - with should - when fails due to some other exception - raises that exception - when assert_redirected_to passes - passes - when assert_redirected_to fails - uses failure message from assert_redirected_to - -RSpec::Rails::SetupAndTeardownAdapter - .setup - registers before hooks in the order setup is received - registers teardown hooks in the order setup is received - registers prepend_before hooks for the Rails' setup methods +RSpec::Rails::AssertionDelegator + provides a module that delegates assertion methods to an isolated class + delegates back to the including instance for methods the assertion module requires + does not delegate method_missing RSpec::Rails::SystemExampleGroup - #after - sets the :extra_failure_lines metadata to an array of STDOUT lines #driver - uses :selenium driver by default - calls :driven_by method only once sets :rack_test driver using by before_action - #method_name - handles long method names which include unicode characters - converts special characters to underscores + calls :driven_by method only once + uses :selenium driver by default behaves like an rspec-rails example group mixin adds does not add `:type` metadata on inclusion when `infer_spec_type_from_file_location!` is configured includes itself in example groups tagged with `:type => :system` - for an example group defined in a file in the .\spec\system\ directory + 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 - applies configured `before(:context)` hooks with `:type => :system` metadata - for an example group defined in a file in the ./spec/system/ directory - applies configured `before(:context)` hooks with `:type => :system` metadata + for an example group defined in a file in the .\spec\system\ directory + tags groups in that directory with `:type => :system` 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` 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 + 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 + 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` + #method_name + handles long method names which include unicode characters + converts special characters to underscores + #after + sets the :extra_failure_lines metadata to an array of STDOUT lines -RSpec::Rails::ChannelExampleGroup +RSpec::Rails::ViewSpecMethods + .add_extra_params_accessors_to + when accessors are not yet defined + adds them as instance methods + the added #extra_params reader + raises an error when a user tries to mutate it + when accessors are already defined + does not redefine them + .remove_extra_params_accessors_from + when accessors are defined + removes them + when accessors are not defined + does nothing + +RSpec::Rails::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 => :channel` - for an example group defined in a file in the .\spec\channels\ directory + 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 - tags groups in that directory with `:type => :channel` - applies configured `before(:context)` hooks with `:type => :channel` metadata allows users to override the type - for an example group defined in a file in the ./spec/channels/ directory + tags groups in that directory with `:type => :job` + applies configured `before(:context)` hooks with `:type => :job` metadata + for an example group defined in a file in the ./spec/jobs/ directory allows users to override the type - tags groups in that directory with `:type => :channel` - applies configured `before(:context)` hooks with `:type => :channel` metadata + applies configured `before(:context)` hooks with `:type => :job` metadata includes itself in the example group + tags groups in that directory with `:type => :job` 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` + 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\channels\ directory + for an example group defined in a file in the ./spec/jobs/ directory does not include itself in the example group - does not tag groups in that directory with `:type => :channel` - -have_broadcasted_to matchers - have_broadcasted_to - passes with :twice count - generates failure message with at most hint - throws descriptive error when no test adapter set - raises ArgumentError when no Proc passed to expect - fails when negated and message is sent - fails with with block with incorrect data - passes when negated - counts only messages sent in block - passes with provided data - generates failure message with at least hint - passes with at_most count when sent messages are under limit - passes with multiple streams - passes with provided data matchers - generates failure message when data not match - fails when too many messages broadcast - passes with :thrice count - passes with at_least count when sent messages are over limit - fails when message is not sent - reports correct number in fail error message - passes with :once count - passes when using alias - passes with default messages count (exactly one) - when object is passed as first argument - when channel can't be inferred - raises exception - when channel is present - passes - -render_template - given a string - delegates to assert_template - with should_not - when fails due to some other exception - raises that exception - 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 - given a hash - 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 - given a symbol - converts to_s and delegates to assert_template - -RSpec::Rails::MinitestAssertionAdapter - exposes refute_path_exists to host examples - exposes refute_operator to host examples - exposes flunk to host examples - exposes refute_equal to host examples - exposes refute_kind_of to host examples - exposes assert to host examples - does not leak TestUnit specific methods into the AssertionDelegator - exposes assert_in_epsilon to host examples - exposes assert_empty to host examples - exposes assert_in_delta to host examples - exposes assert_output to host examples - exposes assert_respond_to to host examples - exposes assert_kind_of to host examples - exposes assert_path_exists to host examples - exposes refute_instance_of to host examples - exposes assert_silent to host examples - exposes refute_in_delta to host examples - exposes assert_operator to host examples - exposes assert_nil to host examples - exposes refute_same to host examples - exposes refute_match to host examples - exposes refute_in_epsilon to host examples - exposes assert_predicate to host examples - exposes assert_send to host examples - exposes refute_predicate to host examples - does not expose Minitest's message method - exposes assert_match to host examples - exposes refute_includes to host examples - exposes refute_respond_to to host examples - exposes assert_includes to host examples - exposes refute to host examples - exposes assert_throws to host examples - exposes assert_instance_of to host examples - exposes assert_same to host examples - exposes refute_empty to host examples - exposes assert_equal to host examples - does not expose internal methods of Minitest - exposes assert_raises to host examples - exposes refute_nil to host examples - -RSpec::Rails::FixtureSupport - will allow #setup_fixture to run successfully - with use_transactional_tests set to true - works with #uses_transaction helper - with use_transactional_fixtures set to false - still supports fixture_path - -have_rendered - given a string - 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 hash - delegates to assert_template - given a symbol - converts to_s and 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 fails - passes - when assert_template passes - fails with custom failure message - when fails due to some other exception - raises that exception - -should have_xxx - works with ActiveRecord::Associations::CollectionProxy - -be_a_new matcher - existing record - wrong class - fails - right class - fails - #with - right class and new record - all attributes same - passes - no attributes same - fails - one attribute same - passes - with composable matchers - two attributes are composable matchers - only one matcher present in actual - fails - both matchers present in actual - passes - one attribute is a composable matcher - passes - fails - matcher is wrong type - fails - one attribute value not the same - fails - wrong class and existing record - one attribute value not the same - fails - all attributes same - fails - no attributes same - fails - new record - wrong class - fails - right class - passes + does not tag groups in that directory with `:type => :job` -RSpec::Rails::AssertionDelegator - does not delegate method_missing - delegates back to the including instance for methods the assertion module requires - provides a module that delegates assertion methods to an isolated class +be_new_record + a persisted record + fails + fails with custom failure message + a new record + passes + fails with custom failure message Pending: (Failures listed here are expected and do not affect your suite's status) @@ -2602,10 +2645,10 @@ # Temporarily skipped with xit # ./spec/rspec/rails/configuration_spec.rb:289 -Finished in 7.27 seconds (files took 5.45 seconds to load) +Finished in 5.39 seconds (files took 4.18 seconds to load) 779 examples, 0 failures, 2 pending -Randomized with seed 21711 +Randomized with seed 58215 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2640,12 +2683,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1819651/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1819651/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/131912 and its subdirectories -I: Current time: Mon Jun 12 08:15:52 -12 2023 -I: pbuilder-time-stamp: 1686600952 +I: removing directory /srv/workspace/pbuilder/1819651 and its subdirectories +I: Current time: Sun Aug 17 23:03:00 +14 2025 +I: pbuilder-time-stamp: 1755421380