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-1o96shdyl/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-1o96shdyl 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.lJlqXllE8S 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.lJlqXllE8S 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 (660 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.lJlqXllE8S 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 (1195 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.lJlqXllE8S 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.lJlqXllE8S 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 (876 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.lJlqXllE8S 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/d20211005-511485-10hiuwt/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/d20211005-511485-10hiuwt/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/node.rb lib/rubocop/rspec/concept.rb lib/rubocop/rspec/corrector/move_node.rb lib/rubocop/rspec/wording.rb lib/rubocop/rspec/version.rb lib/rubocop/rspec/align_let_brace.rb lib/rubocop/rspec/language.rb lib/rubocop/rspec/final_end_location.rb lib/rubocop/rspec/hook.rb lib/rubocop/rspec/variable.rb lib/rubocop/rspec/inject.rb lib/rubocop/rspec/factory_bot.rb lib/rubocop/rspec/blank_line_separation.rb lib/rubocop/rspec/language/node_pattern.rb lib/rubocop/rspec/description_extractor.rb lib/rubocop/rspec/top_level_group.rb lib/rubocop/rspec/config_formatter.rb lib/rubocop/rspec/top_level_describe.rb lib/rubocop/rspec/example_group.rb lib/rubocop/rspec/example.rb lib/rubocop/cop/rspec/repeated_example_group_body.rb lib/rubocop/cop/rspec/let_before_examples.rb lib/rubocop/cop/rspec/align_right_let_brace.rb lib/rubocop/cop/rspec/scattered_setup.rb lib/rubocop/cop/rspec/context_wording.rb lib/rubocop/cop/rspec/variable_definition.rb lib/rubocop/cop/rspec/return_from_stub.rb lib/rubocop/cop/rspec/be_eql.rb lib/rubocop/cop/rspec/instance_spy.rb lib/rubocop/cop/rspec/invalid_predicate_matcher.rb lib/rubocop/cop/rspec/example_length.rb lib/rubocop/cop/rspec/it_behaves_like.rb lib/rubocop/cop/rspec/scattered_let.rb lib/rubocop/cop/rspec/receive_counts.rb lib/rubocop/cop/rspec/repeated_example_group_description.rb lib/rubocop/cop/rspec/empty_hook.rb lib/rubocop/cop/rspec/capybara/feature_methods.rb lib/rubocop/cop/rspec/capybara/visibility_matcher.rb lib/rubocop/cop/rspec/capybara/current_path_expectation.rb lib/rubocop/cop/rspec/describe_method.rb lib/rubocop/cop/rspec/shared_context.rb lib/rubocop/cop/rspec/empty_example_group.rb lib/rubocop/cop/rspec/overwriting_setup.rb lib/rubocop/cop/rspec/empty_line_after_final_let.rb lib/rubocop/cop/rspec/empty_line_after_example.rb lib/rubocop/cop/rspec/file_path.rb lib/rubocop/cop/rspec/hook_argument.rb lib/rubocop/cop/rspec/context_method.rb lib/rubocop/cop/rspec/empty_line_after_hook.rb lib/rubocop/cop/rspec/implicit_block_expectation.rb lib/rubocop/cop/rspec/dialect.rb lib/rubocop/cop/rspec/iterated_expectation.rb lib/rubocop/cop/rspec/pending.rb lib/rubocop/cop/rspec/named_subject.rb lib/rubocop/cop/rspec/leaky_constant_declaration.rb lib/rubocop/cop/rspec/instance_variable.rb lib/rubocop/cop/rspec/not_to_not.rb lib/rubocop/cop/rspec/hooks_before_examples.rb lib/rubocop/cop/rspec/around_block.rb lib/rubocop/cop/rspec/repeated_description.rb lib/rubocop/cop/rspec/expect_actual.rb lib/rubocop/cop/rspec/predicate_matcher.rb lib/rubocop/cop/rspec/multiple_subjects.rb lib/rubocop/cop/rspec/expect_change.rb lib/rubocop/cop/rspec/before_after_all.rb lib/rubocop/cop/rspec/implicit_subject.rb lib/rubocop/cop/rspec/be.rb lib/rubocop/cop/rspec/message_chain.rb lib/rubocop/cop/rspec/missing_example_group_argument.rb lib/rubocop/cop/rspec/receive_never.rb lib/rubocop/cop/rspec/align_left_let_brace.rb lib/rubocop/cop/rspec/focus.rb lib/rubocop/cop/rspec/unspecified_exception.rb lib/rubocop/cop/rspec/implicit_expect.rb lib/rubocop/cop/rspec/yield.rb lib/rubocop/cop/rspec/subject_stub.rb lib/rubocop/cop/rspec/any_instance.rb lib/rubocop/cop/rspec/verified_doubles.rb lib/rubocop/cop/rspec/example_without_description.rb lib/rubocop/cop/rspec/factory_bot/factory_class_name.rb lib/rubocop/cop/rspec/factory_bot/attribute_defined_statically.rb lib/rubocop/cop/rspec/factory_bot/create_list.rb lib/rubocop/cop/rspec/empty_line_after_subject.rb lib/rubocop/cop/rspec/variable_name.rb lib/rubocop/cop/rspec/leading_subject.rb lib/rubocop/cop/rspec/cop.rb lib/rubocop/cop/rspec/empty_line_after_example_group.rb lib/rubocop/cop/rspec/message_expectation.rb lib/rubocop/cop/rspec/let_setup.rb lib/rubocop/cop/rspec/example_wording.rb lib/rubocop/cop/rspec/rails/http_status.rb lib/rubocop/cop/rspec/describe_symbol.rb lib/rubocop/cop/rspec/multiple_expectations.rb lib/rubocop/cop/rspec/described_class.rb lib/rubocop/cop/rspec/repeated_example.rb lib/rubocop/cop/rspec/expect_output.rb lib/rubocop/cop/rspec/described_class_module_wrapping.rb lib/rubocop/cop/rspec/message_spies.rb lib/rubocop/cop/rspec/single_argument_message_chain.rb lib/rubocop/cop/rspec/multiple_describes.rb lib/rubocop/cop/rspec/describe_class.rb lib/rubocop/cop/rspec/expect_in_hook.rb lib/rubocop/cop/rspec/nested_groups.rb lib/rubocop/cop/rspec/shared_examples.rb lib/rubocop/cop/rspec/void_expect.rb lib/rubocop/cop/rspec_cops.rb lib/rubocop/rspec.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 19104 RuboCop::Cop::RSpec::ReturnFromStub 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 `block` ignores dynamic values returned from method ignores string with interpolation returned from method finds concatenated strings with no variables finds static values returned from chained method finds static values returned from method ignores multiple values being returned from method finds nil returned from method finds hash with only static values returned from method with EnforcedStyle `and_return` finds constants returned from block ignores variables return from block finds array with only static values returned from block ignores hash with dynamic values returned from block finds concatenated strings with no variables finds static values returned from block finds static values in a block when there are chained methods ignores stubs without return value finds empty values returned from block handles stubs in a method ignores array with dynamic values returned from block finds hash with only static values returned from block ignores block returning string with interpolation ignores dynamic values returned from block finds nested constants returned from block RuboCop::Cop::RSpec::Pending ignores method called pending ignores it with skip: false metadata flags blocks with skip symbol metadata flags skip blocks flags blocks with pending symbol metadata ignores specify flags xscenario flags xcontext flags describe with skip symbol metadata flags skip inside of an it flags xfeature ignores context ignores feature flags pending blocks ignores it flags xspecify ignores example ignores example_group flags pending examples when receiver is explicit flags blocks with skip: string metadata ignores scenario flags blocks with skip: true metadata flags xit ignores describe flags xexample flags xdescribe 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::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/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 without preferred methods allows all methods blocks config/default.yml has configuration for all cops has descriptions for all cops includes Enabled: true for every cop does not have newlines in cop descriptions ends every description with a period sorts configuration keys alphabetically RuboCop::RSpec::DescriptionExtractor builds a hash of descriptions RuboCop::RSpec::Wording rewrites "should pay for pizza" as "pays for pizza" rewrites "should have sweets" as "has sweets" rewrites "should buy the product" as "buys the product" rewrites "should deploy the app" as "deploys the app" rewrites "should not" as "does not" rewrites "should do nothing" as "does nothing" rewrites "shouldn't be true" as "is not true" rewrites "shouldn't" as "does not" rewrites "should worry about the future" as "worries about the future" rewrites "should amass debt" as "amasses debt" rewrites "should WISH me luck" as "WISHES me luck" rewrites "shouldn't return something" as "does not return something" rewrites "should alias the method" as "aliases the method" rewrites "SHOULDN'T NOT RETAIN UPPERCASE" as "DOES NOT NOT RETAIN UPPERCASE" rewrites "should fizz" as "fizzes" rewrites "should WORRY" as "WORRIES" rewrites "should not return something" as "does not return something" rewrites "SHOULD RETAIN UPPERCASE" as "RETAINS UPPERCASE" rewrites "should echo the input" as "echoes the input" rewrites "SHOULDN'T BE true" as "IS NOT true" rewrites "should wish me luck" as "wishes me luck" rewrites "should return something" as "returns something" rewrites "" as "" rewrites "should really only return one item" as "really only returns one item" rewrites "should miss me" as "misses me" rewrites "should search the internet" as "searches the internet" rewrites "should obey my orders" as "obeys my orders" rewrites "should" as "" rewrites "should fax the document" as "faxes the document" RuboCop::Cop::RSpec::VoidExpect accepts non-void `expect` registers offenses to void `expect` with block accepts non-void `expect` with block registers offenses to void `expect` when block has one expression registers offenses to void `expect` 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::OverwritingSetup finds overwriten `let` finds `let!` overwriting `let` handles string arguments works with `subject!` and `let!` finds overwriten `subject` handles unnamed subjects ignores overwriting in different context handles dynamic names for `let` 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::ExpectActual flags numeric literal values within expect(...) flags hashes containing only literal values within expect(...) flags literal nil value within expect(...) flags with `eql` matcher flags arrays containing only literal values within expect(...) does not flag complex values with dynamic parts within expect(...) flags string and symbol literal values within expect(...) flags regexps containing only literal values within expect(...) flags boolean literal values within expect(...) flags `be ==` flags ranges containing only literal values within expect(...) flags but does not autocorrect violations for other matchers flags with `equal` matcher ignores `be` with no argument flags `be` with an argument does not flag dynamic values within expect(...) 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 inspecting rspec-rails routing specs ignores rspec-rails routing specs RuboCop::Cop::RSpec::RepeatedExample does not flag examples with different implementations 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 does not flag examples when different its arguments are 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/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 RuboCop::Cop::RSpec::ExampleLength allows an empty example ignores comments ignores non-spec blocks allows a short example with CountComments enabled flags the example 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 when inspecting large examples flags the example RuboCop::Cop::RSpec::Yield flags `block.call` with arguments ignores stub when `block.call` is not the only statement flags `block.call` when `receive` is chained flags multiple `block.call` ignores `receive` with no block arguments flags `block.call` flags multiple `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::ExampleWording finds description with `SHOULDN'T` at the beginning skips descriptions without `should` at the beginning finds leading its ignores non-example blocks finds leading it in interpolated description finds description with `shouldn't` at the beginning skips words beginning with 'it' finds interpolated description with `should` at the beginning finds description with `should` at the beginning skips descriptions starting with words that begin with `should` flags \-separated multiline interpolated strings flags a lone should flags \-separated multiline strings skips interpolated description without literal `should` at the start flags a lone should not finds description with `Should` 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/empty_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::MultipleSubjects registers an offense for every overwritten subject does not try to autocorrect subject! autocorrects does not flag shared example groups 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/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb RuboCop::Cop::RSpec::RepeatedExampleGroupBody does not register offense with several docstring registers an offense for several repeated context body does not register offense for example groups in different groups does not register offense if module arg is different registers offense only for example group registers offense for different groups registers an offense for repeated context body registers an offense for when module arg and namespace are identical registers offense only for RSPEC namespace example groups in any order does not register offense if metadata is different does not register offense when module arg namespace is different does not register offense if no descriptions, but different body skips `skip` and `pending` statements registers offense correctly if example groups are separated does not register offense for different block body implementation registers offense only for RSPEC namespace example groups does not register offense for same examples with different data registers offense no descriptions and similar body registers an offense for repeated describe body 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::LeadingSubject checks subject below let handles subjects in contexts checks subject below example checks subject below let with proc argument 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/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::EmptyLineAfterExample flags a missing empty line after `it` flags a missing empty line after `specify` flags one-line examples flags mixed one-line and multi-line examples ignores consecutive one-liners ignores when an empty line is present when AllowConsecutiveOneLiners is false ignores consecutive one-liners 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 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 body ends with a punctuation does not start with a lower case link to related issue on github has a colon and a whitespace at the end has an issue number prefixed with # has a valid URL RuboCop::Cop::RSpec::InstanceVariable flags several instance variables inside a describe flags an instance variable inside a describe flags an instance variable inside a shared example ignores an instance variable without describe ignores an instance variable inside a dynamic class ignores instance variables outside of specs ignores non-spec 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/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 used in a custom matcher ignores instance variables inside `matcher` flags instance variables outside `matcher` ignores instance variables inside `RSpec::Matchers.define` when configured with AssignmentOnly flags an instance variable when it is also assigned ignores an instance variable when it is not assigned flags an instance variable when it is also assigned in a sibling example group RuboCop::Cop::RSpec::LeakyConstantDeclaration module defined flags inside an example group 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 class defined flags inside an example group ignores anonymous classes flags namespaced class constant assignment ignores outside of example/shared group flags inside shared example group flags inside an example flags inside an example group RuboCop::Cop::RSpec::Focus flags rspec example blocks that include `:focus` preceding a hash flags focused block types ignores non-rspec code with :focus blocks flags all rspec example blocks with that include `focus: true` does not flag a method that is focused twice does not flag unfocused specs flags all rspec example blocks that include `:focus` 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::RSpec::ExampleGroup exposes examples in scope RuboCop::Cop::RSpec::LetBeforeExamples does not flag `let` in a nested context flags `let` after `include_examples` flags `let` with proc argument ignores single-line example blocks flags `let` after `context` allows inclusion of context before `let` 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 ` does not flag `let` before the examples flags `let` after `it` 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 RuboCop::Cop::RSpec::EmptyLineAfterSubject approves empty line after subject! checks for empty line after subject checks for empty line after subject! approves empty line after subject handles subject being the latest node handles multiline subject block handles subjects in tests 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/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::EmptyLineAfterHook approves empty line after `after` hook checks for empty line after `before` hook handles `before` being the latest node handles multiline `around` block checks for empty line after `after` hook checks for empty line after `around` hook handles multiline `after` block approves empty line after `before` hook approves empty line after `around` hook handles multiline `before` 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/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::RSpec::Example extracts method doc string returns nil for examples without doc strings extracts implementation extracts keywords returns node extracts doc string extracts symbol doc string extracts interpolated doc string extracts doc string for unimplemented examples value object semantics compares by value computes #hash based on class and node can be used as a key in a hash RuboCop::Cop::RSpec::MissingExampleGroupArgument checks first argument of context accepts describe with an argument checks first argument of nested describe checks first argument of describe accepts methods with a name like an example block 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 Project requires alphabetizes cop requires RuboCop::Cop::RSpec::NamedSubject 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 `it` and `specify` for explicit subject usage checks before and after for explicit subject usage checks around(:each) for explicit subject usage 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/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when IgnoreSharedExamples is true ignores explicit subject in shared_examples behaves like checking subject outside of shared examples checks `it` and `specify` for explicit subject usage checks before and after for explicit subject usage checks around(:each) for explicit subject usage ignores subject when not wrapped inside a test RuboCop::Cop::RSpec::DescribeSymbol flags violations for `RSpec.describe :symbol` flags violations for `describe :symbol` flags violations for `describe :symbol` with multiple arguments does not flag `context :symbol` flags violations for a nested `describe` does not flag non-Symbol 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/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::ExpectOutput does not flag assignments to $stdout in example_group scope does not flag assignments to $stdout outside of example scope registers an offense for overwriting $stdout within an example registers an offense for overwriting $stderr within an example scoped hook does not flag assignments to other global variables does not register an offense for interacting with $stdout does not flag assigns to $stdout when in the root scope 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 RuboCop::Cop::RSpec::BeforeAfterAll when using after all 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/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 using before all registers an offense when using after each does not register an offense when using before each does not register an offense RuboCop::Cop::RSpec::FactoryBot::CreateList when EnforcedStyle is :create_list ignores n.times with argument autocorrects `5.times { create :user }` to `create_list :user, 5` autocorrects `5.times { create(:user, :trait) }` to `create_list(:user, 5, :trait)` ignores create method of other object ignores create in other block ignores n.times when there is other calls but create autocorrects `5.times { FactoryGirl.create :user }` to `FactoryGirl.create_list :user, 5` flags FactoryGirl.create calls with a block ignores n.times when there is no create call inside flags usage of n.times with no arguments flags usage of n.times when FactoryBot.create is used autocorrects ` 3.times do create(:user, :trait) { |user| create :account, user: user } end ` to ` create_list(:user, 3, :trait) { |user| create :account, user: user } ` flags usage of n.times when FactoryGirl.create is used autocorrects `5.times { create :user, :trait, key: val }` to `create_list :user, 5, :trait, key: val` 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 ` 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 EnforcedStyle is :n_times flags usage of create_list flags usage of FactoryGirl.create_list with a block ignores create method of other object autocorrects `create_list(:user, 5, :trait)` to `5.times { create(:user, :trait) }` 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 }` flags usage of FactoryGirl.create_list RuboCop::Cop::RSpec::Capybara::FeatureMethods autocorrects ` describe Foo do scenario { } end ` to ` describe Foo do it { } end ` autocorrects ` describe Foo do given(:foo) { } end ` to ` describe Foo do let(:foo) { } end ` flags violations for `background` ignores feature calls outside spec flags violations for `feature` autocorrects ` describe Foo do given!(:foo) { } end ` to ` describe Foo do let!(:foo) { } end ` allows includes before the spec autocorrects ` describe Foo do RSpec.feature { } end ` to ` describe Foo do RSpec.describe { } end ` flags violations for `given!` flags violations for `scenario` flags violations for `given` ignores variables inside examples autocorrects ` describe Foo do background { } end ` to ` describe Foo do before { } end ` flags violations for `xscenario` autocorrects ` describe Foo do xscenario { } end ` to ` describe Foo do xit { } end ` 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 configured `EnabledMethods` flags other methods ignores usage of the enabled method RuboCop::Cop::RSpec::MessageChain finds old `stub_chain` syntax finds `receive_message_chain` 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::InvalidPredicateMatcher registers an offense for double question with `to_not` accepts valid predicate matcher registers an offense for double question registers an offense for double question with `have_something?` registers an offense for double question with `not_to` 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::AroundBlock when used as a block arg does not register an offense 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/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when #call is called does not register an offense when passed to another method does not register an offense when no value is yielded registers an offense when #run is called does not register an offense when the yielded value is unused registers an offense when two values are yielded and the first is unused registers an offense for the first argument when yielded to another block does not register an offense when the yielded value is referenced but not used registers an offense when the hook is scoped with a symbol registers an offense when a method other than #run or #call is called registers an offense RuboCop::Cop::RSpec::FilePath allows different parent directories allows bang method registers an offense for a bad path checks class specs registers an offense for a wrong class and highlights metadata checks class methods uses relative path skips specs that do have multiple top level describes uses relative path for sibling directory project allows flexibility with predicates allows subdirs for instance methods allows flexibility with operators allows flat hierarchies for instance methods allows flat hierarchies for class methods registers an offense for a wrong class but a correct method ignores non-alphanumeric characters checks instance methods handles ALLCAPS class names registers an offense for a wrong class name uses relative path for different path project registers an offense for a wrong class name with a symbol argument registers an offense for a file missing _spec handles alphanumeric class names handles CamelCaps class names handles ACRONYMClassNames allows subdirs for class methods registers an offense for a repeated .rb registers an offense for a file missing a .rb skips specs that do not describe a class / method when configured with CustomTransform ignores routing specs respects custom module name transformation when configured with IgnoreMethods does not care about the described 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/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 SpecSuffixOnly registers an offense when _spec.rb suffix is missing does not care about the described class RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically 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 ` registers an offense in a transient block does not add offense if method called on a local variable registers an offense in a trait accepts valid traits_for_enum definition accepts valid association definitions accepts valid sequence definition registers an offense for an attribute defined on `self` registers an offense for attributes defined on explicit receiver registers an offense for offending code does not add offense if out of factory bot block does not add offense if method called on another object accepts valid factory definitions 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 RuboCop::Cop::RSpec::NestedGroups support --auto-gen-config flags nested contexts ignores non-spec context methods counts nesting correctly when non-spec nesting when Max is configured as 2 flags two levels of nesting 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 configured with MaxNesting emits a deprecation warning RuboCop::Cop::RSpec::MultipleExpectations generates a todo based on the worst violation 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 with Max configuration permits two expectations flags three expectations without configuration counts every aggregate_failures as an expectation counts aggregate_failures as one expectation flags multiple expect_any_instance_of flags multiple is_expected flags multiple expects with blocks approves of one expectation per example flags multiple expectations with metadata ignores example groups with `:aggregate_failures` ignores examples with `aggregate_failures: true` ignores example groups with `aggregate_failures: true` ignores examples with `:aggregate_failures` prefers example metadata over example group metadata checks examples with `aggregate_failures: false` checks example groups with `aggregate_failures: false` checks examples with siblings with `aggregate_failures: true` ignores examples with `aggregate_failures: true` defined deeply Weirdness should not do the thing isnt a simple string uses a matcher example at ./spec/smoke_tests/weird_rspec_spec.rb:176 example at ./spec/smoke_tests/weird_rspec_spec.rb:36 has a description too is empty is expecting you not to raise an error works is expecting you It does a thing example at ./spec/smoke_tests/weird_rspec_spec.rb:37 isnt a simple string it does a thing example at ./spec/smoke_tests/weird_rspec_spec.rb:51 has chained expectations example at ./spec/smoke_tests/weird_rspec_spec.rb:130 quotes a string weird who who lets the word 'who' be 'who' likes likes lets the word 'likes' be 'likes' dynamic dynamic lets the word 'dynamic' be 'dynamic' examples examples lets the word 'examples' be 'examples' RuboCop::Cop::RSpec::ExampleWithoutDescription with EnforcedStyle `single_line_only` flags example with an empty string for description ignores missing description in single-line examples flags missing description in multi-line examples with EnforcedStyle `disallow` flags missing description in multi-line examples flags missing description in single-line examples ignores `it` with a description 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 with EnforcedStyle `always_allow` ignores `it` without an argument ignores `it` with a description flags empty strings for description RuboCop::Cop::RSpec::EmptyLineAfterExampleGroup checks for empty line after describe checks for empty line after context approves empty line after context handles describes in an if block approves 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/factory_bot_spec.rb does not crash on smoke test: spec/smoke_tests/weird_rspec_spec.rb RuboCop::Cop::RSpec::UnspecifiedException with raise_exception matcher allows classes with blocks with do/end allows exception classes allows empty exception specification when not expecting an error allows exception types with messages allows parameterized exceptions allows exception messages allows exception types with matching regular expressions allows exception matching regular expressions allows classes with blocks with braces detects the `unspecified_exception` offense with raise_error matcher allows exception messages allows empty exception specification when not expecting an error allows classes with blocks with braces allows exception types with matching regular expressions allows exception matching regular expressions allows exception classes detects the `unspecified_exception` offense allows classes with blocks with do/end allows parameterized exceptions allows exception types with messages 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::RepeatedDescription does not flag different descriptions in different iterators does not flag tests which do not contain description strings does not flag examples with same metadata and different description registers offense for repeated description in different iterators ignores descriptions repeated in a shared context registers offense for repeated description and metadata does not flag examples if metadata is different does not flag different methods used as docstring registers offense if same method used in docstring registers offense for repeated descriptions separated by a context does not flag descriptions with different interpolated variables ignores repeated descriptions in a nested context registers an offense for repeated descriptions registers offense for repeated description in same iterator 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::Cop when the source path ends with `_spec.rb` ignores the file if it is ignored 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 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 the source path starts with `spec/` registers an offense when the source path contains `/spec/` registers an offense when custom patterns are specified registers offenses when the path matches a custom specified pattern RuboCop::Cop::RSpec::SharedContext shared_context registers an offense for shared_context with only examples 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 empty contexts does not register an offense for `shared_context` with 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/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 shared_examples registers an offense for shared_examples with only hooks does not register an offense for `shared_examples` with it does not register an offense for empty examples registers an offense for shared_examples with only let registers an offense for shared_examples with only subject RuboCop::Cop::RSpec::SubjectStub flags one-line expectcation syntax flags chain stubs flags multiple-method stubs ignores stub within context where subject name changed flags nested subject stubs when nested subject uses same name flags nested subject stubs when example group does not define subject flags stub inside all matcher flags when an unnamed subject is mocked flags an expectation made on an unnamed subject flags when there are several top level example groups flags when an implicit subject is mocked ignores nested stubs when nested subject is anonymous flags when subject is mocked flags when subject is stubbed and there are several named subjects in the same example group flags when subject is stubbed flags spy subject stubs flags nested subject stubs when adjacent context redefines flags nested subject stubs flags deeply nested subject stubs flags negated runners top level example groups flags in top level xcontext flags in top level fdescribe flags in top level shared_examples_for flags in top level xdescribe flags in top level xfeature flags in top level example_group flags in top level shared_examples flags in top level shared_context flags in top level describe flags in top level feature flags in top level fcontext flags in top level ffeature flags in top level context 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/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_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/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::VariableDefinition 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 `symbols` registers an offense for interpolated string registers an offense for string name does not register offense for symbol names registers an offense for multiline string when EnforcedStyle is `strings` does not register offense for string names registers an offense for interpolated symbol registers an offense for symbol name RuboCop::Cop::RSpec::ScatteredLet works with heredocs flags scattered `let!`s flags `let` at different nesting levels flags `let` after the first different node doesnt flag `let!` in the middle of multiple `let`s flags `let` with proc argument 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::HookArgument when EnforcedStyle is :implicit generates a todo based on the detected style generates a todo based on the detected style generates a todo based on the detected style autocorrects `config.before { }` to `config.before { }` detects :each for hooks autocorrects `config.before(:example) { }` to `config.before { }` ignores :context and :suite ignores non-rspec hooks autocorrects `config.before(:each) { }` to `config.before { }` detects :example for hooks autocorrects `before(:example) { }` to `before { }` ignores hooks with more than one argument does not flag hooks without default scopes autocorrects `before(:each) { }` to `before { }` autocorrects `before { }` to `before { }` when EnforcedStyle is :each generates a todo based on the detected style ignores hooks with more than one argument detects hooks without default scopes generates a todo based on the detected style autocorrects `config.before { }` to `config.before(:each) { }` ignores :context and :suite autocorrects `config.before(:each) { }` to `config.before(:each) { }` autocorrects `before(:each) { }` to `before(:each) { }` autocorrects `before { }` to `before(:each) { }` autocorrects `config.before(:example) { }` to `config.before(:each) { }` ignores non-rspec hooks detects :example for hooks autocorrects `before(:example) { }` to `before(:each) { }` detects :each for hooks generates a todo based on the detected style when EnforcedStyle is :example ignores hooks with more than one argument does not flag hooks without default scopes generates a todo based on the detected style autocorrects `config.before { }` to `config.before(:example) { }` autocorrects `before(:example) { }` to `before(:example) { }` autocorrects `before(:each) { }` to `before(:example) { }` detects :each for hooks autocorrects `config.before(:each) { }` to `config.before(:example) { }` ignores non-rspec hooks detects :example for hooks autocorrects `config.before(:example) { }` to `config.before(:example) { }` ignores :context and :suite generates a todo based on the detected style generates a todo based on the detected style autocorrects `before { }` to `before(:example) { }` 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::DescribeClass doesn't flag top level describe in a shared example supports ::RSpec.describe ignores an empty describe checks highlights the first argument of a describe supports RSpec.describe flags specs with non :type metadata ignores feature specs - also with complex options ignores nested describe statements checks first-line describe statements ignores system specs flags normal metadata in describe ignores view specs ignores feature specs doesn't blow up on single-line describes doesn't flag top level describe in a shared context ignores routing specs doesn't flag top level describe in an unnamed shared context ignores feature specs when RSpec.describe is used checks describe statements after a require ignores request specs 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 argument is a String literal ignores class without namespace ignores value constants ignores value constants with namespace ignores class with namespace checks empty strings ignores top-level constants with `::` at start checks `camelCase` checks numbers at start RuboCop::Cop::RSpec::SingleArgumentMessageChain stub_chain reports single-argument calls reports single-argument string calls accepts multi-argument calls accepts multi-argument string calls receive_message_chain accepts multi-argument string calls reports single-argument string calls accepts multi-argument calls accepts single-argument calls with send node accepts single-argument calls with variable reports single-argument calls with single-key hash argument reports an offense with multiple-element array argument doesn't report an offense with multiple keys hash argument doesn't report an offense with single-element array argument reports an offense 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::BeEql registers an offense for `eql` when argument is a boolean registers an offense for `eql` when argument is nil registers an offense for `eql` when argument is an integer registers an offense for `eql` when argument is a float registers an offense for `eql` when argument is a symbol does not register an offense for `eql` when argument is a string does not register an offense for `eql` when expectation is negated 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::VerifiedDoubles ignores instance_doubles ignores doubles that have no name specified finds a `double` instead of an `instance_double` when configured not to ignore nameless doubles flags doubles that have no name specified 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 configured to ignore symbolic names still flags doubles whose name is a string ignores doubles whose name is a symbol when configuration does not specify IgnoreSymbolicNames finds a `spy` instead of an `instance_spy` find doubles whose name is a symbol is insane RuboCop::Cop::RSpec::AlignLeftLetBrace does not register offense for let with proc argument registers offense for unaligned braces works with empty file 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::ScatteredSetup ignores different hooks ignores hooks in different shared contexts flags multiple hooks in the same example group flags multiple hooks of the same scope with different symbols ignores hooks in different example groups ignores similar method names inside of examples flags multiple before(:all) hooks in the same example group ignores different hook types flags hooks with similar metadata ignores hooks with different 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::PredicateMatcher when enforced style is `inflected` when strict is false autocorrects `expect(foo.empty?).to_not be_truthy` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).to eq(true)` to `expect(foo).to be_empty` registers an offense for a predicate method with built-in equiv registers an offense for a predicate method in actual autocorrects `expect(foo.all? { present }).to be_truthy` to `expect(foo).to be_all { present }` autocorrects `expect(foo.empty?).to be(false)` to `expect(foo).not_to be_empty` registers an offense for a predicate method in actual autocorrects `expect(foo.empty?).to be(true)` to `expect(foo).to be_empty` registers an offense for a predicate method with a block 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?).not_to be_truthy` 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 ` registers an offense for a predicate method with argument autocorrects `expect(foo.all? { }).to be_truthy` to `expect(foo).to be_all { }` autocorrects `expect(foo.all? do; end).to be_truthy` to `expect(foo).to be_all do; end` autocorrects `expect(foo.has_key?("foo")).to be_truthy` to `expect(foo).to have_key("foo")` accepts a predicate method that is not ckeced true/false accepts non-predicate method autocorrects `expect(foo.instance_of?(Array)).to be_truthy` to `expect(foo).to be_an_instance_of(Array)` autocorrects `expect(foo.empty?).to be_falsey` 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? }` autocorrects `expect(foo.empty?).to eq(false)` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).not_to be_falsey` to `expect(foo).to be_empty` autocorrects `expect(foo.respond_to?(:bar)).to be_truthy` to `expect(foo).to respond_to(:bar)` autocorrects `expect(foo.empty?).not_to be(false)` to `expect(foo).to be_empty` autocorrects `expect(foo.empty?).not_to be(true)` to `expect(foo).not_to be_empty` autocorrects `expect(foo.exists?).to be_truthy` to `expect(foo).to exist` autocorrects `expect(foo.all? { |x| x.present? }).to be_truthy` to `expect(foo).to be_all { |x| x.present? }` autocorrects `expect(foo.has_something?).not_to be_truthy` to `expect(foo).not_to have_something` autocorrects `expect(foo.has_something?).to be_truthy` to `expect(foo).to have_something` autocorrects `expect(foo.empty?).not_to a_truthy_value` to `expect(foo).not_to be_empty` autocorrects `expect(foo.empty?).to be_truthy` 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.something?()).to be_truthy` to `expect(foo).to be_something()` when strict is true accepts a predicate method that is not ckeced true/false autocorrects `expect(foo.instance_of?(Array)).to be_truthy` to `expect(foo).to be_an_instance_of(Array)` autocorrects `expect(foo.is_a?(Array)).to be_truthy` to `expect(foo).to be_a(Array)` registers an offense for a predicate method with a block autocorrects `expect(foo.empty?).to be_truthy` to `expect(foo).to be_empty` autocorrects `expect(foo.something?()).to be_truthy` to `expect(foo).to be_something()` autocorrects `expect(foo.has_key?("foo")).to be_truthy` to `expect(foo).to have_key("foo")` autocorrects `expect(foo.empty?).not_to be_truthy` 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.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.all? { }).to be_truthy` to `expect(foo).to be_all { }` accepts strict checking boolean matcher autocorrects `expect(foo.include?(something)).to be_truthy` to `expect(foo).to include(something)` autocorrects `expect(foo.empty?).not_to be_falsey` 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.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.empty?).to be_falsey` to `expect(foo).not_to be_empty` autocorrects `expect(foo.has_something?).not_to be_truthy` to `expect(foo).not_to have_something` registers an offense for a predicate method with built-in equiv autocorrects `expect(foo.respond_to?(:bar)).to be_truthy` to `expect(foo).to respond_to(:bar)` autocorrects `expect(foo.something? 1, 2).to be_truthy` to `expect(foo).to be_something 1, 2` accepts non-predicate method autocorrects `expect(foo.empty?).to_not be_truthy` 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.has_something?).to be_truthy` to `expect(foo).to have_something` 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 a_truthy_value` to `expect(foo).not_to be_empty` registers an offense for a predicate method in actual 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 enforced style is `explicit` when strict is true accepts built in matchers autocorrects `expect(foo).to be_a(Array)` to `expect(foo.is_a?(Array)).to be(true)` autocorrects `expect(foo).to be_all { }` to `expect(foo.all? { }).to be(true)` accepts non-predicate matcher registers an offense for a predicate mather with argument registers an offense for a predicate matcher with a block autocorrects `expect(foo).not_to be_something` to `expect(foo.something?).to be(false)` 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_something(1)` to `expect(foo.something?(1)).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_all do; end` to `expect(foo.all? do; end).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_something(1, 2)` to `expect(foo.something?(1, 2)).to be(true)` autocorrects `expect(foo).to have_something` to `expect(foo.has_something?).to be(true)` autocorrects `expect(foo).to be_all { |x| x.present? }` to `expect(foo.all? { |x| x.present? }).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_instance_of(Array)` to `expect(foo.instance_of?(Array)).to be(true)` autocorrects `expect(foo).to be_all { present }` to `expect(foo.all? { present }).to be(true)` autocorrects `expect(foo).to be_something` to `expect(foo.something?).to be(true)` when custom matchers are allowed accepts custom allowed explicit matchers when strict is false autocorrects `expect(foo).to be_all { }` to `expect(foo.all? { }).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_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 autocorrects `expect(foo).to be_instance_of(Array)` to `expect(foo.instance_of?(Array)).to be_truthy` autocorrects `expect(foo).to be_something(1)` to `expect(foo.something?(1)).to be_truthy` accepts non-predicate matcher registers an offense for a predicate mather with argument 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_truthy` autocorrects `expect(foo).to have_something` to `expect(foo.has_something?).to be_truthy` autocorrects `expect(foo).to be_a(Array)` to `expect(foo.is_a?(Array)).to be_truthy` autocorrects `expect(foo).to be_all do; end` to `expect(foo.all? do; end).to be_truthy` 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()` to `expect(foo.something?()).to be_truthy` autocorrects `expect(foo).to be_something` to `expect(foo.something?).to be_truthy` autocorrects `expect(foo).to be_something 1, 2` to `expect(foo.something? 1, 2).to be_truthy` accepts built in matchers autocorrects `expect(foo).to be_all { present }` to `expect(foo.all? { present }).to be_truthy` when custom matchers are allowed accepts custom allowed explicit matchers RuboCop::Cop::RSpec::MultipleDescribes skips single top level describe finds multiple top level describes only with class finds multiple top level describes with class and method 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::ImplicitSubject with EnforcedStyle `single_line_only` allows `should` in single-line examples detects usage of `is_expected` inside helper methods allows `is_expected` in single-line examples does not flag methods called is_expected and should flags `is_expected` in multi-line examples flags `should` in multi-line examples allows `is_expected` inside `its` block, in multi-line examples with EnforcedStyle `disallow` flags `is_expected` in single-line examples allows `is_expected` inside `its` block flags `should` in multi-line examples flags `should` in single-line examples flags `is_expected` in multi-line examples with EnforcedStyle `single_statement_only` flags `is_expected` in multi-statement examples allows `is_expected` in multi-line example with single statement 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::DescribeMethod skips methods starting with a . or # ignores describes with only a class enforces non-method names skips specs not having a string second argument 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::MessageSpies when EnforcedStyle is have_received flags expect(...).not_to receive flags expect(...).to receive at_most flags expect(send).to receive approves of expect(...).to have_received flags expect(...).to receive with flags expect(const).to receive generates a todo based on the detected style flags expect(lvar).to receive flags expect(...).to_not receive generates a todo based on the detected style flags expect(ivar).to receive 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 receive flags expect(const).to have_received flags expect(ivar).to have_received flags expect(...).to have_received with flags expect(...).to have_received at_most flags expect(lvar).to have_received flags expect(...).not_to have_received generates a todo based on the detected style generates a todo based on the detected style flags expect(...).to_not have_received flags expect(send).to have_received approves of expect(...).to receive RuboCop::Cop::RSpec::ExpectChange with EnforcedStyle `block` flags change matcher without block flags change matcher when receiver is a variable ignores methods called change flags implicit block expectation syntax with EnforcedStyle `method_call` ignores blocks that cannot be converted to obj/attribute pair flags blocks that contain simple message sending ignores change method of object that happens to receive a block flags implicit block expectation syntax 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::ReceiveCounts flags usage of `exactly(1).times` with a block flags usage of `at_most(2).times` flags usage of `at_least(2).times` with a block allows exactly(1).times when not called on `receive` flags usage of `at_least(2).times` allows `exactly(3).times` flags usage of `at_least(1).times` flags usage of `exactly(1).times` flags usage of `exactly(1).times` with return value flags usage of `at_most(1).times` flags usage of `exactly(2).times` allows `exactly(n).times` flags usage of `exactly(1).times` after `with` autocorrects `expect(foo).to have_published_event(:bar).exactly(2).times` to `expect(foo).to have_published_event(:bar).exactly(2).times` 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::AlignRightLetBrace does not register offense for let with proc argument works with empty file registers offense for unaligned braces 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::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/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 RubocopBug has an expectation has a single example RuboCop::Cop::RSpec::ImplicitBlockExpectation ignores normal local subject flags with `should` as implicit subject flags with `should_not` as implicit subject flags lambda in subject! ignores when there is no subject defined flags lambda in subject flags when subject is defined in the outer example group flags named subject flags literal lambda ignores non-lambda subject flags Proc.new flags proc ignores named subject with deeply nested lambda 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/weird_rspec_spec.rb does not crash on smoke test: spec/smoke_tests/empty_spec.rb RuboCop::Cop::RSpec::VariableName when configured for `camelCase` when `let` registers an offense for snake_case does not register offense for camelCase when `subject!` does not register offense for camelCase registers an offense for snake_case when `subject` does not register offense for camelCase registers an offense for snake_case when `let!` does not register offense for camelCase registers an offense for snake_case when configured for `snake_case` when `subject` does not register offense for snake_case registers an offense for camelCase when `subject!` does not register offense for snake_case registers an offense for camelCase when `let` with symbol names does not register offense for interpolated symbol registers offense with multiple lets registers an offense for camelCase registers an offense for PascalCase does not register an offense for snake_case when `let` with proc registers offense when `let!` registers an offense for camelCase does not register offense for snake_case when `let` with string names does not register offense for interpolated string registers an offense for kebab-case does not register an offense for snake_case registers an offense for camelCase 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::ImplicitExpect when EnforcedStyle is is_expected approves of is_expected.to generates a todo based on the detected style approves of is_expected.not_to flags it { should } flags it { should_not } approves of is_expected.to_not 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/empty_spec.rb does not crash on smoke test: spec/smoke_tests/no_tests_spec.rb when EnforcedStyle is should approves of should flags it { is_expected.not_to } approves of should_not flags it { is_expected.to_not } generates a todo based on the detected style flags it { is_expected.to } generates a todo based on the detected style RuboCop::Cop::RSpec::ReceiveNever flags usage of `never` flags usage of `never` with `is_expected` flags usage of `never` after `with` flags usage of `never` with `expect_any_instance_of` allows method called `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/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::HooksBeforeExamples does not flag hooks before the examples flags `before` after `include_examples` does not flag `before` in a nested context flags `before` after `context` flags `after` after an example ignores single-line example blocks flags scoped hook after an example allows inclusion of context before hooks flags `before` after `it` 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::ItBehavesLike 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 when the enforced style is `it_should_behave_like` flags a violation for it_behaves_like does not flag a violation for it_behaves_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/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::LetSetup complains when let! is used and not referenced within nested group complains when let! is used and not referenced in shared example group ignores let! when used in `before` complains when there is a custom nesting level complains when there is only one nested node into example group complains when let! is used and not referenced complains when let! used in shared example including ignores let! when used in 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/no_tests_spec.rb does not crash on smoke test: spec/smoke_tests/factory_bot_spec.rb RuboCop::Cop::RSpec::RepeatedExampleGroupDescription registers offense only for RSPEC namespace example groups registers offense correctly for interpolated docstrings registers offense only for RSPEC namespace example groups in any order does not register offense for example group without descriptions register offense if same method used in docstring does not register offense for different block descriptions registers an offense for repeated context descriptions considers different classes as different descriptions considers interpolated docstrings as different descriptions registers offense only for example group register offense for different example group with similar descriptions registers an offense for repeated describe descriptions registers offense correctly if example groups are separated does not register offense for describe block with several docstring registers an offense with right pointing to lines of code does not register offense for describe block with additional docstring 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 RuboCop::Cop::RSpec::Rails::HttpStatus 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 EnforcedStyle is `symbolic` 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 }` does not register an offense when using custom HTTP code registers an offense when using numeric value does not register an offense when using symbolic value 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) }` when EnforcedStyle is `numeric` autocorrects `it { is_expected.to have_http_status :ok }` to `it { is_expected.to have_http_status 200 }` does not register an offense when using numeric value registers an offense when using symbolic value autocorrects `it { is_expected.to have_http_status :not_found }` to `it { is_expected.to have_http_status 404 }` does not register an offense when using allowed symbols with parenthesis autocorrects `it { is_expected.to have_http_status(:ok) }` to `it { is_expected.to have_http_status(200) }` autocorrects `it { is_expected.to have_http_status(:not_found) }` to `it { is_expected.to have_http_status(404) }` RuboCop::Cop::RSpec::DescribedClass when EnforcedStyle is :explicit ignores violations within a hook scope change ignores described_class as string flags the use of the described_class autocorrects corresponding ignores violations within a class scope change ignores describe that do not reference to a class when EnforcedStyle is :described_class ignores non-matching namespace defined on `describe` level ignores violations within a class scope change takes class from innermost describe ignores if `described_class` is a part of the constant ignores describe that do not reference to a class ignores violations within a hook scope change ignores if a local variable is part of the namespace ignores described class as string flags for the use of the described class ignores subclasses ignores non-matching namespace flags the use of described class with module ignores class if the scope is changing ignores non-matching namespace in usages flags with metadata accepts an empty block flags the use of described class with nested namespace flags the use of described class with namespace 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 when SkipBlocks is `true` ignores violations within non-rspec blocks when SkipBlocks is `false` flags violations within all blocks RuboCop::Cop::RSpec::EmptyLineAfterFinalLet allows comment followed by an empty line after let ignores empty lines between the lets handles HEREDOC for let flags missing empty line after a multiline comment after last let approves empty line after let checks for empty line after last let handles let being the latest node checks for empty line after let with proc argument handles silly HEREDOC offense flags missing empty line after the comment that comes after last let check for empty line after the last `let!` handles multiline let block handles silly HEREDOC syntax for let handles let in tests 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::Hook extracts name #knowable_scope? knows the scope of a hook with no argument knows the scope of a hook with hash metadata does not break if a hook is not given a symbol literal knows the scope of a hook with a symbol literal #metadata withstands no arguments extracts hash metadata with no scope given combines symbol and hash metadata extracts hash metadata extracts symbol metadata #scope interprets after(:suite) { } as having scope suite defaults to example hook with hash metadata interprets after { } as having scope each classifies :each as an example hook interprets around(:context) { } as having scope context interprets before(:all) { } as having scope context ignores other arguments to hooks interprets around(:example) { } as having scope each interprets before(:each) { } as having scope each RuboCop::Cop::RSpec::IteratedExpectation ignore `each` when the body does not contain only expectations flags `each` with an expectation ignores assignments in the iteration flags `each` with multiple expectations ignores `each` when there is a negative expectation ignores `each` without expectation ignores `each` with expectation on property flags `each` when expectation calls method 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/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::DescribedClassModuleWrapping registers an offense when RSpec.describe is nested within a module allows a module that does not contain RSpec.describe allows a describe block in the outermost scope registers an offense when RSpec.describe is nested within two modules 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 RuboCop::Cop::RSpec::MessageExpectation 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 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 flags allow(...).to receive generates a todo based on the detected style approves of expect(...).to receive generates a todo based on the detected style RuboCop::Cop::RSpec::Capybara::VisibilityMatcher does not register an offense when using `visible: :visible` does not register an offense when no options are given` registers an offense when using `visible: true` does not register an offense when using `visible: :hidden` registers an offense when using a using multiple options` registers an offense when using a selector` does not register an offense when using other options does not register an offense when using `visible: :all` registers an offense when using `visible: false` recognizes multiple matchers does not register an offense when 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/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 RuboCop::Cop::RSpec::InstanceSpy when not used with `have_received` does not add an offence 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 with `have_received` adds an offense for an instance_double with single argument adds an offense for an instance_double with multiple arguments ignores instance_double when it is not used with as_null_object RuboCop::Cop::RSpec::FactoryBot::FactoryClassName 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 passing block flags passing a subclass ignores passing class name flags passing a class ignores passing Hash flags passing a class from global namespace ignores passing OpenStruct when not passing block flags passing a class ignores passing class name RuboCop::Cop::RSpec::ContextWording finds context without `when` at the beginning finds context without separate `when` at the beginning finds shared_context without `when` at the beginning skips describe blocks skips descriptions beginning with 'when' 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 with symbol metadata finds context without separate `when` at the beginning when configured finds context without allowed prefixes at the beginning skips descriptions with allowed prefixes at the beginning with mixed metadata finds context without separate `when` at the beginning with metadata hash finds context without separate `when` at the beginning RuboCop::Cop::RSpec::NotToNot when EnforcedStyle is `not_to` detects the `to_not` offense detects the `to_not` offense on an expect block detects no offense when using `not_to` 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 AcceptedMethod is `to_not` detects the `not_to` offense detects no offense when using `to_not` detects the `not_to` offense on an expect block RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation 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(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(page.current_path).to match("string/")` to `expect(page).to have_current_path(/string\//)` doesn't flag a violation for other expectations autocorrects `expect(page.current_path).to eq(foo(bar).path)` to `expect(page).to have_current_path(foo(bar).path, ignore_query: true)` autocorrects `expect(page.current_path)` to `expect(page.current_path)` flags violations for `expect(current_path)` autocorrects `expect(current_path).not_to eq expected_path` to `expect(page).to have_no_current_path expected_path, ignore_query: true` flags violations for `expect(page.current_path)` autocorrects `expect(page.current_path).to match(/regexp/i)` to `expect(page).to have_current_path(/regexp/i)` 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` doesn't flag a violation for other references to `current_path` autocorrects `expect(current_path).to(eq(expected_path))` to `expect(page).to(have_current_path(expected_path, ignore_query: true))` 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::ExpectInHook accepts `expect` in `it` accepts an empty `before` hook adds an offense for `expect` in `before` hook adds an offense for `expect` in `after` hook accepts `allow` in `before` hook adds an offense for `expect` in `around` hook adds an offense for `expect` with block in `before` hook 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::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/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::RSpec::Language::SelectorSet composes sets compares by value #send_pattern builds a send matching pattern #node_pattern builds a node pattern #node_pattern_union builds a node pattern union #block_pattern builds a block matching pattern #include? returns true for selectors in the set returns false for selectors not in the set RuboCop::RSpec::ConfigFormatter builds a YAML dump with spacing between cops RuboCop::Cop::RSpec::EmptyHook with `around` hook accepts multiline `around` hook accepts non-empty `around` hook detects offense for empty `around` with `prepend_before` hook accepts non-empty `prepend_before` hook accepts multiline `prepend_before` hook detects offense for empty `prepend_before` 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 with `prepend_after` hook accepts multiline `prepend_after` hook accepts non-empty `prepend_after` hook detects offense for empty `prepend_after` with `append_after` hook accepts non-empty `append_after` hook detects offense for empty `append_after` accepts multiline `append_after` hook with `append_before` hook accepts non-empty `append_before` hook accepts multiline `append_before` hook detects offense for empty `append_before` with `before` hook detects offense for empty `before` with :all scope detects offense for empty `before` with :context scope detects offense for empty `before` with :example scope accepts multiline `before` hook autocorrects `before` with semicolon accepts non-empty `before` hook detects offense for empty `before` with :suite scope detects offense for empty `before` with :each scope detects offense for empty `before` with `after` hook accepts non-empty `after` hook detects offense for empty `after` accepts multiline `after` hook RuboCop::Cop::RSpec::EmptyExampleGroup flags an empty context flags an empty top level describe does not flag methods matching example group names does not flag include_examples does not recognize custom include methods by default 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/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::AnyInstance finds old `any_instance` syntax instead of an instance double finds `expect_any_instance_of` instead of an instance double finds `allow_any_instance_of` 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/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 Finished in 14.19 seconds (files took 2.94 seconds to load) 1499 examples, 0 failures Randomized with seed 19104 ┌──────────────────────────────────────────────────────────────────────────────┐ │ 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-1o96shdyl I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.lJlqXllE8S... I: success in 320.2954 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