Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-rubocop-rspec/ruby-rubocop-rspec_1.42.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-rubocop-rspec-1.42.0-1keren62u/ruby-rubocop-rspec_1.42.0-1_all.buildinfo Get source package info: ruby-rubocop-rspec=1.42.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-rubocop-rspec/1.42.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34.90.20200706-1 binutils-common=2.34.90.20200706-1 binutils-x86-64-linux-gnu=2.34.90.20200706-1 bsdextrautils=2.36-1 bsdutils=1:2.35.2-9 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.1.0-6 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 devscripts=2.20.4 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 fakeroot=1.24-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.1.0-6 gcc=4:10.1.0-1 gcc-10=10.1.0-6 gcc-10-base=10.1.0-6 gem2deb=1.2.1 gem2deb-test-runner=1.2.1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.1.0-6 libassuan0=2.5.3-7.1 libatomic1=10.1.0-6 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.34.90.20200706-1 libblkid1=2.35.2-9 libbz2-1.0=1.0.8-4 libc-bin=2.31-1 libc-dev-bin=2.31-1 libc6=2.31-1 libc6-dev=2.31-1 libcap-ng0=0.7.9-2.2 libcc1-0=10.1.0-6 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34.90.20200706-1 libctf0=2.34.90.20200706-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.20.5 libdynaloader-functions-perl=0.003-1 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libffi7=3.3-4 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.1.0-6 libgcc-s1=10.1.0-6 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp-dev=2:6.2.0+dfsg-6 libgmp10=2:6.2.0+dfsg-6 libgmpxx4ldbl=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2+b1 libgomp1=10.1.0-6 libgpg-error0=1.38-2 libhogweed6=3.6-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.25-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-3 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20200505.0-1 libisl22=0.22.1-1 libitm1=10.1.0-6 libjs-jquery=3.5.1+dfsg-4 libksba8=1.4.0-2 libldap-2.4-2=2.4.50+dfsg-1+b1 libldap-common=2.4.50+dfsg-1 liblsan0=10.1.0-6 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004000-1 libmount1=2.35.2-9 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.1.0-3 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3 libnettle8=3.6-2 libnpth0=1.6-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.5-1 libpython3.8-stdlib=3.8.5-1 libquadmath0=10.1.0-6 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.7=2.7.1-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsemanage-common=3.1-1 libsemanage1=3.1-1 libsepol1=3.1-1 libsigsegv2=2.12-2 libsmartcols1=2.35.2-9 libsqlite3-0=3.32.3-1 libssl1.1=1.1.1g-1 libstdc++-10-dev=10.1.0-6 libstdc++6=10.1.0-6 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=245.6-3 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.1.0-6 libubsan1=10.1.0-6 libuchardet0=0.0.7-1 libudev1=245.6-3 libunistring2=0.9.10-4 liburi-perl=1.76-2 libuuid1=2.35.2-9 libwww-perl=6.46-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-5+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 node-jquery=3.5.1+dfsg-4 openssl=1.1.1g-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.4.2-1 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 python3=3.8.2-3 python3-minimal=3.8.2-3 python3.8=3.8.5-1 python3.8-minimal=3.8.5-1 rake=13.0.1-4 readline-common=8.0-4 rubocop=0.88.0+dfsg-1 ruby=1:2.7+1 ruby-all-dev=1:2.7+1 ruby-ast=2.4.1-1 ruby-diff-lcs=1.4.4-1 ruby-gettext=3.3.3-2 ruby-locale=2.1.2-1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-parallel=1.19.1-1 ruby-power-assert=1.1.7-1 ruby-progressbar=1.10.1-1 ruby-rack=2.1.1-5 ruby-rainbow=3.0.0-3 ruby-regexp-parser=1.7.1-1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-rubocop-ast=0.1.0-2 ruby-setup=3.4.1-9 ruby-test-unit=3.3.5-1 ruby-text=1.3.0-1 ruby-unicode-display-width=1.6.1-1 ruby-whitequark-parser=2.7.1.4-2 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.1-3 ruby2.7-dev=2.7.1-3 rubygems-integration=1.17.2 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.35.2-9 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 yard=0.9.24-1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-rubocop-rspec=1.42.0-1 && mkdir -p /build/ruby-rubocop-rspec-dNOI3N && dpkg-source --no-check -x /*.dsc /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0 && chown -R builduser:builduser /build/ruby-rubocop-rspec-dNOI3N" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595615026" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-rubocop-rspec-dNOI3N /tmp/ruby-rubocop-rspec-1.42.0-1keren62u bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap._nBWSR4RxN as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap._nBWSR4RxN Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-9). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (745 kB/s) Selecting previously unselected package libfakeroot: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 ... 4579 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-1) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200801T150407Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200723T030638Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap._nBWSR4RxN Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200723T030638Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200801T150407Z unstable/main amd64 Packages [11.3 MB] Fetched 34.0 MB in 28s (1220 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap._nBWSR4RxN I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-rubocop-rspec=1.42.0-1 && mkdir -p /build/ruby-rubocop-rspec-dNOI3N && dpkg-source --no-check -x /*.dsc /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0 && chown -R builduser:builduser /build/ruby-rubocop-rspec-dNOI3N"' exec /tmp/mmdebstrap._nBWSR4RxN Reading package lists... NOTICE: 'ruby-rubocop-rspec' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-rubocop-rspec.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-rubocop-rspec.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 145 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rubocop-rspec 1.42.0-1 (dsc) [2239 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rubocop-rspec 1.42.0-1 (tar) [139 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rubocop-rspec 1.42.0-1 (diff) [3088 B] Fetched 145 kB in 0s (773 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-rubocop-rspec_1.42.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-rubocop-rspec in /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0 dpkg-source: info: unpacking ruby-rubocop-rspec_1.42.0.orig.tar.gz dpkg-source: info: unpacking ruby-rubocop-rspec_1.42.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-disable-bundler.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595615026" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap._nBWSR4RxN dpkg-buildpackage: info: source package ruby-rubocop-rspec dpkg-buildpackage: info: source version 1.42.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Utkarsh Gupta dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec dh_ruby --install /usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20211006-997451-15iyg6b/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rubocop (>= 0.87.0) is not recommended if rubocop is semantically versioned, use: add_runtime_dependency 'rubocop', '~> 0.87', '>= 0.87.0' WARNING: open-ended dependency on rack (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec (>= 3.4, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3.4' WARNING: open-ended dependency on yard (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rubocop-rspec Version: 1.42.0 File: rubocop-rspec-1.42.0.gem /usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all /tmp/d20211006-997451-15iyg6b/rubocop-rspec-1.42.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/config/default.yml /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop-rspec.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/align_left_let_brace.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/align_right_let_brace.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/any_instance.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/around_block.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/be.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/be_eql.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/before_after_all.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/capybara/current_path_expectation.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/capybara/feature_methods.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/capybara/visibility_matcher.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/context_method.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/context_wording.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/cop.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/describe_class.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/describe_method.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/describe_symbol.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/described_class.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/described_class_module_wrapping.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/dialect.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_example_group.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_hook.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_line_after_example.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_line_after_example_group.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_line_after_final_let.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_line_after_hook.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/empty_line_after_subject.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/example_length.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/example_without_description.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/example_wording.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/expect_actual.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/expect_change.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/expect_in_hook.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/expect_output.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/factory_bot/create_list.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/file_path.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/focus.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/hook_argument.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/hooks_before_examples.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/implicit_block_expectation.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/implicit_expect.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/implicit_subject.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/instance_spy.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/instance_variable.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/invalid_predicate_matcher.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/it_behaves_like.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/iterated_expectation.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/leading_subject.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/leaky_constant_declaration.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/let_before_examples.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/let_setup.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/message_chain.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/message_expectation.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/message_spies.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/missing_example_group_argument.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/multiple_describes.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/multiple_expectations.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/multiple_subjects.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/named_subject.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/nested_groups.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/not_to_not.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/overwriting_setup.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/pending.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/predicate_matcher.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/rails/http_status.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/receive_counts.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/receive_never.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/repeated_description.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/repeated_example.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/repeated_example_group_body.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/repeated_example_group_description.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/return_from_stub.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/scattered_let.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/scattered_setup.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/shared_context.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/shared_examples.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/single_argument_message_chain.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/subject_stub.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/unspecified_exception.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/variable_definition.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/variable_name.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/verified_doubles.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/void_expect.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec/yield.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/cop/rspec_cops.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/align_let_brace.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/blank_line_separation.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/concept.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/config_formatter.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/corrector/move_node.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/description_extractor.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/example.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/example_group.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/factory_bot.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/final_end_location.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/hook.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/inject.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/language.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/language/node_pattern.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/node.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/top_level_describe.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/top_level_group.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/variable.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/version.rb /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all/gems/rubocop-rspec-1.42.0/lib/rubocop/rspec/wording.rb Successfully installed rubocop-rspec-1.42.0 1 gem installed cd debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions cd gems/rubocop-rspec-1.42.0 rm -f chmod 644 lib/rubocop/rspec/factory_bot.rb lib/rubocop/rspec/node.rb lib/rubocop/rspec/concept.rb lib/rubocop/rspec/variable.rb lib/rubocop/rspec/top_level_group.rb lib/rubocop/rspec/example_group.rb lib/rubocop/rspec/hook.rb lib/rubocop/rspec/blank_line_separation.rb lib/rubocop/rspec/corrector/move_node.rb lib/rubocop/rspec/config_formatter.rb lib/rubocop/rspec/language.rb lib/rubocop/rspec/wording.rb lib/rubocop/rspec/description_extractor.rb lib/rubocop/rspec/final_end_location.rb lib/rubocop/rspec/example.rb lib/rubocop/rspec/align_let_brace.rb lib/rubocop/rspec/inject.rb lib/rubocop/rspec/top_level_describe.rb lib/rubocop/rspec/version.rb lib/rubocop/rspec/language/node_pattern.rb lib/rubocop/rspec.rb lib/rubocop/cop/rspec/focus.rb lib/rubocop/cop/rspec/nested_groups.rb lib/rubocop/cop/rspec/describe_class.rb lib/rubocop/cop/rspec/capybara/current_path_expectation.rb lib/rubocop/cop/rspec/capybara/feature_methods.rb lib/rubocop/cop/rspec/capybara/visibility_matcher.rb lib/rubocop/cop/rspec/empty_line_after_example.rb lib/rubocop/cop/rspec/unspecified_exception.rb lib/rubocop/cop/rspec/described_class.rb lib/rubocop/cop/rspec/verified_doubles.rb lib/rubocop/cop/rspec/multiple_subjects.rb lib/rubocop/cop/rspec/named_subject.rb lib/rubocop/cop/rspec/missing_example_group_argument.rb lib/rubocop/cop/rspec/message_chain.rb lib/rubocop/cop/rspec/shared_context.rb lib/rubocop/cop/rspec/hook_argument.rb lib/rubocop/cop/rspec/instance_spy.rb lib/rubocop/cop/rspec/empty_line_after_final_let.rb lib/rubocop/cop/rspec/around_block.rb lib/rubocop/cop/rspec/void_expect.rb lib/rubocop/cop/rspec/hooks_before_examples.rb lib/rubocop/cop/rspec/example_length.rb lib/rubocop/cop/rspec/expect_in_hook.rb lib/rubocop/cop/rspec/repeated_description.rb lib/rubocop/cop/rspec/align_left_let_brace.rb lib/rubocop/cop/rspec/context_wording.rb lib/rubocop/cop/rspec/predicate_matcher.rb lib/rubocop/cop/rspec/dialect.rb lib/rubocop/cop/rspec/implicit_block_expectation.rb lib/rubocop/cop/rspec/empty_hook.rb lib/rubocop/cop/rspec/rails/http_status.rb lib/rubocop/cop/rspec/repeated_example.rb lib/rubocop/cop/rspec/before_after_all.rb lib/rubocop/cop/rspec/expect_change.rb lib/rubocop/cop/rspec/repeated_example_group_body.rb lib/rubocop/cop/rspec/be_eql.rb lib/rubocop/cop/rspec/align_right_let_brace.rb lib/rubocop/cop/rspec/scattered_setup.rb lib/rubocop/cop/rspec/single_argument_message_chain.rb lib/rubocop/cop/rspec/scattered_let.rb lib/rubocop/cop/rspec/cop.rb lib/rubocop/cop/rspec/repeated_example_group_description.rb lib/rubocop/cop/rspec/example_without_description.rb lib/rubocop/cop/rspec/empty_line_after_hook.rb lib/rubocop/cop/rspec/variable_name.rb lib/rubocop/cop/rspec/factory_bot/create_list.rb lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb lib/rubocop/cop/rspec/context_method.rb lib/rubocop/cop/rspec/subject_stub.rb lib/rubocop/cop/rspec/instance_variable.rb lib/rubocop/cop/rspec/describe_symbol.rb lib/rubocop/cop/rspec/implicit_subject.rb lib/rubocop/cop/rspec/described_class_module_wrapping.rb lib/rubocop/cop/rspec/example_wording.rb lib/rubocop/cop/rspec/leading_subject.rb lib/rubocop/cop/rspec/receive_counts.rb lib/rubocop/cop/rspec/describe_method.rb lib/rubocop/cop/rspec/multiple_expectations.rb lib/rubocop/cop/rspec/return_from_stub.rb lib/rubocop/cop/rspec/not_to_not.rb lib/rubocop/cop/rspec/empty_line_after_subject.rb lib/rubocop/cop/rspec/any_instance.rb lib/rubocop/cop/rspec/empty_example_group.rb lib/rubocop/cop/rspec/shared_examples.rb lib/rubocop/cop/rspec/it_behaves_like.rb lib/rubocop/cop/rspec/let_setup.rb lib/rubocop/cop/rspec/receive_never.rb lib/rubocop/cop/rspec/message_expectation.rb lib/rubocop/cop/rspec/be.rb lib/rubocop/cop/rspec/expect_actual.rb lib/rubocop/cop/rspec/overwriting_setup.rb lib/rubocop/cop/rspec/pending.rb lib/rubocop/cop/rspec/variable_definition.rb lib/rubocop/cop/rspec/let_before_examples.rb lib/rubocop/cop/rspec/expect_output.rb lib/rubocop/cop/rspec/iterated_expectation.rb lib/rubocop/cop/rspec/multiple_describes.rb lib/rubocop/cop/rspec/implicit_expect.rb lib/rubocop/cop/rspec/empty_line_after_example_group.rb lib/rubocop/cop/rspec/yield.rb lib/rubocop/cop/rspec/file_path.rb lib/rubocop/cop/rspec/invalid_predicate_matcher.rb lib/rubocop/cop/rspec/leaky_constant_declaration.rb lib/rubocop/cop/rspec/message_spies.rb lib/rubocop/cop/rspec_cops.rb lib/rubocop-rspec.rb find lib/ -type d -empty -delete cd - cd - dh_installchangelogs -pruby-rubocop-rspec /build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/CHANGELOG.md upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all:/build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"rubocop-rspec\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/ruby-rubocop-rspec/usr/share/rubygems-integration/all:/build/ruby-rubocop-rspec-dNOI3N/ruby-rubocop-rspec-1.42.0/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Randomized with seed 54957 RuboCop::Cop::RSpec::ExampleWording skips descriptions starting with words that begin with `should` flags \-separated multiline strings flags a lone should not finds interpolated description with `should` at the beginning finds leading it in interpolated description skips words beginning with 'it' flags \-separated multiline interpolated strings skips interpolated description without literal `should` at the start ignores non-example blocks finds description with `shouldn't` at the beginning finds leading its flags a lone should finds description with `SHOULDN'T` at the beginning finds description with `Should` at the beginning finds description with `should` at the beginning skips descriptions without `should` at the beginning with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::EmptyExampleGroup does not flag methods matching example group names does not flag include_examples flags an empty top level describe does not recognize custom include methods by default flags an empty context when a custom include method is specified does not flag an otherwise empty example group with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::EmptyHook with `prepend_after` hook accepts non-empty `prepend_after` hook detects offense for empty `prepend_after` accepts multiline `prepend_after` hook with `append_before` hook detects offense for empty `append_before` accepts non-empty `append_before` hook accepts multiline `append_before` hook with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb with `before` hook detects offense for empty `before` with :all scope detects offense for empty `before` with :example scope autocorrects `before` with semicolon accepts multiline `before` hook detects offense for empty `before` with :context scope detects offense for empty `before` with :each scope accepts non-empty `before` hook detects offense for empty `before` detects offense for empty `before` with :suite scope with `after` hook detects offense for empty `after` accepts non-empty `after` hook accepts multiline `after` hook with `append_after` hook accepts multiline `append_after` hook accepts non-empty `append_after` hook detects offense for empty `append_after` with `around` hook detects offense for empty `around` accepts multiline `around` hook accepts non-empty `around` hook with `prepend_before` hook accepts multiline `prepend_before` hook accepts non-empty `prepend_before` hook detects offense for empty `prepend_before` RuboCop::Cop::RSpec::LetBeforeExamples autocorrects ` RSpec.describe User do include_examples('should be after let') let(:foo) { (<<-SOURCE) } some long text here SOURCE end ` to ` RSpec.describe User do let(:foo) { (<<-SOURCE) } some long text here SOURCE include_examples('should be after let') end ` allows inclusion of context before `let` ignores single-line example blocks does not flag `let` before the examples flags `let` after `context` does not flag `let` in a nested context flags `let` after `include_examples` flags `let` after `it` flags `let` with proc argument with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::ReceiveCounts flags usage of `exactly(1).times` after `with` flags usage of `at_most(2).times` flags usage of `at_most(1).times` flags usage of `exactly(1).times` with a block autocorrects `expect(foo).to have_published_event(:bar).exactly(2).times` to `expect(foo).to have_published_event(:bar).exactly(2).times` allows exactly(1).times when not called on `receive` allows `exactly(n).times` flags usage of `exactly(1).times` with return value flags usage of `exactly(1).times` flags usage of `exactly(2).times` flags usage of `at_least(1).times` flags usage of `at_least(2).times` with a block flags usage of `at_least(2).times` allows `exactly(3).times` with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::VariableDefinition with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when EnforcedStyle is `strings` does not register offense for string names registers an offense for interpolated symbol registers an offense for symbol name when EnforcedStyle is `symbols` registers an offense for multiline string registers an offense for string name registers an offense for interpolated string does not register offense for symbol names RuboCop::Cop::RSpec::HooksBeforeExamples flags `before` after `context` flags `after` after an example does not flag hooks before the examples allows inclusion of context before hooks does not flag `before` in a nested context ignores single-line example blocks flags scoped hook after an example flags `before` after `it` flags `before` after `include_examples` with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::AlignRightLetBrace registers offense for unaligned braces does not register offense for let with proc argument works with empty file with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb Weirdness has chained expectations quotes a string weird example at ./spec/smoke_tests/weird_rspec_spec.rb:37 has a description too is expecting you example at ./spec/smoke_tests/weird_rspec_spec.rb:130 example at ./spec/smoke_tests/weird_rspec_spec.rb:176 isnt a simple string works should not do the thing uses a matcher It does a thing example at ./spec/smoke_tests/weird_rspec_spec.rb:51 it does a thing isnt a simple string is empty is expecting you not to raise an error example at ./spec/smoke_tests/weird_rspec_spec.rb:36 dynamic dynamic lets the word 'dynamic' be 'dynamic' examples examples lets the word 'examples' be 'examples' who who lets the word 'who' be 'who' likes likes lets the word 'likes' be 'likes' RuboCop::Cop::RSpec::InvalidPredicateMatcher registers an offense for double question with `to_not` registers an offense for double question with `not_to` accepts valid predicate matcher registers an offense for double question with `have_something?` registers an offense for double question with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::VerifiedDoubles ignores doubles that have no name specified ignores instance_doubles finds a `double` instead of an `instance_double` when configuration does not specify IgnoreSymbolicNames find doubles whose name is a symbol finds a `spy` instead of an `instance_spy` when configured to ignore symbolic names still flags doubles whose name is a string ignores doubles whose name is a symbol with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when configured not to ignore nameless doubles flags doubles that have no name specified RuboCop::RSpec::Wording rewrites "shouldn't" as "does not" rewrites "should miss me" as "misses me" rewrites "should echo the input" as "echoes the input" rewrites "should amass debt" as "amasses debt" rewrites "shouldn't return something" as "does not return something" rewrites "should have sweets" as "has sweets" rewrites "should do nothing" as "does nothing" rewrites "should buy the product" as "buys the product" rewrites "SHOULDN'T NOT RETAIN UPPERCASE" as "DOES NOT NOT RETAIN UPPERCASE" rewrites "should WISH me luck" as "WISHES me luck" rewrites "should worry about the future" as "worries about the future" rewrites "should not" as "does not" rewrites "should alias the method" as "aliases the method" rewrites "SHOULD RETAIN UPPERCASE" as "RETAINS UPPERCASE" rewrites "should really only return one item" as "really only returns one item" rewrites "should not return something" as "does not return something" rewrites "should deploy the app" as "deploys the app" rewrites "should search the internet" as "searches the internet" rewrites "should" as "" rewrites "should fizz" as "fizzes" rewrites "" as "" rewrites "should wish me luck" as "wishes me luck" rewrites "should WORRY" as "WORRIES" rewrites "SHOULDN'T BE true" as "IS NOT true" rewrites "should fax the document" as "faxes the document" rewrites "should return something" as "returns something" rewrites "should obey my orders" as "obeys my orders" rewrites "should pay for pizza" as "pays for pizza" rewrites "shouldn't be true" as "is not true" RuboCop::Cop::RSpec::RepeatedDescription registers offense for repeated description in different iterators does not flag different methods used as docstring does not flag examples if metadata is different does not flag examples with same metadata and different description ignores repeated descriptions in a nested context ignores descriptions repeated in a shared context registers an offense for repeated descriptions registers offense for repeated descriptions separated by a context registers offense for repeated description in same iterator registers offense for repeated description and metadata does not flag different descriptions in different iterators registers offense if same method used in docstring does not flag descriptions with different interpolated variables does not flag tests which do not contain description strings with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::Rails::HttpStatus when EnforcedStyle is `symbolic` registers an offense when using numeric value autocorrects `it { is_expected.to have_http_status 200 }` to `it { is_expected.to have_http_status :ok }` does not register an offense when using custom HTTP code does not register an offense when using symbolic value autocorrects `it { is_expected.to have_http_status 404 }` to `it { is_expected.to have_http_status :not_found }` with parenthesis autocorrects `it { is_expected.to have_http_status(200) }` to `it { is_expected.to have_http_status(:ok) }` autocorrects `it { is_expected.to have_http_status(404) }` to `it { is_expected.to have_http_status(:not_found) }` with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when EnforcedStyle is `numeric` autocorrects `it { is_expected.to have_http_status :ok }` to `it { is_expected.to have_http_status 200 }` registers an offense when using symbolic value does not register an offense when using allowed symbols does not register an offense when using numeric value autocorrects `it { is_expected.to have_http_status :not_found }` to `it { is_expected.to have_http_status 404 }` with parenthesis autocorrects `it { is_expected.to have_http_status(:not_found) }` to `it { is_expected.to have_http_status(404) }` autocorrects `it { is_expected.to have_http_status(:ok) }` to `it { is_expected.to have_http_status(200) }` is insane RuboCop::Cop::RSpec::Capybara::FeatureMethods autocorrects ` describe Foo do given!(:foo) { } end ` to ` describe Foo do let!(:foo) { } end ` ignores feature calls outside spec allows includes before the spec autocorrects ` describe Foo do given(:foo) { } end ` to ` describe Foo do let(:foo) { } end ` flags violations for `feature` flags violations for `background` flags violations for `scenario` autocorrects ` describe Foo do scenario { } end ` to ` describe Foo do it { } end ` ignores variables inside examples autocorrects ` describe Foo do RSpec.feature { } end ` to ` describe Foo do RSpec.describe { } end ` flags violations for `xscenario` autocorrects ` describe Foo do background { } end ` to ` describe Foo do before { } end ` flags violations for `given` autocorrects ` describe Foo do xscenario { } end ` to ` describe Foo do xit { } end ` flags violations for `given!` with configured `EnabledMethods` ignores usage of the enabled method flags other methods with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::UnspecifiedException with raise_exception matcher allows classes with blocks with braces allows exception classes allows classes with blocks with do/end allows exception types with matching regular expressions allows exception matching regular expressions allows exception types with messages allows parameterized exceptions allows exception messages allows empty exception specification when not expecting an error detects the `unspecified_exception` offense with raise_error matcher allows parameterized exceptions allows classes with blocks with do/end allows exception types with matching regular expressions detects the `unspecified_exception` offense allows exception matching regular expressions allows exception messages allows classes with blocks with braces allows exception classes allows empty exception specification when not expecting an error allows exception types with messages with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::ImplicitSubject with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb with EnforcedStyle `disallow` flags `is_expected` in single-line examples flags `is_expected` in multi-line examples flags `should` in single-line examples flags `should` in multi-line examples allows `is_expected` inside `its` block with EnforcedStyle `single_statement_only` flags `is_expected` in multi-statement examples allows `is_expected` in multi-line example with single statement with EnforcedStyle `single_line_only` does not flag methods called is_expected and should allows `is_expected` inside `its` block, in multi-line examples detects usage of `is_expected` inside helper methods flags `should` in multi-line examples allows `should` in single-line examples flags `is_expected` in multi-line examples allows `is_expected` in single-line examples RuboCop::Cop::RSpec::BeforeAfterAll with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when using before all registers an offense when using after all registers an offense when using before each does not register an offense when using after each does not register an offense RuboCop::Cop::RSpec::FilePath handles ACRONYMClassNames handles ALLCAPS class names allows flexibility with operators registers an offense for a bad path allows subdirs for instance methods handles CamelCaps class names ignores non-alphanumeric characters allows flat hierarchies for class methods registers an offense for a wrong class and highlights metadata uses relative path for sibling directory project registers an offense for a file missing _spec skips specs that do have multiple top level describes uses relative path allows flexibility with predicates uses relative path for different path project handles alphanumeric class names allows subdirs for class methods allows bang method allows flat hierarchies for instance methods registers an offense for a wrong class but a correct method checks instance methods checks class specs registers an offense for a wrong class name allows different parent directories registers an offense for a file missing a .rb registers an offense for a repeated .rb skips specs that do not describe a class / method registers an offense for a wrong class name with a symbol argument checks class methods with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when configured with CustomTransform ignores routing specs respects custom module name transformation when configured with IgnoreMethods does not care about the described method when configured with SpecSuffixOnly registers an offense when _spec.rb suffix is missing does not care about the described class RuboCop::Cop::RSpec::ContextMethod flags context with `.` at the beginning ignores describe blocks flags context with `#` at the beginning with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::MultipleSubjects does not try to autocorrect subject! does not flag shared example groups registers an offense for every overwritten subject autocorrects with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::MultipleDescribes finds multiple top level describes only with class skips single top level describe finds multiple top level describes with class and method with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::EmptyLineAfterSubject approves empty line after subject! checks for empty line after subject handles subjects in tests handles multiline subject block approves empty line after subject handles subject being the latest node checks for empty line after subject! with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::RSpec::Example extracts doc string for unimplemented examples extracts interpolated doc string extracts implementation extracts symbol doc string returns node extracts method doc string returns nil for examples without doc strings extracts keywords extracts doc string value object semantics computes #hash based on class and node compares by value can be used as a key in a hash RuboCop::Cop::RSpec::RepeatedExample does not flag examples with different implementations does not flag examples when different its arguments are used does not flag repeated examples in different scopes registers an offense for repeated example does not register a violation if rspec tag magic is involved with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::ReceiveNever flags usage of `never` after `with` allows method called `never` flags usage of `never` with `expect_any_instance_of` flags usage of `never` with `is_expected` flags usage of `never` with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::ExpectChange with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb with EnforcedStyle `block` ignores methods called change flags change matcher without block flags change matcher when receiver is a variable flags implicit block expectation syntax with EnforcedStyle `method_call` flags blocks that contain simple message sending ignores blocks that cannot be converted to obj/attribute pair ignores change method of object that happens to receive a block flags implicit block expectation syntax RuboCop::Cop::RSpec::NamedSubject when IgnoreSharedExamples is true ignores explicit subject in shared_examples behaves like checking subject outside of shared examples checks around(:each) for explicit subject usage ignores subject when not wrapped inside a test checks before and after for explicit subject usage checks `it` and `specify` for explicit subject usage with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when IgnoreSharedExamples is false checks shared_examples for explicit subject usage behaves like checking subject outside of shared examples ignores subject when not wrapped inside a test checks before and after for explicit subject usage checks around(:each) for explicit subject usage checks `it` and `specify` for explicit subject usage RuboCop::Cop::RSpec::FactoryBot::CreateList when EnforcedStyle is :create_list autocorrects ` 3.times do create(:user, :trait) do |user| create :account, user: user create :profile, user: user end end ` to ` create_list(:user, 3, :trait) do |user| create :account, user: user create :profile, user: user end ` autocorrects ` 3.times do create(:user, :trait) { |user| create :account, user: user } end ` to ` create_list(:user, 3, :trait) { |user| create :account, user: user } ` ignores create in other block flags usage of n.times when FactoryGirl.create is used ignores n.times when there is other calls but create ignores create method of other object ignores n.times with argument ignores n.times when there is no create call inside autocorrects `5.times { create(:user, :trait) }` to `create_list(:user, 5, :trait)` autocorrects `5.times { create :user }` to `create_list :user, 5` flags FactoryGirl.create calls with a block autocorrects `5.times { create :user, :trait, key: val }` to `create_list :user, 5, :trait, key: val` autocorrects `5.times { FactoryGirl.create :user }` to `FactoryGirl.create_list :user, 5` flags usage of n.times with no arguments flags usage of n.times when FactoryBot.create is used with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when EnforcedStyle is :n_times flags usage of FactoryGirl.create_list flags usage of create_list autocorrects `create_list(:user, 5, :trait)` to `5.times { create(:user, :trait) }` flags usage of FactoryGirl.create_list with a block ignores create method of other object autocorrects `create_list :user, 5, :trait, key: val` to `5.times { create :user, :trait, key: val }` autocorrects `FactoryGirl.create_list :user, 5` to `5.times { FactoryGirl.create :user }` autocorrects `create_list :user, 5` to `5.times { create :user }` Project requires alphabetizes cop requires RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically registers an offense in a trait registers an offense for an attribute defined on `self` registers an offense in a transient block accepts valid traits_for_enum definition accepts valid association definitions autocorrects ` FactoryBot.define do factory :post do title "Something" comments_count 0 tag Tag::MAGIC recent_statuses [] status([:draft, :published].sample) published_at 1.day.from_now created_at(1.day.ago) updated_at Time.current update_times [Time.current] meta_tags(foo: Time.current) other_tags({ foo: Time.current }) options color: :blue other_options Tag::MAGIC => :magic self.end Date.tomorrow trait :old do published_at 1.week.ago end end end ` to ` FactoryBot.define do factory :post do title { "Something" } comments_count { 0 } tag { Tag::MAGIC } recent_statuses { [] } status { [:draft, :published].sample } published_at { 1.day.from_now } created_at { 1.day.ago } updated_at { Time.current } update_times { [Time.current] } meta_tags { { foo: Time.current } } other_tags { { foo: Time.current } } options { { color: :blue } } other_options { { Tag::MAGIC => :magic } } self.end { Date.tomorrow } trait :old do published_at { 1.week.ago } end end end ` does not add offense if method called on a local variable does not add offense if out of factory bot block accepts valid sequence definition accepts valid factory definitions registers an offense for offending code does not add offense if method called on another object registers an offense for attributes defined on explicit receiver with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::VariableName with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when configured for `snake_case` when `let` with string names does not register an offense for snake_case does not register offense for interpolated string registers an offense for camelCase registers an offense for kebab-case when `let` with proc registers offense when `let` with symbol names registers an offense for PascalCase registers an offense for camelCase registers offense with multiple lets does not register offense for interpolated symbol does not register an offense for snake_case when `subject!` does not register offense for snake_case registers an offense for camelCase when `subject` registers an offense for camelCase does not register offense for snake_case when `let!` registers an offense for camelCase does not register offense for snake_case when configured for `camelCase` when `subject` registers an offense for snake_case does not register offense for camelCase when `let!` registers an offense for snake_case does not register offense for camelCase when `let` does not register offense for camelCase registers an offense for snake_case when `subject!` registers an offense for snake_case does not register offense for camelCase RuboCop::Cop::RSpec::SharedContext shared_examples does not register an offense for empty examples registers an offense for shared_examples with only hooks registers an offense for shared_examples with only subject registers an offense for shared_examples with only let does not register an offense for `shared_examples` with it with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb shared_context registers an offense for shared_context with only examples does not register an offense for empty contexts does not register an offense for `shared_context` with before does not register an offense for `shared_context` with let does not register an offense for `shared_context` with subject RuboCop::Cop::RSpec::MissingExampleGroupArgument checks first argument of context checks first argument of describe accepts methods with a name like an example block accepts describe with an argument checks first argument of nested describe with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::LetSetup complains when let! is used and not referenced complains when there is a custom nesting level ignores let! when used in example complains when let! used in shared example including complains when let! is used and not referenced in shared example group complains when let! is used and not referenced within nested group complains when there is only one nested node into example group ignores let! when used in `before` with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::DescribedClass when EnforcedStyle is :explicit flags the use of the described_class ignores describe that do not reference to a class autocorrects corresponding ignores violations within a class scope change ignores violations within a hook scope change ignores described_class as string when EnforcedStyle is :described_class ignores subclasses ignores class if the scope is changing flags with metadata ignores described class as string flags the use of described class with module flags for the use of the described class ignores non-matching namespace ignores violations within a hook scope change ignores violations within a class scope change ignores if `described_class` is a part of the constant accepts an empty block takes class from innermost describe ignores non-matching namespace defined on `describe` level flags the use of described class with nested namespace flags the use of described class with namespace ignores non-matching namespace in usages ignores if a local variable is part of the namespace ignores describe that do not reference to a class when SkipBlocks is `false` flags violations within all blocks when SkipBlocks is `true` ignores violations within non-rspec blocks with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation autocorrects `expect(page.current_path).to match("string/")` to `expect(page).to have_current_path(/string\//)` flags violations for `expect(page.current_path)` autocorrects `expect(page.current_path)` to `expect(page.current_path)` autocorrects `expect(current_path).to eq(expected_path)` to `expect(page).to have_current_path(expected_path, ignore_query: true)` doesn't flag a violation for other expectations flags violations for `expect(current_path)` autocorrects `expect(page.current_path).to match(variable)` to `expect(page.current_path).to match(variable)` autocorrects `expect(current_path).to eq(expected_path(f: :b))` to `expect(page).to have_current_path(expected_path(f: :b), ignore_query: true)` autocorrects `expect(current_path).to eq expected_path` to `expect(page).to have_current_path expected_path, ignore_query: true` autocorrects `expect(current_path).to(eq(expected_path))` to `expect(page).to(have_current_path(expected_path, ignore_query: true))` autocorrects `expect(current_path).to_not eq expected_path` to `expect(page).to have_no_current_path expected_path, ignore_query: true` autocorrects `expect(page.current_path).to match(/regexp/i)` to `expect(page).to have_current_path(/regexp/i)` autocorrects `expect(current_path).not_to eq expected_path` to `expect(page).to have_no_current_path expected_path, ignore_query: true` doesn't flag a violation for other references to `current_path` autocorrects `expect(page.current_path).to eq(foo(bar).path)` to `expect(page).to have_current_path(foo(bar).path, ignore_query: true)` with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::Dialect registers an offense for context blocks allows describe blocks registers an offense for RSpec.context blocks allows calling methods named context in examples with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb without preferred methods allows all methods blocks RuboCop::RSpec::Hook extracts name #knowable_scope? knows the scope of a hook with a symbol literal does not break if a hook is not given a symbol literal knows the scope of a hook with hash metadata knows the scope of a hook with no argument #metadata combines symbol and hash metadata extracts symbol metadata extracts hash metadata extracts hash metadata with no scope given withstands no arguments #scope ignores other arguments to hooks interprets before(:all) { } as having scope context interprets after(:suite) { } as having scope suite interprets around(:context) { } as having scope context classifies :each as an example hook interprets after { } as having scope each interprets before(:each) { } as having scope each interprets around(:example) { } as having scope each defaults to example hook with hash metadata RuboCop::Cop::RSpec::MultipleExpectations generates a todo based on the worst violation without configuration flags multiple expects with blocks flags multiple expectations counts every aggregate_failures as an expectation flags multiple is_expected flags multiple expect_any_instance_of approves of one expectation per example counts aggregate_failures as one expectation with Max configuration permits two expectations flags three expectations with metadata checks example groups with `aggregate_failures: false` ignores examples with `aggregate_failures: true` defined deeply ignores examples with `aggregate_failures: true` checks examples with siblings with `aggregate_failures: true` prefers example metadata over example group metadata ignores example groups with `aggregate_failures: true` ignores examples with `:aggregate_failures` checks examples with `aggregate_failures: false` ignores example groups with `:aggregate_failures` with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::VoidExpect accepts non-void `expect` registers offenses to void `expect` registers offenses to void `expect` when block has one expression registers offenses to void `expect` with block accepts non-void `expect` with block with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::DescribeSymbol does not flag non-Symbol arguments flags violations for `describe :symbol` with multiple arguments does not flag `context :symbol` flags violations for a nested `describe` flags violations for `RSpec.describe :symbol` flags violations for `describe :symbol` with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RubocopBug has an expectation has a single example RuboCop::Cop::RSpec::Capybara::VisibilityMatcher does not register an offense when using `visible: :hidden` recognizes multiple matchers does not register an offense when using `visible: :visible` registers an offense when using a selector` registers an offense when using `visible: true` does not register an offense when using `visible: :all` does not register an offense when using multiple options registers an offense when using `visible: false` does not register an offense when using other options does not register an offense when no options are given` registers an offense when using a using multiple options` with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::MessageChain finds `receive_message_chain` finds old `stub_chain` syntax with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup checks for empty line after context handles describes in an if block approves empty line after describe approves empty line after context checks for empty line after describe highlights single line formulations correctly with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::ExpectInHook accepts an empty `before` hook adds an offense for `expect` with block in `before` hook accepts `allow` in `before` hook adds an offense for `expect` in `after` hook adds an offense for `expect` in `before` hook accepts `expect` in `it` adds an offense for `expect` in `around` hook with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::InstanceVariable ignores non-spec blocks flags an instance variable inside a describe flags several instance variables inside a describe ignores instance variables outside of specs ignores an instance variable inside a dynamic class flags an instance variable inside a shared example ignores an instance variable without describe with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when used in a custom matcher ignores instance variables inside `RSpec::Matchers.define` ignores instance variables inside `matcher` flags instance variables outside `matcher` when configured with AssignmentOnly flags an instance variable when it is also assigned in a sibling example group flags an instance variable when it is also assigned ignores an instance variable when it is not assigned RuboCop::Cop::RSpec::ExpectActual flags arrays containing only literal values within expect(...) flags with `eql` matcher flags regexps containing only literal values within expect(...) flags hashes containing only literal values within expect(...) flags string and symbol literal values within expect(...) ignores `be` with no argument flags literal nil value within expect(...) flags but does not autocorrect violations for other matchers flags boolean literal values within expect(...) flags ranges containing only literal values within expect(...) does not flag complex values with dynamic parts within expect(...) does not flag dynamic values within expect(...) flags with `equal` matcher flags `be ==` flags `be` with an argument flags numeric literal values within expect(...) when inspecting rspec-rails routing specs ignores rspec-rails routing specs with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::ImplicitExpect when EnforcedStyle is is_expected generates a todo based on the detected style approves of is_expected.not_to flags it { should_not } approves of is_expected.to_not flags it { should } approves of is_expected.to with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when EnforcedStyle is should approves of should generates a todo based on the detected style generates a todo based on the detected style approves of should_not flags it { is_expected.to } flags it { is_expected.to_not } flags it { is_expected.not_to } RuboCop::Cop::RSpec::MessageSpies with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when EnforcedStyle is have_received flags expect(...).not_to receive generates a todo based on the detected style flags expect(const).to receive flags expect(ivar).to receive flags expect(...).to receive at_most flags expect(send).to receive approves of expect(...).to have_received flags expect(...).to receive with generates a todo based on the detected style flags expect(lvar).to receive flags expect(...).to_not receive when EnforcedStyle is receive flags expect(ivar).to have_received flags expect(const).to have_received generates a todo based on the detected style approves of expect(...).to receive flags expect(send).to have_received flags expect(...).to_not have_received flags expect(...).to have_received with generates a todo based on the detected style flags expect(...).not_to have_received flags expect(...).to have_received at_most flags expect(lvar).to have_received RuboCop::Cop::RSpec::ScatteredLet flags `let` after the first different node doesnt flag `let!` in the middle of multiple `let`s flags `let` at different nesting levels flags `let` with proc argument works with heredocs flags scattered `let!`s with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::SingleArgumentMessageChain with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb receive_message_chain accepts multi-argument string calls accepts multi-argument calls reports single-argument string calls accepts single-argument calls with variable reports single-argument calls accepts single-argument calls with send node with single-key hash argument reports an offense with single-element array argument reports an offense with multiple-element array argument doesn't report an offense with multiple keys hash argument doesn't report an offense stub_chain reports single-argument string calls accepts multi-argument string calls accepts multi-argument calls reports single-argument calls RuboCop::Cop::RSpec::PredicateMatcher with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when enforced style is `explicit` when strict is false autocorrects `expect(foo).not_to be_something` to `expect(foo.something?).to be_falsey` autocorrects `expect(foo).to be_all { |x| x.present? }` to `expect(foo.all? { |x| x.present? }).to be_truthy` autocorrects `expect(foo).to be_something(1)` to `expect(foo.something?(1)).to be_truthy` autocorrects `expect(foo).to be_something 1, 2` to `expect(foo.something? 1, 2).to be_truthy` autocorrects `expect(foo).to be_something` to `expect(foo.something?).to be_truthy` autocorrects `expect(foo).to be_all { present }` to `expect(foo.all? { present }).to be_truthy` autocorrects `expect(foo).to have_something` to `expect(foo.has_something?).to be_truthy` autocorrects `expect(foo).to be_all { }` to `expect(foo.all? { }).to be_truthy` autocorrects `expect(foo).to be_a(Array)` to `expect(foo.is_a?(Array)).to be_truthy` autocorrects `expect(foo).to be_instance_of(Array)` to `expect(foo.instance_of?(Array)).to be_truthy` accepts built in matchers autocorrects `expect(foo).to be_all do; end` to `expect(foo.all? do; end).to be_truthy` autocorrects `expect(foo).to be_something(1, 2)` to `expect(foo.something?(1, 2)).to be_truthy` autocorrects `expect(foo).to be_all(n) { |x| x.ok? }` to `expect(foo.all?(n) { |x| x.ok? }).to be_truthy` autocorrects `expect(foo).to be_something()` to `expect(foo.something?()).to be_truthy` autocorrects ` expect(foo).to be_all do |x| x + 1 x >= 2 end ` to ` expect(foo.all? do |x| x + 1 x >= 2 end).to be_truthy ` registers an offense for a predicate mather registers an offense for a predicate mather with argument registers an offense for a predicate matcher with a block accepts non-predicate matcher when custom matchers are allowed accepts custom allowed explicit matchers when strict is true accepts non-predicate matcher registers an offense for a predicate matcher with a block autocorrects `expect(foo).to be_something 1, 2` to `expect(foo.something? 1, 2).to be(true)` autocorrects `expect(foo).to be_something` to `expect(foo.something?).to be(true)` registers an offense for a predicate mather autocorrects `expect(foo).to be_all { }` to `expect(foo.all? { }).to be(true)` autocorrects `expect(foo).to be_something()` to `expect(foo.something?()).to be(true)` autocorrects `expect(foo).not_to be_something` to `expect(foo.something?).to be(false)` autocorrects `expect(foo).to be_a(Array)` to `expect(foo.is_a?(Array)).to be(true)` autocorrects `expect(foo).to be_all(n) { |x| x.ok? }` to `expect(foo.all?(n) { |x| x.ok? }).to be(true)` autocorrects `expect(foo).to be_all { present }` to `expect(foo.all? { present }).to be(true)` autocorrects `expect(foo).to be_all do; end` to `expect(foo.all? do; end).to be(true)` autocorrects `expect(foo).to be_instance_of(Array)` to `expect(foo.instance_of?(Array)).to be(true)` accepts built in matchers autocorrects `expect(foo).to have_something` to `expect(foo.has_something?).to be(true)` autocorrects ` expect(foo).to be_all do |x| x + 1 x >= 2 end ` to ` expect(foo.all? do |x| x + 1 x >= 2 end).to be(true) ` autocorrects `expect(foo).to be_something(1, 2)` to `expect(foo.something?(1, 2)).to be(true)` autocorrects `expect(foo).to be_all { |x| x.present? }` to `expect(foo.all? { |x| x.present? }).to be(true)` registers an offense for a predicate mather with argument autocorrects `expect(foo).to be_something(1)` to `expect(foo.something?(1)).to be(true)` when custom matchers are allowed accepts custom allowed explicit matchers when enforced style is `inflected` when strict is true autocorrects `expect(foo.all? { |x| x.present? }).to be_truthy` to `expect(foo).to be_all { |x| x.present? }` registers an offense for a predicate method in actual autocorrects `expect(foo.something?()).to be_truthy` to `expect(foo).to be_something()` autocorrects `expect(foo.exists?).to be_truthy` to `expect(foo).to exist` autocorrects `expect(foo.all? { present }).to be_truthy` to `expect(foo).to be_all { present }` autocorrects `expect(foo.include?(something)).to be_truthy` to `expect(foo).to include(something)` autocorrects `expect(foo.empty?).to be_falsey` to `expect(foo).not_to be_empty` autocorrects `expect(foo.something? 1, 2).to be_truthy` to `expect(foo).to be_something 1, 2` autocorrects `expect(foo.empty?).to be_truthy` to `expect(foo).to be_empty` registers an offense for a predicate method with built-in equiv autocorrects `expect(foo.empty?).not_to be_falsey` to `expect(foo).to be_empty` autocorrects `expect(foo.has_key?("foo")).to be_truthy` to `expect(foo).to have_key("foo")` autocorrects `expect(foo.empty?).to_not be_truthy` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).not_to a_truthy_value` to `expect(foo).not_to be_empty` autocorrects ` expect(foo.all? do |x| x + 1 x >= 2 end).to be_truthy ` to ` expect(foo).to be_all do |x| x + 1 x >= 2 end ` autocorrects `expect(foo.has_something?).not_to be_truthy` to `expect(foo).not_to have_something` autocorrects `expect(foo.empty?).not_to be_truthy` to `expect(foo).not_to be_empty` autocorrects `expect(foo.all? { }).to be_truthy` to `expect(foo).to be_all { }` registers an offense for a predicate method with a block autocorrects `expect(foo.has_something?).to be_truthy` to `expect(foo).to have_something` registers an offense for a predicate method with argument accepts a predicate method that is not ckeced true/false autocorrects `expect(foo.respond_to?(:bar)).to be_truthy` to `expect(foo).to respond_to(:bar)` autocorrects `expect(foo.all? do; end).to be_truthy` to `expect(foo).to be_all do; end` accepts non-predicate method autocorrects `expect(foo.something?(1, 2)).to be_truthy` to `expect(foo).to be_something(1, 2)` autocorrects `expect(foo.is_a?(Array)).to be_truthy` to `expect(foo).to be_a(Array)` autocorrects `expect(foo.all?(n) { |x| x.present? }).to be_truthy` to `expect(foo).to be_all(n) { |x| x.present? }` autocorrects `expect(foo.instance_of?(Array)).to be_truthy` to `expect(foo).to be_an_instance_of(Array)` accepts strict checking boolean matcher when strict is false autocorrects `expect(foo.has_something?).to be_truthy` to `expect(foo).to have_something` accepts non-predicate method autocorrects `expect(foo.something?()).to be_truthy` to `expect(foo).to be_something()` registers an offense for a predicate method with built-in equiv autocorrects `expect(foo.empty?).to be_truthy` to `expect(foo).to be_empty` registers an offense for a predicate method in actual accepts a predicate method that is not ckeced true/false autocorrects `expect(foo.empty?).not_to a_truthy_value` to `expect(foo).not_to be_empty` autocorrects `expect(foo.all?(n) { |x| x.present? }).to be_truthy` to `expect(foo).to be_all(n) { |x| x.present? }` registers an offense for a predicate method with argument autocorrects `expect(foo.has_key?("foo")).to be_truthy` to `expect(foo).to have_key("foo")` autocorrects `expect(foo.empty?).not_to be(false)` to `expect(foo).to be_empty` autocorrects `expect(foo.all? { }).to be_truthy` to `expect(foo).to be_all { }` autocorrects `expect(foo.something? 1, 2).to be_truthy` to `expect(foo).to be_something 1, 2` autocorrects ` expect(foo.all? do |x| x + 1 x >= 2 end).to be_truthy ` to ` expect(foo).to be_all do |x| x + 1 x >= 2 end ` autocorrects `expect(foo.empty?).not_to be(true)` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).not_to be_truthy` to `expect(foo).not_to be_empty` autocorrects `expect(foo.respond_to?(:bar)).to be_truthy` to `expect(foo).to respond_to(:bar)` registers an offense for a predicate method with a block autocorrects `expect(foo.exists?).to be_truthy` to `expect(foo).to exist` autocorrects `expect(foo.empty?).not_to be_falsey` to `expect(foo).to be_empty` autocorrects `expect(foo.something?(1, 2)).to be_truthy` to `expect(foo).to be_something(1, 2)` autocorrects `expect(foo.is_a?(Array)).to be_truthy` to `expect(foo).to be_a(Array)` autocorrects `expect(foo.include?(something)).to be_truthy` to `expect(foo).to include(something)` autocorrects `expect(foo.empty?).to be(false)` to `expect(foo).not_to be_empty` autocorrects `expect(foo.all? do; end).to be_truthy` to `expect(foo).to be_all do; end` autocorrects `expect(foo.instance_of?(Array)).to be_truthy` to `expect(foo).to be_an_instance_of(Array)` autocorrects `expect(foo.has_something?).not_to be_truthy` to `expect(foo).not_to have_something` autocorrects `expect(foo.empty?).to eq(true)` to `expect(foo).to be_empty` registers an offense for a predicate method in actual autocorrects `expect(foo.empty?).to_not be_truthy` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).to be_falsey` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).to be(true)` to `expect(foo).to be_empty` autocorrects `expect(foo.all? { |x| x.present? }).to be_truthy` to `expect(foo).to be_all { |x| x.present? }` autocorrects `expect(foo.empty?).to eq(false)` to `expect(foo).not_to be_empty` autocorrects `expect(foo.all? { present }).to be_truthy` to `expect(foo).to be_all { present }` RuboCop::Cop::RSpec::BeEql registers an offense for `eql` when argument is an integer does not register an offense for `eql` when expectation is negated registers an offense for `eql` when argument is nil registers an offense for `eql` when argument is a symbol registers an offense for `eql` when argument is a float does not register an offense for `eql` when argument is a string registers an offense for `eql` when argument is a boolean with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::EmptyLineAfterFinalLet checks for empty line after let with proc argument handles silly HEREDOC offense checks for empty line after last let allows comment followed by an empty line after let ignores empty lines between the lets check for empty line after the last `let!` approves empty line after let flags missing empty line after the comment that comes after last let handles silly HEREDOC syntax for let flags missing empty line after a multiline comment after last let handles HEREDOC for let handles let being the latest node handles multiline let block handles let in tests with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::Pending ignores context flags blocks with skip: string metadata flags xscenario flags skip blocks ignores example_group flags xcontext flags blocks with skip symbol metadata flags pending examples when receiver is explicit flags xexample flags pending blocks flags describe with skip symbol metadata flags xdescribe ignores scenario flags xfeature ignores it with skip: false metadata ignores it flags skip inside of an it ignores specify flags blocks with pending symbol metadata ignores example ignores method called pending flags xspecify ignores describe ignores feature flags xit flags blocks with skip: true metadata with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::IteratedExpectation flags `each` with multiple expectations ignores `each` when there is a negative expectation ignores `each` with expectation on property ignores `each` without expectation flags `each` with an expectation ignores assignments in the iteration ignore `each` when the body does not contain only expectations flags `each` when expectation calls method with arguments with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::RepeatedExampleGroupBody does not register offense for different block body implementation does not register offense if no descriptions, but different body registers an offense for repeated context body registers an offense for several repeated context body does not register offense with several docstring does not register offense for example groups in different groups registers offense for different groups registers offense no descriptions and similar body does not register offense if module arg is different does not register offense when module arg namespace is different does not register offense if metadata is different registers offense only for RSPEC namespace example groups registers offense correctly if example groups are separated registers an offense for repeated describe body skips `skip` and `pending` statements registers offense only for RSPEC namespace example groups in any order registers offense only for example group registers an offense for when module arg and namespace are identical does not register offense for same examples with different data with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb CHANGELOG.md has link definitions for all implicit links entry has a link to the contributors at the end has a whitespace between the * and the body link to related issue on github has an issue number prefixed with # has a colon and a whitespace at the end has a valid URL body does not start with a lower case ends with a punctuation RuboCop::Cop::RSpec::OverwritingSetup handles string arguments handles dynamic names for `let` handles unnamed subjects ignores overwriting in different context works with `subject!` and `let!` finds overwriten `subject` finds overwriten `let` finds `let!` overwriting `let` with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::NotToNot when AcceptedMethod is `to_not` detects the `not_to` offense detects the `not_to` offense on an expect block detects no offense when using `to_not` when EnforcedStyle is `not_to` detects the `to_not` offense detects no offense when using `not_to` detects the `to_not` offense on an expect block with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::RSpec::ExampleGroup exposes examples in scope RuboCop::Cop::RSpec::InstanceSpy with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when used with `have_received` ignores instance_double when it is not used with as_null_object adds an offense for an instance_double with single argument adds an offense for an instance_double with multiple arguments when not used with `have_received` does not add an offence RuboCop::Cop::RSpec::LeadingSubject checks subject below let with proc argument checks subject below let checks subject below example handles subjects in contexts checks subject below hook approves of subject above let checks subject below let! handles subjects in tests with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::HookArgument when EnforcedStyle is :example generates a todo based on the detected style ignores hooks with more than one argument autocorrects `before(:example) { }` to `before(:example) { }` autocorrects `before(:each) { }` to `before(:example) { }` detects :example for hooks ignores :context and :suite generates a todo based on the detected style autocorrects `before { }` to `before(:example) { }` detects :each for hooks does not flag hooks without default scopes generates a todo based on the detected style ignores non-rspec hooks autocorrects `config.before { }` to `config.before(:example) { }` autocorrects `config.before(:example) { }` to `config.before(:example) { }` autocorrects `config.before(:each) { }` to `config.before(:example) { }` when EnforcedStyle is :implicit ignores :context and :suite autocorrects `before(:example) { }` to `before { }` ignores hooks with more than one argument detects :example for hooks autocorrects `before(:each) { }` to `before { }` autocorrects `config.before(:example) { }` to `config.before { }` ignores non-rspec hooks autocorrects `config.before(:each) { }` to `config.before { }` does not flag hooks without default scopes autocorrects `config.before { }` to `config.before { }` autocorrects `before { }` to `before { }` generates a todo based on the detected style generates a todo based on the detected style detects :each for hooks generates a todo based on the detected style when EnforcedStyle is :each detects :example for hooks ignores hooks with more than one argument generates a todo based on the detected style detects :each for hooks autocorrects `before(:example) { }` to `before(:each) { }` autocorrects `config.before(:each) { }` to `config.before(:each) { }` autocorrects `config.before { }` to `config.before(:each) { }` autocorrects `before(:each) { }` to `before(:each) { }` generates a todo based on the detected style autocorrects `config.before(:example) { }` to `config.before(:each) { }` autocorrects `before { }` to `before(:each) { }` generates a todo based on the detected style ignores :context and :suite detects hooks without default scopes ignores non-rspec hooks with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::DescribedClassModuleWrapping allows a module that does not contain RSpec.describe registers an offense when RSpec.describe is nested within two modules registers an offense when RSpec.describe is nested within a module allows a describe block in the outermost scope with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::ContextWording skips describe blocks finds context without separate `when` at the beginning finds shared_context without `when` at the beginning finds context without `when` at the beginning skips descriptions beginning with 'when' when configured finds context without allowed prefixes at the beginning skips descriptions with allowed prefixes at the beginning with symbol metadata finds context without separate `when` at the beginning with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb with metadata hash finds context without separate `when` at the beginning with mixed metadata finds context without separate `when` at the beginning RuboCop::Cop::RSpec::AlignLeftLetBrace works with empty file does not register offense for let with proc argument registers offense for unaligned braces with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::AroundBlock when two values are yielded and the first is unused registers an offense for the first argument when the yielded value is unused registers an offense when a method other than #run or #call is called registers an offense with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when passed to another method does not register an offense when #run is called does not register an offense when the hook is scoped with a symbol registers an offense when the yielded value is referenced but not used registers an offense when used as a block arg does not register an offense when #call is called does not register an offense when no value is yielded registers an offense when yielded to another block does not register an offense RuboCop::Cop::RSpec::ExampleLength ignores non-spec blocks ignores comments allows a short example allows an empty example when inspecting large examples flags the example with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb with CountComments enabled flags the example RuboCop::RSpec::Language::SelectorSet compares by value composes sets #include? returns false for selectors not in the set returns true for selectors in the set #send_pattern builds a send matching pattern #block_pattern builds a block matching pattern #node_pattern_union builds a node pattern union #node_pattern builds a node pattern RuboCop::Cop::RSpec::ItBehavesLike when the enforced style is `it_should_behave_like` does not flag a violation for it_behaves_like flags a violation for it_behaves_like when the enforced style is `it_behaves_like` does not flag a violation for it_behaves_like flags a violation for it_should_behave_like with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::Be registers an offense for not_to be allows `be` with an argument registers an offense for `be` without an argument allows specific `be_` matchers with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::ScatteredSetup ignores different hook types flags multiple before(:all) hooks in the same example group ignores different hooks flags multiple hooks of the same scope with different symbols ignores similar method names inside of examples ignores hooks in different shared contexts ignores hooks with different metadata flags multiple hooks in the same example group ignores hooks in different example groups flags hooks with similar metadata with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::DescribeMethod ignores describes with only a class skips specs not having a string second argument skips methods starting with a . or # enforces non-method names with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::RSpec::ConfigFormatter builds a YAML dump with spacing between cops RuboCop::Cop::RSpec::RepeatedExampleGroupDescription registers offense correctly if example groups are separated does not register offense for example group without descriptions considers different classes as different descriptions does not register offense for different block descriptions registers offense correctly for interpolated docstrings registers an offense for repeated describe descriptions register offense for different example group with similar descriptions does not register offense for describe block with several docstring registers offense only for RSPEC namespace example groups registers an offense with right pointing to lines of code registers offense only for RSPEC namespace example groups in any order does not register offense for describe block with additional docstring register offense if same method used in docstring registers an offense for repeated context descriptions considers interpolated docstrings as different descriptions registers offense only for example group with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::ExampleWithoutDescription with EnforcedStyle `disallow` ignores `it` with a description flags missing description in multi-line examples flags missing description in single-line examples with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb with EnforcedStyle `always_allow` ignores `it` without an argument flags empty strings for description ignores `it` with a description with EnforcedStyle `single_line_only` ignores missing description in single-line examples flags missing description in multi-line examples flags example with an empty string for description RuboCop::Cop::RSpec::FactoryBot::FactoryClassName with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when passing block ignores passing OpenStruct flags passing a class from global namespace flags passing a class flags passing a subclass ignores passing class name ignores passing Hash when not passing block flags passing a class ignores passing class name RuboCop::Cop::RSpec::DescribeClass ignores an empty describe flags specs with non :type metadata doesn't flag top level describe in a shared example ignores feature specs ignores routing specs checks highlights the first argument of a describe ignores feature specs when RSpec.describe is used ignores feature specs - also with complex options ignores nested describe statements doesn't flag top level describe in an unnamed shared context ignores system specs checks describe statements after a require doesn't blow up on single-line describes ignores view specs supports ::RSpec.describe supports RSpec.describe doesn't flag top level describe in a shared context flags normal metadata in describe checks first-line describe statements ignores request specs with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb when argument is a String literal ignores class with namespace checks numbers at start ignores value constants checks empty strings ignores top-level constants with `::` at start ignores class without namespace ignores value constants with namespace checks `camelCase` RuboCop::Cop::RSpec::NestedGroups counts nesting correctly when non-spec nesting support --auto-gen-config ignores non-spec context methods flags nested contexts when Max is configured as 2 flags two levels of nesting with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb when configured with MaxNesting emits a deprecation warning RuboCop::Cop::RSpec::ExpectOutput registers an offense for overwriting $stderr within an example scoped hook registers an offense for overwriting $stdout within an example does not flag assignments to $stdout outside of example scope does not register an offense for interacting with $stdout does not flag assigns to $stdout when in the root scope does not flag assignments to other global variables does not flag assignments to $stdout in example_group scope with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::LeakyConstantDeclaration constant assignment ignores outside of example/shared group flags inside shared example group flags inside an example group flags inside an example module defined flags inside an example group class defined ignores anonymous classes flags namespaced class flags inside an example group with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::RSpec::DescriptionExtractor builds a hash of descriptions RuboCop::Cop::RSpec::AnyInstance finds `expect_any_instance_of` instead of an instance double finds `allow_any_instance_of` instead of an instance double finds old `any_instance` syntax instead of an instance double with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::SharedExamples registers an offense when using symbolic title does not register an offense when using string title does not register an offense when using Module/Class title with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::ImplicitBlockExpectation flags when subject is defined in the outer example group flags Proc.new flags named subject flags with `should` as implicit subject flags literal lambda flags proc ignores when there is no subject defined ignores named subject with deeply nested lambda flags lambda in subject flags with `should_not` as implicit subject flags lambda in subject! ignores non-lambda subject ignores normal local subject with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb config/default.yml sorts configuration keys alphabetically includes Enabled: true for every cop does not have newlines in cop descriptions has descriptions for all cops ends every description with a period has configuration for all cops RuboCop::Cop::RSpec::EmptyLineAfterExample flags mixed one-line and multi-line examples ignores consecutive one-liners flags a missing empty line after `specify` flags one-line examples ignores when an empty line is present flags a missing empty line after `it` with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb when AllowConsecutiveOneLiners is false ignores consecutive one-liners RuboCop::Cop::RSpec::Yield flags `block.call` flags multiple `block.call` with arguments flags `block.call` when `receive` is chained ignores `receive` with no block arguments flags multiple `block.call` ignores stub when `block.call` is not the only statement flags `block.call` with arguments with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::SubjectStub flags when subject is stubbed and there are several named subjects in the same example group flags when an unnamed subject is mocked flags when subject is mocked flags chain stubs flags when subject is stubbed flags when there are several top level example groups flags multiple-method stubs flags nested subject stubs when adjacent context redefines flags one-line expectcation syntax flags stub inside all matcher flags nested subject stubs flags nested subject stubs when example group does not define subject flags nested subject stubs when nested subject uses same name ignores nested stubs when nested subject is anonymous flags when an implicit subject is mocked flags negated runners ignores stub within context where subject name changed flags deeply nested subject stubs flags an expectation made on an unnamed subject flags spy subject stubs top level example groups flags in top level xfeature flags in top level example_group flags in top level describe flags in top level context flags in top level fdescribe flags in top level shared_context flags in top level fcontext flags in top level xdescribe flags in top level shared_examples flags in top level shared_examples_for flags in top level xcontext flags in top level feature flags in top level ffeature with default configuration does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::ReturnFromStub with EnforcedStyle `block` ignores string with interpolation returned from method ignores multiple values being returned from method ignores dynamic values returned from method finds hash with only static values returned from method finds static values returned from chained method finds concatenated strings with no variables finds static values returned from method finds nil returned from method with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb with EnforcedStyle `and_return` finds empty values returned from block finds concatenated strings with no variables ignores array with dynamic values returned from block finds nested constants returned from block finds constants returned from block ignores hash with dynamic values returned from block ignores dynamic values returned from block finds hash with only static values returned from block handles stubs in a method finds static values returned from block ignores variables return from block ignores stubs without return value finds static values in a block when there are chained methods finds array with only static values returned from block ignores block returning string with interpolation RuboCop::Cop::RSpec::Focus flags all rspec example blocks with that include `focus: true` flags rspec example blocks that include `:focus` preceding a hash flags all rspec example blocks that include `:focus` ignores non-rspec code with :focus blocks does not flag unfocused specs flags focused block types does not flag a method that is focused twice with default configuration does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::MessageExpectation when EnforcedStyle is allow flags expect(...).to receive generates a todo based on the detected style generates a todo based on the detected style approves of allow(...).to receive when EnforcedStyle is expect approves of expect(...).to receive generates a todo based on the detected style generates a todo based on the detected style flags allow(...).to receive with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::Cop when the source path ends with `_spec.rb` registers an offense ignores the file if it is ignored with default configuration does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb when custom patterns are specified registers offenses when the path matches a custom specified pattern when the source path contains `/spec/` registers an offense when the source path starts with `spec/` registers an offense when the file is a source file without "spec" in the name ignores the source when the path is not a specified pattern ignores the source when the path is not a spec file RuboCop::Cop::RSpec::EmptyLineAfterHook checks for empty line after `before` hook handles multiline `after` block checks for empty line after `around` hook approves empty line after `around` hook approves empty line after `after` hook handles multiline `around` block approves empty line after `before` hook handles `before` being the latest node handles multiline `before` block checks for empty line after `after` hook with default configuration does not crash on smoke test: spec/smoke_tests/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb Finished in 15.54 seconds (files took 3.17 seconds to load) 1499 examples, 0 failures Randomized with seed 54957 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_install -i -O--buildsystem=ruby dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installsystemduser -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_ruby_fixdepends -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-rubocop-rspec: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-rubocop-rspec' in '../ruby-rubocop-rspec_1.42.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-rubocop-rspec_1.42.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-rubocop-rspec-dNOI3N /tmp/ruby-rubocop-rspec-1.42.0-1keren62u I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap._nBWSR4RxN... I: success in 325.6344 seconds md5: ruby-rubocop-rspec_1.42.0-1_all.deb: OK sha1: ruby-rubocop-rspec_1.42.0-1_all.deb: OK sha256: ruby-rubocop-rspec_1.42.0-1_all.deb: OK Checksums: OK