0s autopkgtest [17:08:46]: starting date and time: 2025-11-17 17:08:46+0000 0s autopkgtest [17:08:46]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:08:46]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.48ki3vbo/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-diff-lcs --apt-upgrade ruby-rspec --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-diff-lcs/1.6.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-7.secgroup --name adt-resolute-amd64-ruby-rspec-20251117-162848-juju-7f2275-prod-proposed-migration-environment-20-e1ab4ef5-2bad-4351-bebf-3af2cf58f5cc --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-ruby-rspec-20251117-162848-juju-7f2275-prod-proposed-migration-environment-20-e1ab4ef5-2bad-4351-bebf-3af2cf58f5cc from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 9762b0cc-7c5b-4854-acd5-cc74ad0de8c6)... 42s autopkgtest [17:09:28]: testbed dpkg architecture: amd64 42s autopkgtest [17:09:28]: testbed apt version: 3.1.11 43s autopkgtest [17:09:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup 43s autopkgtest [17:09:29]: testbed release detected to be: None 43s autopkgtest [17:09:29]: updating testbed package index (apt update) 44s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 44s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 44s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 44s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 44s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 44s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 44s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 44s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 44s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [113 kB] 44s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [153 kB] 44s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3236 B] 44s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 44s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 44s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 44s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [254 kB] 44s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [543 kB] 45s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [20.1 kB] 45s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 45s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 45s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 46s Fetched 2149 kB in 1s (1533 kB/s) 47s Reading package lists... 48s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 48s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 48s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 48s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 48s Reading package lists... 48s Reading package lists... 48s Building dependency tree... 48s Reading state information... 49s Calculating upgrade... 49s The following packages will be upgraded: 49s apt libapt-pkg7.0 libcrypt-dev libcrypt1 libunwind8 usbutils 49s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Need to get 2978 kB of archives. 49s After this operation, 46.1 kB of additional disk space will be used. 49s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB] 49s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt1 amd64 1:4.5.1-1 [90.7 kB] 49s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.12 [1148 kB] 49s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.12 [1474 kB] 49s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 49s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libunwind8 amd64 1.8.3-0ubuntu1 [59.6 kB] 49s dpkg-preconfigure: unable to re-open stdin: No such file or directory 49s Fetched 2978 kB in 1s (4910 kB/s) 49s (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 ... 83372 files and directories currently installed.) 49s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_amd64.deb ... 49s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 50s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_amd64.deb ... 50s Unpacking libcrypt1:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 50s Setting up libcrypt1:amd64 (1:4.5.1-1) ... 50s (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 ... 83372 files and directories currently installed.) 50s Preparing to unpack .../libapt-pkg7.0_3.1.12_amd64.deb ... 50s Unpacking libapt-pkg7.0:amd64 (3.1.12) over (3.1.11) ... 50s Preparing to unpack .../archives/apt_3.1.12_amd64.deb ... 50s Unpacking apt (3.1.12) over (3.1.11) ... 50s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 50s Unpacking usbutils (1:019-1) over (1:018-2) ... 50s Preparing to unpack .../libunwind8_1.8.3-0ubuntu1_amd64.deb ... 50s Unpacking libunwind8:amd64 (1.8.3-0ubuntu1) over (1.8.1-0.1ubuntu1) ... 50s Setting up libunwind8:amd64 (1.8.3-0ubuntu1) ... 50s Setting up usbutils (1:019-1) ... 50s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ... 50s Setting up libapt-pkg7.0:amd64 (3.1.12) ... 50s Setting up apt (3.1.12) ... 50s Processing triggers for man-db (2.13.1-1) ... 51s Processing triggers for libc-bin (2.42-2ubuntu2) ... 51s autopkgtest [17:09:37]: upgrading testbed (apt dist-upgrade and autopurge) 52s Reading package lists... 52s Building dependency tree... 52s Reading state information... 52s Calculating upgrade... 52s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 52s Reading package lists... 52s Building dependency tree... 52s Reading state information... 53s Solving dependencies... 53s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s autopkgtest [17:09:39]: rebooting testbed after setup commands that affected boot 80s autopkgtest [17:10:06]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 82s autopkgtest [17:10:08]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec 85s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (dsc) [4082 B] 85s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [413 kB] 85s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [221 kB] 85s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [209 kB] 85s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [79.7 kB] 85s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [6953 B] 85s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [925 kB] 85s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (diff) [12.4 kB] 85s gpgv: Signature made Wed Feb 28 20:50:19 2024 UTC 85s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 85s gpgv: issuer "kanashiro@debian.org" 85s gpgv: Can't check signature: No public key 85s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec_3.13.0c0e0m0s1-2.dsc: no acceptable signature found 85s dpkg-source: warning: required removal of 'rspec' installed by original tarball 85s dpkg-source: warning: required removal of 'rspec-core' installed by original tarball 85s dpkg-source: warning: required removal of 'rspec-expectations' installed by original tarball 85s dpkg-source: warning: required removal of 'rspec-mocks' installed by original tarball 85s dpkg-source: warning: required removal of 'rspec-support' installed by original tarball 85s autopkgtest [17:10:11]: testing package ruby-rspec version 3.13.0c0e0m0s1-2 85s autopkgtest [17:10:11]: build not needed 86s autopkgtest [17:10:12]: test gem2deb-test-runner: preparing testbed 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 86s Solving dependencies... 86s The following NEW packages will be installed: 86s coderay cucumber gem2deb-test-runner git git-man liberror-perl libjs-jquery 86s libruby libruby3.3 libxslt1.1 racc rake ruby ruby-aruba ruby-builder 86s ruby-childprocess ruby-coderay ruby-contracts ruby-csv ruby-cucumber-core 86s ruby-cucumber-wire ruby-did-you-mean ruby-diff-lcs ruby-fakefs ruby-ffi 86s ruby-flexmock ruby-gherkin ruby-json ruby-metaclass ruby-mini-portile2 86s ruby-minitest ruby-mocha ruby-multi-json ruby-multi-test ruby-net-telnet 86s ruby-nokogiri ruby-pkg-config ruby-power-assert ruby-rr ruby-rspec 86s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 86s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-thor ruby-thread-order 86s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 86s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 86s Need to get 14.4 MB of archives. 86s After this operation, 72.1 MB of additional disk space will be used. 86s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 86s Get:2 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-builder all 3.2.4-2 [17.1 kB] 86s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 rubygems-integration all 1.19 [5550 B] 86s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 rake all 13.2.1-1 [45.8 kB] 86s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-csv all 3.3.4-1 [43.0 kB] 86s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 86s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 86s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-ruby2-keywords all 0.0.5-1 [4280 B] 86s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-webrick all 1.9.1-1 [60.8 kB] 86s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 86s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby3.3 amd64 3.3.8-2ubuntu2 [5986 kB] 87s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby3.3 amd64 3.3.8-2ubuntu2 [59.0 kB] 87s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libruby amd64 1:3.3 [5164 B] 87s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 87s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby amd64 1:3.3 [3666 B] 87s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-gherkin all 4.0.0-4 [22.8 kB] 87s Get:17 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-cucumber-core all 1.5.0-3 [22.6 kB] 87s Get:18 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-cucumber-wire all 0.0.1-3 [7892 B] 87s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 ruby-diff-lcs all 1.6.2-1 [23.1 kB] 87s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-multi-json all 1.15.0-1 [16.1 kB] 87s Get:21 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-multi-test all 1.1.0-1 [4540 B] 87s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 cucumber all 2.4.0-5 [100 kB] 87s Get:23 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-minitest all 5.25.4-3 [48.8 kB] 87s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-power-assert all 2.0.5-1 [12.0 kB] 87s Get:25 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 87s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 87s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 liberror-perl all 0.17030-1 [23.5 kB] 87s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 87s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 git amd64 1:2.51.0-1ubuntu1 [4414 kB] 87s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libxslt1.1 amd64 1.1.43-0.3 [172 kB] 87s Get:31 http://ftpmaster.internal/ubuntu resolute/universe amd64 racc all 1.8.1-2 [71.5 kB] 87s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-ffi amd64 1.17.2+dfsg-1 [103 kB] 87s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-childprocess all 4.1.0-3ubuntu1 [23.8 kB] 87s Get:34 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-contracts all 0.17.2-1 [21.3 kB] 87s Get:35 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 87s Get:36 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 87s Get:37 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-thor all 1.4.0-1 [50.4 kB] 87s Get:38 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-aruba all 2.1.0-3 [44.4 kB] 87s Get:39 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-coderay all 1.1.3-8 [78.5 kB] 87s Get:40 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-fakefs all 3.0.4-1 [31.6 kB] 87s Get:41 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-flexmock all 3.0.2-1 [44.3 kB] 87s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 ruby-json amd64 2.15.2+dfsg-1 [74.5 kB] 87s Get:43 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-metaclass all 0.0.4-2 [4094 B] 87s Get:44 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 87s Get:45 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-mocha all 2.4.2-2 [40.0 kB] 87s Get:46 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-pkg-config all 1.5.9-1 [8710 B] 87s Get:47 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-nokogiri amd64 1.18.2+dfsg-1build1 [264 kB] 87s Get:48 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rr all 3.1.2-1 [33.1 kB] 87s Get:49 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 87s Get:50 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 87s Get:51 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 87s Get:52 http://ftpmaster.internal/ubuntu resolute/universe amd64 ruby-thread-order all 1.1.1-1 [5812 B] 87s Get:53 http://ftpmaster.internal/ubuntu resolute/universe amd64 coderay all 1.1.3-8 [9054 B] 87s Fetched 14.4 MB in 1s (18.4 MB/s) 87s Selecting previously unselected package libjs-jquery. 87s (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 ... 83372 files and directories currently installed.) 87s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 87s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 87s Selecting previously unselected package ruby-builder. 87s Preparing to unpack .../01-ruby-builder_3.2.4-2_all.deb ... 87s Unpacking ruby-builder (3.2.4-2) ... 87s Selecting previously unselected package rubygems-integration. 87s Preparing to unpack .../02-rubygems-integration_1.19_all.deb ... 87s Unpacking rubygems-integration (1.19) ... 87s Selecting previously unselected package rake. 87s Preparing to unpack .../03-rake_13.2.1-1_all.deb ... 87s Unpacking rake (13.2.1-1) ... 87s Selecting previously unselected package ruby-csv. 87s Preparing to unpack .../04-ruby-csv_3.3.4-1_all.deb ... 87s Unpacking ruby-csv (3.3.4-1) ... 87s Selecting previously unselected package ruby-did-you-mean. 87s Preparing to unpack .../05-ruby-did-you-mean_1.6.3-2_all.deb ... 87s Unpacking ruby-did-you-mean (1.6.3-2) ... 87s Selecting previously unselected package ruby-net-telnet. 87s Preparing to unpack .../06-ruby-net-telnet_0.2.0-1_all.deb ... 87s Unpacking ruby-net-telnet (0.2.0-1) ... 87s Selecting previously unselected package ruby-ruby2-keywords. 87s Preparing to unpack .../07-ruby-ruby2-keywords_0.0.5-1_all.deb ... 87s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 87s Selecting previously unselected package ruby-webrick. 87s Preparing to unpack .../08-ruby-webrick_1.9.1-1_all.deb ... 87s Unpacking ruby-webrick (1.9.1-1) ... 87s Selecting previously unselected package ruby-xmlrpc. 87s Preparing to unpack .../09-ruby-xmlrpc_0.3.3-2_all.deb ... 87s Unpacking ruby-xmlrpc (0.3.3-2) ... 87s Selecting previously unselected package libruby3.3:amd64. 87s Preparing to unpack .../10-libruby3.3_3.3.8-2ubuntu2_amd64.deb ... 87s Unpacking libruby3.3:amd64 (3.3.8-2ubuntu2) ... 88s Selecting previously unselected package ruby3.3. 88s Preparing to unpack .../11-ruby3.3_3.3.8-2ubuntu2_amd64.deb ... 88s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 88s Selecting previously unselected package libruby:amd64. 88s Preparing to unpack .../12-libruby_1%3a3.3_amd64.deb ... 88s Unpacking libruby:amd64 (1:3.3) ... 88s Selecting previously unselected package ruby-rubygems. 88s Preparing to unpack .../13-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 88s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 88s Selecting previously unselected package ruby. 88s Preparing to unpack .../14-ruby_1%3a3.3_amd64.deb ... 88s Unpacking ruby (1:3.3) ... 88s Selecting previously unselected package ruby-gherkin. 88s Preparing to unpack .../15-ruby-gherkin_4.0.0-4_all.deb ... 88s Unpacking ruby-gherkin (4.0.0-4) ... 88s Selecting previously unselected package ruby-cucumber-core. 88s Preparing to unpack .../16-ruby-cucumber-core_1.5.0-3_all.deb ... 88s Unpacking ruby-cucumber-core (1.5.0-3) ... 88s Selecting previously unselected package ruby-cucumber-wire. 88s Preparing to unpack .../17-ruby-cucumber-wire_0.0.1-3_all.deb ... 88s Unpacking ruby-cucumber-wire (0.0.1-3) ... 88s Selecting previously unselected package ruby-diff-lcs. 88s Preparing to unpack .../18-ruby-diff-lcs_1.6.2-1_all.deb ... 88s Unpacking ruby-diff-lcs (1.6.2-1) ... 88s Selecting previously unselected package ruby-multi-json. 88s Preparing to unpack .../19-ruby-multi-json_1.15.0-1_all.deb ... 88s Unpacking ruby-multi-json (1.15.0-1) ... 88s Selecting previously unselected package ruby-multi-test. 88s Preparing to unpack .../20-ruby-multi-test_1.1.0-1_all.deb ... 88s Unpacking ruby-multi-test (1.1.0-1) ... 88s Selecting previously unselected package cucumber. 88s Preparing to unpack .../21-cucumber_2.4.0-5_all.deb ... 88s Unpacking cucumber (2.4.0-5) ... 88s Selecting previously unselected package ruby-minitest. 88s Preparing to unpack .../22-ruby-minitest_5.25.4-3_all.deb ... 88s Unpacking ruby-minitest (5.25.4-3) ... 88s Selecting previously unselected package ruby-power-assert. 88s Preparing to unpack .../23-ruby-power-assert_2.0.5-1_all.deb ... 88s Unpacking ruby-power-assert (2.0.5-1) ... 88s Selecting previously unselected package ruby-test-unit. 88s Preparing to unpack .../24-ruby-test-unit_3.6.2-1_all.deb ... 88s Unpacking ruby-test-unit (3.6.2-1) ... 88s Selecting previously unselected package gem2deb-test-runner. 88s Preparing to unpack .../25-gem2deb-test-runner_2.2.5_amd64.deb ... 88s Unpacking gem2deb-test-runner (2.2.5) ... 88s Selecting previously unselected package liberror-perl. 88s Preparing to unpack .../26-liberror-perl_0.17030-1_all.deb ... 88s Unpacking liberror-perl (0.17030-1) ... 88s Selecting previously unselected package git-man. 88s Preparing to unpack .../27-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 88s Unpacking git-man (1:2.51.0-1ubuntu1) ... 88s Selecting previously unselected package git. 88s Preparing to unpack .../28-git_1%3a2.51.0-1ubuntu1_amd64.deb ... 88s Unpacking git (1:2.51.0-1ubuntu1) ... 88s Selecting previously unselected package libxslt1.1:amd64. 88s Preparing to unpack .../29-libxslt1.1_1.1.43-0.3_amd64.deb ... 88s Unpacking libxslt1.1:amd64 (1.1.43-0.3) ... 88s Selecting previously unselected package racc. 88s Preparing to unpack .../30-racc_1.8.1-2_all.deb ... 88s Unpacking racc (1.8.1-2) ... 88s Selecting previously unselected package ruby-ffi:amd64. 88s Preparing to unpack .../31-ruby-ffi_1.17.2+dfsg-1_amd64.deb ... 88s Unpacking ruby-ffi:amd64 (1.17.2+dfsg-1) ... 88s Selecting previously unselected package ruby-childprocess. 88s Preparing to unpack .../32-ruby-childprocess_4.1.0-3ubuntu1_all.deb ... 88s Unpacking ruby-childprocess (4.1.0-3ubuntu1) ... 88s Selecting previously unselected package ruby-contracts. 88s Preparing to unpack .../33-ruby-contracts_0.17.2-1_all.deb ... 88s Unpacking ruby-contracts (0.17.2-1) ... 88s Selecting previously unselected package ruby-rspec-support. 88s Preparing to unpack .../34-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-expectations. 88s Preparing to unpack .../35-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-thor. 88s Preparing to unpack .../36-ruby-thor_1.4.0-1_all.deb ... 88s Unpacking ruby-thor (1.4.0-1) ... 88s Selecting previously unselected package ruby-aruba. 88s Preparing to unpack .../37-ruby-aruba_2.1.0-3_all.deb ... 88s Unpacking ruby-aruba (2.1.0-3) ... 88s Selecting previously unselected package ruby-coderay. 88s Preparing to unpack .../38-ruby-coderay_1.1.3-8_all.deb ... 88s Unpacking ruby-coderay (1.1.3-8) ... 88s Selecting previously unselected package ruby-fakefs. 88s Preparing to unpack .../39-ruby-fakefs_3.0.4-1_all.deb ... 88s Unpacking ruby-fakefs (3.0.4-1) ... 88s Selecting previously unselected package ruby-flexmock. 88s Preparing to unpack .../40-ruby-flexmock_3.0.2-1_all.deb ... 88s Unpacking ruby-flexmock (3.0.2-1) ... 88s Selecting previously unselected package ruby-json:amd64. 88s Preparing to unpack .../41-ruby-json_2.15.2+dfsg-1_amd64.deb ... 88s Unpacking ruby-json:amd64 (2.15.2+dfsg-1) ... 88s Selecting previously unselected package ruby-metaclass. 88s Preparing to unpack .../42-ruby-metaclass_0.0.4-2_all.deb ... 88s Unpacking ruby-metaclass (0.0.4-2) ... 88s Selecting previously unselected package ruby-mini-portile2. 88s Preparing to unpack .../43-ruby-mini-portile2_2.8.7-1_all.deb ... 88s Unpacking ruby-mini-portile2 (2.8.7-1) ... 88s Selecting previously unselected package ruby-mocha. 88s Preparing to unpack .../44-ruby-mocha_2.4.2-2_all.deb ... 88s Unpacking ruby-mocha (2.4.2-2) ... 88s Selecting previously unselected package ruby-pkg-config. 88s Preparing to unpack .../45-ruby-pkg-config_1.5.9-1_all.deb ... 88s Unpacking ruby-pkg-config (1.5.9-1) ... 88s Selecting previously unselected package ruby-nokogiri. 88s Preparing to unpack .../46-ruby-nokogiri_1.18.2+dfsg-1build1_amd64.deb ... 88s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 88s Selecting previously unselected package ruby-rr. 88s Preparing to unpack .../47-ruby-rr_3.1.2-1_all.deb ... 88s Unpacking ruby-rr (3.1.2-1) ... 88s Selecting previously unselected package ruby-rspec-core. 88s Preparing to unpack .../48-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-mocks. 88s Preparing to unpack .../49-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec. 88s Preparing to unpack .../50-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-thread-order. 88s Preparing to unpack .../51-ruby-thread-order_1.1.1-1_all.deb ... 88s Unpacking ruby-thread-order (1.1.1-1) ... 88s Selecting previously unselected package coderay. 88s Preparing to unpack .../52-coderay_1.1.3-8_all.deb ... 88s Unpacking coderay (1.1.3-8) ... 88s Setting up ruby-rr (3.1.2-1) ... 88s Setting up ruby-multi-json (1.15.0-1) ... 88s Setting up ruby-ruby2-keywords (0.0.5-1) ... 88s Setting up ruby-fakefs (3.0.4-1) ... 88s Setting up ruby-power-assert (2.0.5-1) ... 88s Setting up ruby-mini-portile2 (2.8.7-1) ... 88s Setting up ruby-thread-order (1.1.1-1) ... 88s Setting up rubygems-integration (1.19) ... 88s Setting up liberror-perl (0.17030-1) ... 88s Setting up ruby-minitest (5.25.4-3) ... 88s Setting up ruby-test-unit (3.6.2-1) ... 88s Setting up ruby-net-telnet (0.2.0-1) ... 88s Setting up ruby-csv (3.3.4-1) ... 88s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-contracts (0.17.2-1) ... 88s Setting up ruby-webrick (1.9.1-1) ... 88s Setting up ruby-flexmock (3.0.2-1) ... 88s Setting up ruby-multi-test (1.1.0-1) ... 88s Setting up ruby-builder (3.2.4-2) ... 88s Setting up libxslt1.1:amd64 (1.1.43-0.3) ... 88s Setting up git-man (1:2.51.0-1ubuntu1) ... 88s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 88s Setting up ruby-did-you-mean (1.6.3-2) ... 88s Setting up ruby-xmlrpc (0.3.3-2) ... 88s Setting up git (1:2.51.0-1ubuntu1) ... 88s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 88s Setting up rake (13.2.1-1) ... 88s Setting up libruby3.3:amd64 (3.3.8-2ubuntu2) ... 88s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 88s Setting up libruby:amd64 (1:3.3) ... 88s Setting up ruby (1:3.3) ... 88s Setting up racc (1.8.1-2) ... 88s Setting up ruby-thor (1.4.0-1) ... 88s Setting up ruby-json:amd64 (2.15.2+dfsg-1) ... 88s Setting up ruby-pkg-config (1.5.9-1) ... 88s Setting up ruby-coderay (1.1.3-8) ... 88s Setting up ruby-gherkin (4.0.0-4) ... 88s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-ffi:amd64 (1.17.2+dfsg-1) ... 88s Setting up ruby-diff-lcs (1.6.2-1) ... 88s Setting up ruby-cucumber-wire (0.0.1-3) ... 88s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 88s Setting up ruby-metaclass (0.0.4-2) ... 88s Setting up ruby-cucumber-core (1.5.0-3) ... 88s Setting up gem2deb-test-runner (2.2.5) ... 88s Setting up coderay (1.1.3-8) ... 88s Setting up ruby-childprocess (4.1.0-3ubuntu1) ... 88s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-mocha (2.4.2-2) ... 88s Setting up cucumber (2.4.0-5) ... 88s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-aruba (2.1.0-3) ... 88s Processing triggers for man-db (2.13.1-1) ... 89s Processing triggers for libc-bin (2.42-2ubuntu2) ... 90s autopkgtest [17:10:16]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 90s autopkgtest [17:10:16]: test gem2deb-test-runner: [----------------------- 90s 90s ┌──────────────────────────────────────────────────────────────────────────────┐ 90s │ Checking Rubygems dependency resolution on ruby3.3 │ 90s └──────────────────────────────────────────────────────────────────────────────┘ 90s 90s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec\" 90s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-core\" 90s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-expectations\" 91s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-mocks\" 91s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-support\" 91s 91s ┌──────────────────────────────────────────────────────────────────────────────┐ 91s │ Run tests for ruby3.3 from debian/ruby-tests.rb │ 91s └──────────────────────────────────────────────────────────────────────────────┘ 91s 91s RUBYLIB=. GEM_PATH= ruby3.3 debian/ruby-tests.rb 91s 91s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 91s ∙ rspec-core ∙ 91s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 91s 91s cd rspec-core 91s /usr/bin/ruby3.3 -S rspec spec/integration/bisect_runners_spec.rb spec/integration/bisect_spec.rb spec/integration/fail_if_no_examples_spec.rb spec/integration/failed_line_detection_spec.rb spec/integration/filtering_spec.rb spec/integration/order_spec.rb spec/integration/output_stream_spec.rb spec/integration/persistence_failures_spec.rb spec/integration/suite_hooks_errors_spec.rb spec/rspec/core/aggregate_failures_spec.rb spec/rspec/core/backtrace_formatter_spec.rb spec/rspec/core/bisect/coordinator_spec.rb spec/rspec/core/bisect/example_minimizer_spec.rb spec/rspec/core/bisect/server_spec.rb spec/rspec/core/bisect/shell_command_spec.rb spec/rspec/core/bisect/shell_runner_spec.rb spec/rspec/core/bisect/utilities_spec.rb spec/rspec/core/configuration/only_failures_support_spec.rb spec/rspec/core/configuration_options_spec.rb spec/rspec/core/did_you_mean_spec.rb spec/rspec/core/drb_spec.rb spec/rspec/core/dsl_spec.rb spec/rspec/core/example_execution_result_spec.rb spec/rspec/core/example_group_constants_spec.rb spec/rspec/core/example_group_spec.rb spec/rspec/core/example_spec.rb spec/rspec/core/example_status_persister_spec.rb spec/rspec/core/failed_example_notification_spec.rb spec/rspec/core/filter_manager_spec.rb spec/rspec/core/filterable_item_repository_spec.rb spec/rspec/core/formatters/base_text_formatter_spec.rb spec/rspec/core/formatters/console_codes_spec.rb spec/rspec/core/formatters/deprecation_formatter_spec.rb spec/rspec/core/formatters/documentation_formatter_spec.rb spec/rspec/core/formatters/exception_presenter_spec.rb spec/rspec/core/formatters/failure_list_formatter_spec.rb spec/rspec/core/formatters/fallback_message_formatter_spec.rb spec/rspec/core/formatters/helpers_spec.rb spec/rspec/core/formatters/html_formatter_spec.rb spec/rspec/core/formatters/html_snippet_extractor_spec.rb spec/rspec/core/formatters/json_formatter_spec.rb spec/rspec/core/formatters/profile_formatter_spec.rb spec/rspec/core/formatters/progress_formatter_spec.rb spec/rspec/core/formatters/snippet_extractor_spec.rb spec/rspec/core/formatters/syntax_highlighter_spec.rb spec/rspec/core/formatters_spec.rb spec/rspec/core/hooks_filtering_spec.rb spec/rspec/core/hooks_spec.rb spec/rspec/core/invocations_spec.rb spec/rspec/core/memoized_helpers_spec.rb spec/rspec/core/metadata_filter_spec.rb spec/rspec/core/metadata_spec.rb spec/rspec/core/notifications_spec.rb spec/rspec/core/option_parser_spec.rb spec/rspec/core/ordering_spec.rb spec/rspec/core/output_wrapper_spec.rb spec/rspec/core/pending_example_spec.rb spec/rspec/core/pending_spec.rb spec/rspec/core/profiler_spec.rb spec/rspec/core/project_initializer_spec.rb spec/rspec/core/rake_task_spec.rb spec/rspec/core/reporter_spec.rb spec/rspec/core/resources/a_spec.rb spec/rspec/core/resources/acceptance/foo_spec.rb spec/rspec/core/rspec_matchers_spec.rb spec/rspec/core/ruby_project_spec.rb spec/rspec/core/runner_spec.rb spec/rspec/core/set_spec.rb spec/rspec/core/shared_context_spec.rb spec/rspec/core/shared_example_group_spec.rb spec/rspec/core/suite_hooks_spec.rb spec/rspec/core/warnings_spec.rb spec/rspec/core/world_spec.rb 91s mv lib lib.off 91s Run options: exclude {:ruby=>#} 91s 91s Randomized with seed 13123 97s .............................................................................................................................................................................................................................................................................................................................................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*................................................................................................................................... 97s 97s Pending: (Failures listed here are expected and do not affect your suite's status) 97s 97s 1) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually 97s # lib/mathn.rb is deprecated in Ruby 2.2 97s # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 97s 97s 2) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group 97s # Cannot maintain this and provide full `:example_group` backwards compatibility (see GH #1490):( 97s Failure/Error: expect(b[:description]).to eq("new description") 97s 97s expected: "new description" 97s got: "group" 97s 97s (compared using ==) 97s 97s 3) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string 97s # lib/mathn.rb is deprecated in Ruby 2.2 97s # ./spec/rspec/core/formatters/helpers_spec.rb:64 97s 97s Finished in 5.44 seconds (files took 0.35978 seconds to load) 97s 1869 examples, 0 failures, 3 pending 97s 97s Randomized with seed 13123 97s 97s mv lib.off lib 97s cd - 97s 97s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 97s ∙ rspec-expectations ∙ 97s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 97s 97s cd rspec-expectations 97s /usr/bin/ruby3.3 -S rspec spec/rspec/expectations/block_snippet_extractor_spec.rb spec/rspec/expectations/configuration_spec.rb spec/rspec/expectations/expectation_target_spec.rb spec/rspec/expectations/extensions/kernel_spec.rb spec/rspec/expectations/fail_with_spec.rb spec/rspec/expectations/failure_aggregator_spec.rb spec/rspec/expectations/handler_spec.rb spec/rspec/expectations/minitest_integration_spec.rb spec/rspec/expectations/syntax_spec.rb spec/rspec/expectations_spec.rb spec/rspec/matchers/aliased_matcher_spec.rb spec/rspec/matchers/aliases_spec.rb spec/rspec/matchers/built_in/all_spec.rb spec/rspec/matchers/built_in/base_matcher_spec.rb spec/rspec/matchers/built_in/be_between_spec.rb spec/rspec/matchers/built_in/be_instance_of_spec.rb spec/rspec/matchers/built_in/be_kind_of_spec.rb spec/rspec/matchers/built_in/be_spec.rb spec/rspec/matchers/built_in/be_within_spec.rb spec/rspec/matchers/built_in/captures_spec.rb spec/rspec/matchers/built_in/change_spec.rb spec/rspec/matchers/built_in/compound_spec.rb spec/rspec/matchers/built_in/contain_exactly_spec.rb spec/rspec/matchers/built_in/cover_spec.rb spec/rspec/matchers/built_in/eq_spec.rb spec/rspec/matchers/built_in/eql_spec.rb spec/rspec/matchers/built_in/equal_spec.rb spec/rspec/matchers/built_in/exist_spec.rb spec/rspec/matchers/built_in/has_spec.rb spec/rspec/matchers/built_in/have_attributes_spec.rb spec/rspec/matchers/built_in/include_spec.rb spec/rspec/matchers/built_in/match_spec.rb spec/rspec/matchers/built_in/operators_spec.rb spec/rspec/matchers/built_in/output_spec.rb spec/rspec/matchers/built_in/raise_error_spec.rb spec/rspec/matchers/built_in/respond_to_spec.rb spec/rspec/matchers/built_in/satisfy_spec.rb spec/rspec/matchers/built_in/start_and_end_with_spec.rb spec/rspec/matchers/built_in/throw_symbol_spec.rb spec/rspec/matchers/built_in/yield_spec.rb spec/rspec/matchers/composable_spec.rb spec/rspec/matchers/define_negated_matcher_spec.rb spec/rspec/matchers/description_generation_spec.rb spec/rspec/matchers/dsl_spec.rb spec/rspec/matchers/english_phrasing_spec.rb spec/rspec/matchers/legacy_spec.rb spec/rspec/matchers/multi_matcher_diff_spec.rb spec/rspec/matchers_spec.rb 97s mv lib lib.off 97s 97s Randomized with seed 48256 98s ...........................................................................................................................................................F...................................................................................................................................................................................................................................................F...F.********..............FF....F...F.............................................................................F..............................F.........F.F.......................F....F.FF..FF............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 98s 98s Pending: (Failures listed here are expected and do not affect your suite's status) 98s 98s 1) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:101 98s 98s 2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target doesn't have a key and we expect nil 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:89 98s 98s 3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:82 98s 98s 4) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key fuzzily matched 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:78 98s 98s 5) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:95 98s 98s 6) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target does not support count constraint 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:157 98s 98s 7) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff for fuzzy matchers 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:129 98s 98s 8) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key 98s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 98s # ./spec/rspec/matchers/built_in/include_spec.rb:74 98s 98s Failures: 98s 98s 1) #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected 98s Failure/Error: 98s expect { 98s expect(person).to have_attributes(:name => correct_name, :age => wrong_age) 98s }.to fail_including(expected_diff) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "@@ -1 +1 @@\n-:age => 11,\n+:age => 33,", got # 11,\n+:age => 33,\n :name => \"Correct name\",\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:176:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 98s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 98s 98s 2) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to perform custom key checks like downcasing behaves like a Hash target provides a valid diff 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1 +1 @@\n-:bar => 3,\n+:bar => 2,", got # 2, :foo => 1} to include {:bar => 3}\nDiff:\n@@ -1,2 +1,2 @@\n-:bar => 3,\n+:bar => 2,\n :foo => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s 98s 3) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to perform custom key checks like downcasing behaves like a Hash target provides a valid diff for fuzzy matchers 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,3 +1,3 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+:bar => 2,\n+:foo => 1,", got # 2, :foo => 1} to include {:bar => 3}\nDiff:\n@@ -1,2 +1,2 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+:bar => 2,\n+:foo => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s 98s 4) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to treat string/symbol keys interchangeably, but returns a raw hash from #to_hash behaves like a Hash target provides a valid diff 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,3 +1,3 @@\n-:bar => 3,\n-:foo => 1,\n+\"bar\" => 2,\n+\"foo\" => 1,", got # 2, \"foo\" => 1} to include {:foo... 1, :bar => 3}\nDiff:\n@@ -1,2 +1,2 @@\n-:bar => 3,\n-:foo => 1,\n+\"bar\" => 2,\n+\"foo\" => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s 98s 5) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to treat string/symbol keys interchangeably, but returns a raw hash from #to_hash behaves like a Hash target provides a valid diff for fuzzy matchers 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,3 +1,3 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+\"bar\" => 2,\n+\"foo\" => 1,", got # 2, \"foo\" => 1} to include {:bar...> 3}\nDiff:\n@@ -1,2 +1,2 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+\"bar\" => 2,\n+\"foo\" => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s 98s 6) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff for fuzzy matchers 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,3 +1,3 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+:bar => 2,\n+:foo => 1,", got # 2, :foo => 1} to include {:bar => 3}\nDiff:\n@@ -1,2 +1,2 @@\n-(match /FOO/i) => 1,\n-:bar => 3,\n+:bar => 2,\n+:foo => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 98s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 98s 98s 7) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff 98s Failure/Error: 98s expect { 98s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 98s }.to fail_including(failure_string) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1 +1 @@\n-:bar => 3,\n+:bar => 2,", got # 2, :foo => 1} to include {:bar => 3}\nDiff:\n@@ -1,2 +1,2 @@\n-:bar => 3,\n+:bar => 2,\n :foo => 1,\n"> with backtrace: 98s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 98s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 98s 98s 8) RSpec::Matchers::BuiltIn::Compound when chaining many matchers together fails with complete diffs if its matchers are diffable 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to matcher 98s |bug 98s |squash 98s EOS 98s }.to fail do |error| 98s expect(error.message).to include(expected_failure) 98s end 98s 98s expected " expected \"bug\\nsquash\" to include \"bar\"\n\n...and:\n\n expected \"bug\\nsquash\" to inc... +1,2 @@\n-buzz\n+bug\n+squash\n\nDiff for (include \"foo\"):\n@@ -1 +1,2 @@\n-foo\n+bug\n+squash\n" to include " expected \"bug\\nsquash\" to include \"bar\"\n\n...and:\n\n expected \"bug\\nsquash\" to inc... +1,3 @@\n-buzz\n+bug\n+squash\n\nDiff for (include \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+bug\n+squash" 98s Diff: 98s @@ -1 +1,26 @@ 98s - expected "bug\nsquash" to include "bar"\n\n...and:\n\n expected "bug\nsquash" to include "buzz"\n\n ...or:\n\n expected "bug\nsquash" to include "foo"\nDiff for (include "bar"):\n@@ -1,2 +1,3 @@\n-bar\n+bug\n+squash\n\nDiff for (include "buzz"):\n@@ -1,2 +1,3 @@\n-buzz\n+bug\n+squash\n\nDiff for (include "foo"):\n@@ -1,2 +1,3 @@\n-foo\n+bug\n+squash 98s + expected "bug\nsquash" to include "bar" 98s + 98s +...and: 98s + 98s + expected "bug\nsquash" to include "buzz" 98s + 98s + ...or: 98s + 98s + expected "bug\nsquash" to include "foo" 98s +Diff for (include "bar"): 98s +@@ -1 +1,2 @@ 98s +-bar 98s ++bug 98s ++squash 98s + 98s +Diff for (include "buzz"): 98s +@@ -1 +1,2 @@ 98s +-buzz 98s ++bug 98s ++squash 98s + 98s +Diff for (include "foo"): 98s +@@ -1 +1,2 @@ 98s +-foo 98s ++bug 98s ++squash 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:931:in `block (3 levels) in ' 98s 98s 9) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when first matcher is diffable fails with a message containing diff for first matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bug 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including " expected \"baz\\nbug\" to a string including \"foo\"\n\n...or:\n\n expected:... (compared using ==)\n\nDiff for (a string including \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bug", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:800:in `block (5 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 98s 98s 10) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when second matcher is diffable fails with a message containing diff for second matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bug 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including " expected: 35\n got: \"baz\\nbug\"\n\n (compared using ==)\n\n...or:\n...string including \"foo\"\nDiff for (a string including \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bug", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:833:in `block (5 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 98s 98s 11) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when both matchers are diffable fails with a message containing diffs for both matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bug 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including " expected \"baz\\nbug\" to a string including \"foo\"\n\n...or:\n\n expected ...@@\n-foo\n+baz\n+bug\n\nDiff for (a string including \"buzz\"):\n@@ -1,2 +1,3 @@\n-buzz\n+baz\n+bug", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:869:in `block (5 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 98s 98s 12) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the second matcher is diffable fails with a message containing a diff for second matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bar 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including " expected: 35\n got: \"baz\\nbar\"\n\n (compared using ==)\n\n...and:\...string including \"foo\"\nDiff for (a string including \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bar", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:502:in `block (6 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 98s 98s 13) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable fails with a message containing diffs for both matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bug 98s EOS 98s }.to fail do |error| 98s expect(error.message).to include(expected_failure) 98s end 98s 98s expected " expected \"baz\\nbug\" to include \"bar\"\n\n...and:\n\n expected \"baz\\nbug\" to include \"fo...\n@@ -1 +1,2 @@\n-bar\n+baz\n+bug\n\nDiff for (include \"foo\"):\n@@ -1 +1,2 @@\n-foo\n+baz\n+bug\n" to include " expected \"baz\\nbug\" to include \"bar\"\n\n...and:\n\n expected \"baz\\nbug\" to include \"fo...@@ -1,2 +1,3 @@\n-bar\n+baz\n+bug\n\nDiff for (include \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bug" 98s Diff: 98s @@ -1 +1,16 @@ 98s - expected "baz\nbug" to include "bar"\n\n...and:\n\n expected "baz\nbug" to include "foo"\nDiff for (include "bar"):\n@@ -1,2 +1,3 @@\n-bar\n+baz\n+bug\n\nDiff for (include "foo"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bug 98s + expected "baz\nbug" to include "bar" 98s + 98s +...and: 98s + 98s + expected "baz\nbug" to include "foo" 98s +Diff for (include "bar"): 98s +@@ -1 +1,2 @@ 98s +-bar 98s ++baz 98s ++bug 98s + 98s +Diff for (include "foo"): 98s +@@ -1 +1,2 @@ 98s +-foo 98s ++baz 98s ++bug 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:537:in `block (5 levels) in ' 98s 98s 14) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable when matcher transforms the actual when the matcher redefines `actual` shows the redefined value in diff 98s Failure/Error: 98s expect { 98s expect( 98s "HELLO\nWORLD" 98s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 98s }.to fail do |error| 98s expect(error.message).to include(expected_failure) 98s end 98s 98s expected " expected \"HELLO\\nWORLD\" to eq downcase \"bonjour\\nmonde\"\n\n...and:\n\n expected \"HELLO\\...o\n+world\n\nDiff for (eq downcase \"hola\\nmon\"):\n@@ -1,2 +1,2 @@\n-hola\n-mon\n+hello\n+world\n" to include " expected \"HELLO\\nWORLD\" to eq downcase \"bonjour\\nmonde\"\n\n...and:\n\n expected \"HELLO\\...llo\n+world\n\nDiff for (eq downcase \"hola\\nmon\"):\n@@ -1,3 +1,3 @@\n-hola\n-mon\n+hello\n+world" 98s Diff: 98s @@ -1 +1,18 @@ 98s - expected "HELLO\nWORLD" to eq downcase "bonjour\nmonde"\n\n...and:\n\n expected "HELLO\nWORLD" to eq downcase "hola\nmon"\nDiff for (eq downcase "bonjour\nmonde"):\n@@ -1,3 +1,3 @@\n-bonjour\n-monde\n+hello\n+world\n\nDiff for (eq downcase "hola\nmon"):\n@@ -1,3 +1,3 @@\n-hola\n-mon\n+hello\n+world 98s + expected "HELLO\nWORLD" to eq downcase "bonjour\nmonde" 98s + 98s +...and: 98s + 98s + expected "HELLO\nWORLD" to eq downcase "hola\nmon" 98s +Diff for (eq downcase "bonjour\nmonde"): 98s +@@ -1,2 +1,2 @@ 98s +-bonjour 98s +-monde 98s ++hello 98s ++world 98s + 98s +Diff for (eq downcase "hola\nmon"): 98s +@@ -1,2 +1,2 @@ 98s +-hola 98s +-mon 98s ++hello 98s ++world 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:585:in `block (7 levels) in ' 98s 98s 15) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable when matcher transforms the actual when the matcher reassigns `@actual` shows the reassigned value in diff 98s Failure/Error: 98s expect { 98s expect( 98s "HELLO\nWORLD" 98s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 98s }.to fail do |error| 98s expect(error.message).to include(expected_failure) 98s end 98s 98s expected " expected \"hello\\nworld\" to eq downcase \"bonjour\\nmonde\"\n\n...and:\n\n expected \"hello\\...o\n+world\n\nDiff for (eq downcase \"hola\\nmon\"):\n@@ -1,2 +1,2 @@\n-hola\n-mon\n+hello\n+world\n" to include " expected \"hello\\nworld\" to eq downcase \"bonjour\\nmonde\"\n\n...and:\n\n expected \"hello\\...llo\n+world\n\nDiff for (eq downcase \"hola\\nmon\"):\n@@ -1,3 +1,3 @@\n-hola\n-mon\n+hello\n+world" 98s Diff: 98s @@ -1 +1,18 @@ 98s - expected "hello\nworld" to eq downcase "bonjour\nmonde"\n\n...and:\n\n expected "hello\nworld" to eq downcase "hola\nmon"\nDiff for (eq downcase "bonjour\nmonde"):\n@@ -1,3 +1,3 @@\n-bonjour\n-monde\n+hello\n+world\n\nDiff for (eq downcase "hola\nmon"):\n@@ -1,3 +1,3 @@\n-hola\n-mon\n+hello\n+world 98s + expected "hello\nworld" to eq downcase "bonjour\nmonde" 98s + 98s +...and: 98s + 98s + expected "hello\nworld" to eq downcase "hola\nmon" 98s +Diff for (eq downcase "bonjour\nmonde"): 98s +@@ -1,2 +1,2 @@ 98s +-bonjour 98s +-monde 98s ++hello 98s ++world 98s + 98s +Diff for (eq downcase "hola\nmon"): 98s +@@ -1,2 +1,2 @@ 98s +-hola 98s +-mon 98s ++hello 98s ++world 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:628:in `block (7 levels) in ' 98s 98s 16) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the first matcher is diffable when both matcher fail fails with a message containing a diff with first matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bar 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including " expected \"baz\\nbar\" to a string including \"foo\"\n\n...and:\n\n expected... (compared using ==)\n\nDiff for (a string including \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bar", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:452:in `block (7 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 98s 98s 17) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the first matcher is diffable when only first matcher fails fails with a message containing a diff for first matcher 98s Failure/Error: 98s expect { 98s expect(dedent(<<-EOS)).to subject 98s |baz 98s |bar 98s EOS 98s }.to fail_including(expected_failure) 98s 98s expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff for (a string including \"foo\"):\n@@ -1,2 +1,3 @@\n-foo\n+baz\n+bar", got # with backtrace: 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:409:in `block (7 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 98s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 98s 98s 18) RSpec::Matchers::DSL::Matcher handles multiline string diffs 98s Failure/Error: expect(diff).to eq expected_diff 98s 98s expected: "Diff:\n@@ -1 +1 @@\n-line1\n+LINE1\n" 98s got: "Diff:\n@@ -1,2 +1,2 @@\n-line1\n+LINE1\nline2\n" 98s 98s (compared using ==) 98s 98s Diff: 98s 98s @@ -1,4 +1,5 @@ 98s Diff: 98s -@@ -1 +1 @@ 98s +@@ -1,2 +1,2 @@ 98s -line1 98s +LINE1 98s +line2 98s # ./spec/rspec/matchers/dsl_spec.rb:522:in `block (2 levels) in ' 98s 98s 22 deprecation warnings total 98s 98s Finished in 1.24 seconds (files took 0.23208 seconds to load) 98s 2400 examples, 18 failures, 8 pending 98s 98s Failed examples: 98s 98s rspec ./spec/rspec/matchers/built_in/have_attributes_spec.rb:165 # #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:9:1:6] # #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to perform custom key checks like downcasing behaves like a Hash target provides a valid diff 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:9:1:7] # #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to perform custom key checks like downcasing behaves like a Hash target provides a valid diff for fuzzy matchers 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:8:1:6] # #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to treat string/symbol keys interchangeably, but returns a raw hash from #to_hash behaves like a Hash target provides a valid diff 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:8:1:7] # #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to treat string/symbol keys interchangeably, but returns a raw hash from #to_hash behaves like a Hash target provides a valid diff for fuzzy matchers 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:7:1:7] # #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff for fuzzy matchers 98s rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:7:1:6] # #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:899 # RSpec::Matchers::BuiltIn::Compound when chaining many matchers together fails with complete diffs if its matchers are diffable 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:781 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when first matcher is diffable fails with a message containing diff for first matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:815 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when second matcher is diffable fails with a message containing diff for second matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:848 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when both matchers are diffable fails with a message containing diffs for both matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:484 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the second matcher is diffable fails with a message containing a diff for second matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:517 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable fails with a message containing diffs for both matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:562 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable when matcher transforms the actual when the matcher redefines `actual` shows the redefined value in diff 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:605 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when both matchers are diffable when matcher transforms the actual when the matcher reassigns `@actual` shows the reassigned value in diff 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:433 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the first matcher is diffable when both matcher fail fails with a message containing a diff with first matcher 98s rspec ./spec/rspec/matchers/built_in/compound_spec.rb:399 # RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the first matcher is diffable when only first matcher fails fails with a message containing a diff for first matcher 98s rspec ./spec/rspec/matchers/dsl_spec.rb:499 # RSpec::Matchers::DSL::Matcher handles multiline string diffs 98s 98s Randomized with seed 48256 98s 98s mv lib.off lib 98s cd - 98s 98s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 98s ∙ rspec-mocks ∙ 98s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 98s 98s cd rspec-mocks 98s /usr/bin/ruby3.3 -S rspec spec/integration/rails_support_spec.rb spec/rspec/mocks/and_call_original_spec.rb spec/rspec/mocks/and_invoke_spec.rb spec/rspec/mocks/and_return_spec.rb spec/rspec/mocks/and_wrap_original_spec.rb spec/rspec/mocks/and_yield_spec.rb spec/rspec/mocks/any_instance/message_chains_spec.rb spec/rspec/mocks/any_instance_spec.rb spec/rspec/mocks/argument_matchers_spec.rb spec/rspec/mocks/array_including_matcher_spec.rb spec/rspec/mocks/at_least_spec.rb spec/rspec/mocks/at_most_spec.rb spec/rspec/mocks/before_all_spec.rb spec/rspec/mocks/block_return_value_spec.rb spec/rspec/mocks/combining_implementation_instructions_spec.rb spec/rspec/mocks/configuration_spec.rb spec/rspec/mocks/diffing_spec.rb spec/rspec/mocks/double_spec.rb spec/rspec/mocks/error_generator_spec.rb spec/rspec/mocks/example_methods_spec.rb spec/rspec/mocks/expiration_spec.rb spec/rspec/mocks/failure_notification_spec.rb spec/rspec/mocks/formatting_spec.rb spec/rspec/mocks/hash_excluding_matcher_spec.rb spec/rspec/mocks/hash_including_matcher_spec.rb spec/rspec/mocks/instance_method_stasher_spec.rb spec/rspec/mocks/marshal_extension_spec.rb spec/rspec/mocks/matchers/have_received_spec.rb spec/rspec/mocks/matchers/receive_message_chain_spec.rb spec/rspec/mocks/matchers/receive_messages_spec.rb spec/rspec/mocks/matchers/receive_spec.rb spec/rspec/mocks/message_expectation_string_representation_spec.rb spec/rspec/mocks/methods_spec.rb spec/rspec/mocks/mock_expectation_error_spec.rb spec/rspec/mocks/mock_ordering_spec.rb spec/rspec/mocks/modifying_invoked_expectations_spec.rb spec/rspec/mocks/multiple_invoke_handler_spec.rb spec/rspec/mocks/multiple_return_value_spec.rb spec/rspec/mocks/mutate_const_spec.rb spec/rspec/mocks/nil_expectation_warning_spec.rb spec/rspec/mocks/null_object_double_spec.rb spec/rspec/mocks/once_counts_spec.rb spec/rspec/mocks/order_group_spec.rb spec/rspec/mocks/partial_double_spec.rb spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb spec/rspec/mocks/precise_counts_spec.rb spec/rspec/mocks/reraising_eager_raises_spec.rb spec/rspec/mocks/serialization_spec.rb spec/rspec/mocks/should_syntax_spec.rb spec/rspec/mocks/space_spec.rb spec/rspec/mocks/spy_spec.rb spec/rspec/mocks/standalone_spec.rb spec/rspec/mocks/stash_spec.rb spec/rspec/mocks/stub_chain_spec.rb spec/rspec/mocks/stub_implementation_spec.rb spec/rspec/mocks/stub_spec.rb spec/rspec/mocks/stubbed_message_expectations_spec.rb spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb spec/rspec/mocks/syntax_spec.rb spec/rspec/mocks/test_double_spec.rb spec/rspec/mocks/thrice_counts_spec.rb spec/rspec/mocks/to_ary_spec.rb spec/rspec/mocks/twice_counts_spec.rb spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb spec/rspec/mocks/verifying_doubles/construction_spec.rb spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb spec/rspec/mocks/verifying_doubles/naming_spec.rb spec/rspec/mocks/verifying_doubles/object_double_spec.rb spec/rspec/mocks_spec.rb 98s mv lib lib.off 99s Run options: exclude {:ordered_and_vague_counts_unsupported=>true} 99s 99s Randomized with seed 5453 99s ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* 99s 99s Pending: (Failures listed here are expected and do not affect your suite's status) 99s 99s 1) a double receiving to_ary double as_null_object supports Array#flatten 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:13 99s 99s 2) a double receiving to_ary double as_null_object returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:31 99s 99s 3) a double receiving to_ary double as_null_object can be overridden with a stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:3 99s 99s 4) a double receiving to_ary double as_null_object does respond to to_ary 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:23 99s 99s 5) a double receiving to_ary double as_null_object does respond to to_a 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:27 99s 99s 6) a double receiving to_ary double as_null_object responds when overridden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:8 99s 99s 7) a double receiving to_ary double without as_null_object responds when overridden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:8 99s 99s 8) a double receiving to_ary double without as_null_object doesn't respond to to_ary 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:40 99s 99s 9) a double receiving to_ary double without as_null_object doesn't respond to to_a 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:44 99s 99s 10) a double receiving to_ary double without as_null_object supports Array#flatten 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:13 99s 99s 11) a double receiving to_ary double without as_null_object raises 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:48 99s 99s 12) a double receiving to_ary double without as_null_object can be overridden with a stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/to_ary_spec.rb:3 99s 99s 13) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original raises a name error if the method does not exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 99s 99s 14) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original can be constrained by specific arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 99s 99s 15) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the message arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 99s 99s 16) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 99s 99s 17) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original works for methods that accept keyword arguments, using a keyword argument block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 99s 99s 18) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original allows us to modify the results of the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 99s 99s 19) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along any supplied block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 99s 99s 20) and_wrap_original on a partial double allow_any_instance_of(...).to receive(...).and_wrap_original behaves like using and_wrap_original ignores previous stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 99s 99s 21) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original raises a name error if the method does not exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 99s 99s 22) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original can be constrained by specific arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 99s 99s 23) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the message arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 99s 99s 24) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original allows us to modify the results of the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 99s 99s 25) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original works for methods that accept keyword arguments, using a keyword argument block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 99s 99s 26) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along any supplied block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 99s 99s 27) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 99s 99s 28) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original ignores previous stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 99s 99s 29) and_wrap_original on a pure test double raises an error even if the double object responds to the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:100 99s 99s 30) and_wrap_original on a pure test double raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_wrap_original_spec.rb:92 99s 99s 31) #allow_message_expectations_on_nil does not affect subsequent examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:70 99s 99s 32) #allow_message_expectations_on_nil doesnt error when marshalled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:85 99s 99s 33) Loading rspec/mocks/standalone does not infect other objects with the RSpec::Mocks API 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/standalone_spec.rb:20 99s 99s 34) Loading rspec/mocks/standalone exposes the RSpec::Mocks API on `main` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/standalone_spec.rb:7 99s 99s 35) Using a partial mock on a proxy object works properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:236 99s 99s 36) Using a partial mock on a proxy object does not confuse the proxy and the proxied object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:241 99s 99s 37) Supporting Rails monkey patches works mocking any instance when Rails has monkey patched #with 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/integration/rails_support_spec.rb:37 99s 99s 38) Supporting Rails monkey patches works when Rails has monkey patched #with 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/integration/rails_support_spec.rb:10 99s 99s 39) Verified double naming object_double behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 40) Verified double naming object_double behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 41) Verified double naming object_double behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 42) Verified double naming instance_double behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 43) Verified double naming instance_double behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 44) Verified double naming instance_double behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 45) Verified double naming class_spy behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 46) Verified double naming class_spy behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 47) Verified double naming class_spy behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 48) Verified double naming class_double behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 49) Verified double naming class_double behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 50) Verified double naming class_double behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 51) Verified double naming object_spy behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 52) Verified double naming object_spy behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 53) Verified double naming object_spy behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 54) Verified double naming instance_spy behaves like a named verifying double when a name is given as a symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 99s 99s 55) Verified double naming instance_spy behaves like a named verifying double when no name is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 99s 99s 56) Verified double naming instance_spy behaves like a named verifying double when a name is given as a string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 99s 99s 57) a message expectation with multiple return values specifying at_least less than the number of values fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:81 99s 99s 58) a message expectation with multiple return values specifying at_least less than the number of values uses the last return value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:74 99s 99s 59) a message expectation with multiple return values specifying at_least less than the number of values when method is stubbed too uses the last value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:89 99s 99s 60) a message expectation with multiple return values specifying at_least less than the number of values when method is stubbed too fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:96 99s 99s 61) at_most passes when at_most(:thrice) is called less than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:61 99s 99s 62) at_most passes when at_most(n) is called exactly n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:14 99s 99s 63) at_most passes when at_most(:once) is called once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:32 99s 99s 64) at_most fails fast when at_most(:once) and is called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:100 99s 99s 65) at_most fails fast when at_most(:thrice) and is called four times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:117 99s 99s 66) at_most returns the value given by a block when at_most(:once) method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:75 99s 99s 67) at_most passes when at_most(n) is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:27 99s 99s 68) at_most passes when at_most(:thrice) is called thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:67 99s 99s 69) at_most fails fast when at_most(n) times method is called n plus 1 time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:91 99s 99s 70) at_most fails fast when at_most(:twice) and is called three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:108 99s 99s 71) at_most fails fast when at_most(n) times method is called n plus 1 times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:81 99s 99s 72) at_most passes when at_most(:once) is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:38 99s 99s 73) at_most passes when at_most(n) is called exactly 1 time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:8 99s 99s 74) at_most passes when at_most(:twice) is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:56 99s 99s 75) at_most passes when at_most(:twice) is called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:49 99s 99s 76) at_most passes when at_most(n) is called less than n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:21 99s 99s 77) at_most passes when at_most(:twice) is called once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:43 99s 99s 78) at_most when called with negative expectation raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_most_spec.rb:128 99s 99s 79) An object double can replace a constant by name and verify instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:17 99s 99s 80) An object double can replace an unloaded constant 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:8 99s 99s 81) An object double is not a module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:58 99s 99s 82) An object double does not allow as_stubbed_constant for real objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:52 99s 99s 83) An object double can create a double that matches the interface of any arbitrary object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:32 99s 99s 84) An object double validates `with` args against the method signature when stubbing a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:62 99s 99s 85) An object double does not allow transferring constants to an object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:45 99s 99s 86) An object double when an unloaded object constant has previously been stubbed with an object treats it as being unloaded for `object_double('ConstName')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:106 99s 99s 87) An object double when an unloaded object constant has previously been stubbed with an object uses the stubbed const value to verify against for `object_double(ConstName)`, which probably isn't what the user wants, but there's nothing else we can do since we can't get the constant name from the given object and thus cannot interrogate our stubbed const registry to see it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:111 99s 99s 88) An object double when a loaded object constant has previously been stubbed with an object uses the original object to verify against for `object_double('ConstName')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:72 99s 99s 89) An object double when a loaded object constant has previously been stubbed with an object uses the stubbed const value to verify against for `object_double(ConstName)`, which probably isn't what the user wants, but there's nothing else we can do since we can't get the constant name from the given object and thus cannot interrogate our stubbed const registry to see it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:78 99s 99s 90) An object double when a loaded object constant has previously been stubbed with a class uses the original object to verify against for `object_double('ConstName')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:90 99s 99s 91) An object double when a loaded object constant has previously been stubbed with a class uses the original object to verify against for `object_double(ConstName)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:96 99s 99s 92) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double(ConstName)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:129 99s 99s 93) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double('ConstName')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:124 99s 99s 94) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher describes itself properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:6 99s 99s 95) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches an empty hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:23 99s 99s 96) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash with the specified key, but different value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:15 99s 99s 97) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:11 99s 99s 98) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches against classes inheriting from Hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:31 99s 99s 99) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key, given as anything() 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:19 99s 99s 100) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without any of the specified keys 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:27 99s 99s 101) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one of the specified keys 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:53 99s 99s 102) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with some of the specified keys 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:57 99s 99s 103) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with a specified key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:41 99s 99s 104) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:45 99s 99s 105) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a non-hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:37 99s 99s 106) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:49 99s 99s 107) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one key/value pair included 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:61 99s 99s 108) MockExpectationError is not caught by StandardError rescue blocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_expectation_error_spec.rb:12 99s 99s 109) #any_instance passing the receiver to the implementation block when configured not to pass the instance an any instance stub does not pass the instance to the implementation block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1231 99s 99s 110) #any_instance passing the receiver to the implementation block when configured not to pass the instance an any instance stub does not cause with to fail when the instance is passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1240 99s 99s 111) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance stub does not pass the instance to and_call_original 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1194 99s 99s 112) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance stub passes the instance as the first arg of the implementation block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1185 99s 99s 113) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance expectation doesn't effect with 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1207 99s 99s 114) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance expectation passes the instance as the first arg of the implementation block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1213 99s 99s 115) #any_instance chain yields the value specified 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:47 99s 99s 116) #any_instance when stubbing does not suppress an exception when a method that doesn't exist is invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:91 99s 99s 117) #any_instance when stubbing with #and_raise can stub a method that exists 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:316 99s 99s 118) #any_instance when stubbing with #and_raise can stub a method that doesn't exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:311 99s 99s 119) #any_instance when stubbing core ruby objects works uniformly across *everything* 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:365 99s 99s 120) #any_instance when stubbing core ruby objects works with the non-standard constructor [] 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:370 99s 99s 121) #any_instance when stubbing core ruby objects works with the non-standard constructor {} 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:375 99s 99s 122) #any_instance when stubbing core ruby objects works with the non-standard constructor "" 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:380 99s 99s 123) #any_instance when stubbing core ruby objects works with the non-standard constructor '' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:385 99s 99s 124) #any_instance when stubbing core ruby objects works with the non-standard constructor module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:390 99s 99s 125) #any_instance when stubbing core ruby objects works with the non-standard constructor class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:396 99s 99s 126) #any_instance when stubbing multiple methods allows multiple methods to be stubbed in a single invocation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:97 99s 99s 127) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given symbols representing the methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:105 99s 99s 128) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given a string of '.' separated method names representing the chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:115 99s 99s 129) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain can constrain the return value by the argument to the last call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:120 99s 99s 130) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given a hash as the last argument uses the value as the expected return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:110 99s 99s 131) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain can use a chain of methods to perform an expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:127 99s 99s 132) #any_instance when stubbing with a block returns the same computed value for calls on different instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:340 99s 99s 133) #any_instance when stubbing with a block stubs a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:335 99s 99s 134) #any_instance when stubbing with #and_call_original and competing #with can combine and_call_original, with, and_return 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:301 99s 99s 135) #any_instance when stubbing when partially mocking objects resets partially mocked objects correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:349 99s 99s 136) #any_instance when stubbing aliased methods tracks aliased method calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:213 99s 99s 137) #any_instance when stubbing with argument matching fails the spec with an expectation error when the arguments do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:235 99s 99s 138) #any_instance when stubbing with argument matching returns the stubbed value when arguments match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:229 99s 99s 139) #any_instance when stubbing when the class has a prepended module prevents stubbing a method that is defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:188 99s 99s 140) #any_instance when stubbing when the class has a prepended module prevents stubbing a chain starting with a method that is defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:203 99s 99s 141) #any_instance when stubbing when the class has a prepended module allows stubbing a chain starting with a method that is not defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:196 99s 99s 142) #any_instance when stubbing when the class has a prepended module allows stubbing a method that is not defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:181 99s 99s 143) #any_instance when stubbing behaves as 'every instance' stubs every instance in the spec 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:138 99s 99s 144) #any_instance when stubbing behaves as 'every instance' handles stubbing on a sub class when a super class is stubbed differently 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:163 99s 99s 145) #any_instance when stubbing behaves as 'every instance' stubs instance created before any_instance was called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:144 99s 99s 146) #any_instance when stubbing behaves as 'every instance' handles freeze and duplication correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:150 99s 99s 147) #any_instance when stubbing behaves as 'every instance' handles method restoration on subclasses 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:172 99s 99s 148) #any_instance when stubbing behaves as 'every instance' handles stubbing on super and subclasses 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:157 99s 99s 149) #any_instance when stubbing with multiple stubs returns the same value for calls on different instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:254 99s 99s 150) #any_instance when stubbing with multiple stubs stubs a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:248 99s 99s 151) #any_instance when stubbing with #and_return returns the same object for calls on different instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:271 99s 99s 152) #any_instance when stubbing with #and_return can stub a method that doesn't exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:261 99s 99s 153) #any_instance when stubbing with #and_return can stub a method that exists 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:266 99s 99s 154) #any_instance when stubbing with #and_return can change how instances responds in the middle of an example 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:278 99s 99s 155) #any_instance when stubbing with #and_throw can stub a method that exists 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:328 99s 99s 156) #any_instance when stubbing with #and_throw can stub a method that doesn't exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:323 99s 99s 157) #any_instance when stubbing with #and_yield yields the value specified 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:291 99s 99s 158) #any_instance expect_any_instance_of(...).not_to receive passes if no method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:468 99s 99s 159) #any_instance expect_any_instance_of(...).not_to receive fails if the method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:460 99s 99s 160) #any_instance expect_any_instance_of(...).not_to receive passes if only a different method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:472 99s 99s 161) #any_instance expect_any_instance_of(...).not_to receive prevents confusing double-negative expressions involving `never` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:512 99s 99s 162) #any_instance expect_any_instance_of(...).not_to receive affects previously stubbed instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:477 99s 99s 163) #any_instance expect_any_instance_of(...).not_to receive when used in combination with should_receive passes if only the expected message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:504 99s 99s 164) #any_instance expect_any_instance_of(...).not_to receive with constraints passes if the method is called with different parameters 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:497 99s 99s 165) #any_instance expect_any_instance_of(...).not_to receive with constraints fails if the method is called with the specified parameters 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:490 99s 99s 166) #any_instance when resetting post-verification adds an instance to the current space when stubbed method is invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1169 99s 99s 167) #any_instance when resetting post-verification with multiple calls to any_instance in the same example does not prevent the change from being rolled back 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1159 99s 99s 168) #any_instance when resetting post-verification existing method with stubbing private methods restores a stubbed private method after the spec is run 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1087 99s 99s 169) #any_instance when resetting post-verification existing method with stubbing private methods ensures that the restored method behaves as it originally did 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1091 99s 99s 170) #any_instance when resetting post-verification existing method with stubbing private methods cleans up the backed up method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1083 99s 99s 171) #any_instance when resetting post-verification existing method with stubbing public methods restores the class to its original state after each example when one instance is created 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1056 99s 99s 172) #any_instance when resetting post-verification existing method with stubbing public methods restores the class to its original state after each example when more than one instance is created 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1065 99s 99s 173) #any_instance when resetting post-verification existing method with stubbing public methods restores the class to its original state after each example when no instance is created 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1049 99s 99s 174) #any_instance when resetting post-verification existing method with expectations ensures that the next spec does not see that expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1147 99s 99s 175) #any_instance when resetting post-verification existing method with expectations ensures that the subsequent specs do not see expectations set in previous specs when the instance created before the expectation is set first spec 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1136 99s 99s 176) #any_instance when resetting post-verification existing method with expectations ensures that the subsequent specs do not see expectations set in previous specs when the instance created before the expectation is set second spec 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1141 99s 99s 177) #any_instance when resetting post-verification existing method with expectations ensures that the subsequent specs do not see expectations set in previous specs when the instance created after the expectation is set first spec 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1121 99s 99s 178) #any_instance when resetting post-verification existing method with expectations ensures that the subsequent specs do not see expectations set in previous specs when the instance created after the expectation is set second spec 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1126 99s 99s 179) #any_instance when resetting post-verification existing method with expectations private methods restores a stubbed private method after the spec is run 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1110 99s 99s 180) #any_instance when resetting post-verification existing method with expectations private methods ensures that the restored method behaves as it originally did 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1114 99s 99s 181) #any_instance when resetting post-verification existing method with expectations private methods cleans up the backed up method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1106 99s 99s 182) #any_instance setting a message expectation works with a SimpleDelegator subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:792 99s 99s 183) #any_instance setting a message expectation does not modify the return value of stubs set on an instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:555 99s 99s 184) #any_instance setting a message expectation properly notifies any instance recorders at multiple levels of hierarchy when a directly stubbed object receives a message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:572 99s 99s 185) #any_instance setting a message expectation does not modify the return value of stubs set on an instance of a subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:563 99s 99s 186) #any_instance setting a message expectation affects previously stubbed instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:538 99s 99s 187) #any_instance setting a message expectation properly notifies any instance recorders when they are created after the object's mock proxy 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:585 99s 99s 188) #any_instance setting a message expectation handles inspect accessing expected methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:523 99s 99s 189) #any_instance setting a message expectation works with a BasicObject subclass that mixes in Kernel 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:782 99s 99s 190) #any_instance setting a message expectation does not set the expectation on every instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:547 99s 99s 191) #any_instance setting a message expectation message count the 'at_most(n)' constraint fails for n invocations where n > 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:993 99s 99s 192) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n < 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:987 99s 99s 193) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n = 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:981 99s 99s 194) #any_instance setting a message expectation message count the 'exactly(n)' constraint passes for n invocations where n = 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:933 99s 99s 195) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n > 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:948 99s 99s 196) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n < 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:939 99s 99s 197) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias passes for 1 invocation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:918 99s 99s 198) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias fails for 2 invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:924 99s 99s 199) #any_instance setting a message expectation message count the 'once' constraint fails when no instances are declared 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:849 99s 99s 200) #any_instance setting a message expectation message count the 'once' constraint fails when an instance is declared but there are no invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:856 99s 99s 201) #any_instance setting a message expectation message count the 'once' constraint fails for more than one invocation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:864 99s 99s 202) #any_instance setting a message expectation message count the 'once' constraint passes for one invocation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:844 99s 99s 203) #any_instance setting a message expectation message count the 'twice' constraint fails for more than two invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:881 99s 99s 204) #any_instance setting a message expectation message count the 'twice' constraint passes for two invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:875 99s 99s 205) #any_instance setting a message expectation message count the 'at_least(n)' constraint fails for n invocations where n < 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:964 99s 99s 206) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n = 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:958 99s 99s 207) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n > 3 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:973 99s 99s 208) #any_instance setting a message expectation message count the 'thrice' constraint fails for less than three invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:906 99s 99s 209) #any_instance setting a message expectation message count the 'thrice' constraint fails for more than three invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:898 99s 99s 210) #any_instance setting a message expectation message count the 'thrice' constraint passes for three invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:892 99s 99s 211) #any_instance setting a message expectation message count the 'never' constraint fails on the first invocation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1008 99s 99s 212) #any_instance setting a message expectation message count the 'never' constraint passes for 0 invocations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1003 99s 99s 213) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations passes when the other expectations are met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1016 99s 99s 214) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations fails when the other expectations are not met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1022 99s 99s 215) #any_instance setting a message expectation when the class has an included module allows mocking a method that is defined on the module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:612 99s 99s 216) #any_instance setting a message expectation when the class has a prepended module prevents mocking a method that is defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:602 99s 99s 217) #any_instance setting a message expectation when the class has a prepended module allows mocking a method that is not defined on the prepended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:595 99s 99s 218) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if no instance is created 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:669 99s 99s 219) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if an instance is created but no invocation occurs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:661 99s 99s 220) #any_instance setting a message expectation with an expectation is set on a method which does not exist allows expectations on instances to take priority 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:684 99s 99s 221) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if no instance is created and there are multiple expectations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:676 99s 99s 222) #any_instance setting a message expectation with an expectation is set on a method which does not exist returns the expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:656 99s 99s 223) #any_instance setting a message expectation with an expectation is set on a method which does not exist normal expectations on the class object pass when expectations are met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:724 99s 99s 224) #any_instance setting a message expectation with an expectation is set on a method which does not exist normal expectations on the class object fail when unfulfilled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:713 99s 99s 225) #any_instance setting a message expectation with an expectation is set on a method which does not exist behaves as 'exactly one instance' fails if the method is invoked on a second instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:700 99s 99s 226) #any_instance setting a message expectation with an expectation is set on a method which does not exist behaves as 'exactly one instance' passes if subsequent invocations do not receive that message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:694 99s 99s 227) #any_instance setting a message expectation when an instance has been directly stubbed fails when a second instance to receive the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:622 99s 99s 228) #any_instance setting a message expectation when argument matching is used and an instance has stubbed the message passes on verify if the arguments do match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:645 99s 99s 229) #any_instance setting a message expectation when argument matching is used and an instance has stubbed the message fails on verify if the arguments do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:636 99s 99s 230) #any_instance setting a message expectation with argument matching returns the expected value when arguments match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:807 99s 99s 231) #any_instance setting a message expectation with argument matching fails when the arguments match but different instances are used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:813 99s 99s 232) #any_instance setting a message expectation with argument matching is not affected by the invocation of existing methods on other instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:824 99s 99s 233) #any_instance setting a message expectation with argument matching fails when arguments do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:831 99s 99s 234) #any_instance setting a message expectation with an expectation is set on a method that exists fails if no instance is created and there are multiple expectations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:754 99s 99s 235) #any_instance setting a message expectation with an expectation is set on a method that exists fails if an instance is created but no invocation occurs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:739 99s 99s 236) #any_instance setting a message expectation with an expectation is set on a method that exists fails if no instance is created 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:747 99s 99s 237) #any_instance setting a message expectation with an expectation is set on a method that exists returns the expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:734 99s 99s 238) #any_instance setting a message expectation with an expectation is set on a method that exists after any one instance has received a message fails if the method is invoked on a second instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:769 99s 99s 239) #any_instance setting a message expectation with an expectation is set on a method that exists after any one instance has received a message passes if subsequent invocations do not receive that message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:763 99s 99s 240) #any_instance when a class overrides Object#method mocks the method correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1305 99s 99s 241) #any_instance when a class overrides Object#method stubs the method correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1300 99s 99s 242) #any_instance unstubbing using `and_call_original` removes stubs from sub class after Invocation when super class was originally stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:427 99s 99s 243) #any_instance unstubbing using `and_call_original` removes all stubs with the supplied method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:411 99s 99s 244) #any_instance unstubbing using `and_call_original` removes any stubs set directly on an instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:436 99s 99s 245) #any_instance unstubbing using `and_call_original` replaces the stubbed method with the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:405 99s 99s 246) #any_instance unstubbing using `and_call_original` does not get confused about string vs symbol usage for the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:452 99s 99s 247) #any_instance unstubbing using `and_call_original` removes stubs even if they have already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:418 99s 99s 248) #any_instance unstubbing using `and_call_original` does not remove any expectations with the same method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:444 99s 99s 249) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_throw' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:67 99s 99s 250) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_yield' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:63 99s 99s 251) #any_instance invocation order when stubbing allows chaining 'and_yield' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:71 99s 99s 252) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_raise' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:59 99s 99s 253) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_return' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:55 99s 99s 254) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:83 99s 99s 255) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:78 99s 99s 256) #any_instance when used in conjunction with a `dup` doesn't bomb if the object doesn't support `dup` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1259 99s 99s 257) #any_instance when used in conjunction with a `dup` doesn't fail when dup accepts parameters 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1266 99s 99s 258) #any_instance when used in conjunction with a `dup` doesn't cause an infinite loop 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1250 99s 99s 259) #any_instance when used after the test has finished restores the original behaviour, even if the expectation fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1331 99s 99s 260) #any_instance when used after the test has finished restores the original behavior of a stubbed method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1312 99s 99s 261) #any_instance when used after the test has finished does not restore a stubbed method not originally implemented in the class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1323 99s 99s 262) #any_instance when directed at a method defined on a superclass mocks the method correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1286 99s 99s 263) #any_instance when directed at a method defined on a superclass stubs the method correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance_spec.rb:1281 99s 99s 264) an expectation set on nil does not issue a warning when expectations are set to be allowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:24 99s 99s 265) an expectation set on nil issues a warning with file and line number information 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:4 99s 99s 266) an expectation set on nil issues a warning when the expectation is negative 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:15 99s 99s 267) an expectation set on nil does not call #nil? on a double extra times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:60 99s 99s 268) an expectation set on nil configured to disallow expectations on nil raises an error when expectations on nil are disallowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:53 99s 99s 269) an expectation set on nil configured to allow expectation on nil does not issue a warning when expectations are set to be allowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:38 99s 99s 270) #null_object? defaults to false 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:120 99s 99s 271) Reraising eager raises during the verify step does not reraise when a double receives a message that hasn't been allowed/expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:4 99s 99s 272) Reraising eager raises during the verify step when an expectation is called with the wrong arguments notifies both exceptions using the same `:source_id` so `aggregate_failures` can de-dup 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:89 99s 99s 273) Reraising eager raises during the verify step when an expectation is called with the wrong arguments reraises during verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:81 99s 99s 274) Reraising eager raises during the verify step when an expectation with a count is exceeded notifies both exceptions using the same `:source_id` so `aggregate_failures` can de-dup 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:72 99s 99s 275) Reraising eager raises during the verify step when an expectation with a count is exceeded reraises during verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:63 99s 99s 276) Reraising eager raises during the verify step when a negative expectation receives a call notifies with a different `source_id` than that for the same double and a different message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:27 99s 99s 277) Reraising eager raises during the verify step when a negative expectation receives a call reraises during verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:12 99s 99s 278) Reraising eager raises during the verify step when a negative expectation receives a call notifies both exceptions using the same `:source_id` so `aggregate_failures` can de-dup 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:20 99s 99s 279) Reraising eager raises during the verify step when a negative expectation receives a call notifies with a different `source_id` than a different double expecting that message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:42 99s 99s 280) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:99 99s 99s 281) .expect_message does not get confused when the string and symbol message form are both used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:91 99s 99s 282) .expect_message sets up basic message expectation, verifies as called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:73 99s 99s 283) .expect_message fails if never is specified and the message is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:66 99s 99s 284) .expect_message sets up message expectation with params and return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:79 99s 99s 285) .expect_message sets up basic message expectation, verifies as uncalled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:56 99s 99s 286) .expect_message accepts a block implementation for the expected message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:85 99s 99s 287) .expect_message when target cannot be proxied raises ArgumentError with message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:102 99s 99s 288) a message expectation with multiple invoke handlers with a specified count larger than the number of values fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:100 99s 99s 289) a message expectation with multiple invoke handlers with a specified count larger than the number of values fails fast when called greater than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:106 99s 99s 290) a message expectation with multiple invoke handlers with a specified count larger than the number of values uses the last return value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:93 99s 99s 291) a message expectation with multiple invoke handlers with a specified count equal to the number of values returns values in order to consecutive calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:47 99s 99s 292) An instance double with the doubled class loaded only allows instance methods that exist to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:12 99s 99s 293) An instance double with the doubled class loaded validates `with` args against the method signature when stubbing a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:142 99s 99s 294) An instance double with the doubled class loaded only allows instance methods that exist to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:20 99s 99s 295) An instance double with the doubled class loaded doesn't suggest `class_double` when a non-class method is stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:38 99s 99s 296) An instance double with the doubled class loaded does not allow dynamic methods to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:57 99s 99s 297) An instance double with the doubled class loaded allows keyword arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:87 99s 99s 298) An instance double with the doubled class loaded checks that stubbed methods with required keyword args are invoked with the required arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:133 99s 99s 299) An instance double with the doubled class loaded suggests using `class_double` when a class method is stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:33 99s 99s 300) An instance double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:79 99s 99s 301) An instance double with the doubled class loaded checks the arity of stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:70 99s 99s 302) An instance double with the doubled class loaded gives a descriptive error message for NoMethodError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:49 99s 99s 303) An instance double with the doubled class loaded allows class to be specified by constant 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:149 99s 99s 304) An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:43 99s 99s 305) An instance double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:171 99s 99s 306) An instance double with the doubled class loaded when the class const has been previously stubbed uses the original class to verify against for `instance_double(LoadedClass)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:163 99s 99s 307) An instance double with the doubled class loaded when the class const has been previously stubbed uses the original class to verify against for `instance_double('LoadedClass')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:157 99s 99s 308) An instance double with the doubled class loaded for a method that accepts a mix of optional keyword and positional args allows hash matchers like `hash_including` to be used in place of the keywords arg hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:126 99s 99s 309) An instance double with the doubled class loaded for a method that only accepts keyword args allows anything matcher to be used in place of the keywords arg hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:100 99s 99s 310) An instance double with the doubled class loaded for a method that only accepts keyword args allows hash matchers like `hash_including` to be used in place of the keywords arg hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:93 99s 99s 311) An instance double with the doubled class loaded for a method that only accepts keyword args still checks positional arguments when matchers used for keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:106 99s 99s 312) An instance double with the doubled class loaded for a method that only accepts keyword args does not allow matchers to be used in an actual method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:115 99s 99s 313) An instance double with the doubled class loaded for null objects reports what public messages it responds to accurately 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:200 99s 99s 314) An instance double with the doubled class loaded for null objects verifies arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:188 99s 99s 315) An instance double with the doubled class loaded for null objects includes the double's name in a private method error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:194 99s 99s 316) An instance double with the doubled class loaded for null objects only allows defined methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:181 99s 99s 317) An instance double with the doubled class loaded for null objects reports that it responds to defined private methods when the appropriate arg is passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:210 99s 99s 318) An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:223 99s 99s 319) argument matchers matching kind_of matches arguments that have defined `kind_of?` to return true 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:47 99s 99s 320) argument matchers matching kind_of handles a class thats overridden === 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:53 99s 99s 321) argument matchers matching kind_of handles non matching kinds nicely 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:40 99s 99s 322) argument matchers matching kind_of accepts float as kind_of(Numeric) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:35 99s 99s 323) argument matchers matching kind_of accepts fixnum as kind_of(Numeric) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:30 99s 99s 324) argument matchers matching hash_excluding matches hash with hash_excluding same hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:264 99s 99s 325) argument matchers matching hash_excluding handles non matching instances nicely 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:269 99s 99s 326) argument matchers matching hash_including matches hash with hash_including same hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:250 99s 99s 327) argument matchers matching hash_including fails hash_including with missing key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:255 99s 99s 328) argument matchers matching any_args as the only arg passed to `with` matches no args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:135 99s 99s 329) argument matchers matching any_args as the only arg passed to `with` matches one arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:139 99s 99s 330) argument matchers matching any_args as the only arg passed to `with` matches many args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:143 99s 99s 331) argument matchers matching any_args as the middle of three args matches a call of four args when it matches the first and last args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:207 99s 99s 332) argument matchers matching any_args as the middle of three args does not match a call where the first and last args do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:211 99s 99s 333) argument matchers matching any_args as the middle of three args does not match a call of no args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:215 99s 99s 334) argument matchers matching any_args as the middle of three args matches a call of two args when it matches the first and last args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:199 99s 99s 335) argument matchers matching any_args as the middle of three args matches a call of three args when it matches the first and last args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:203 99s 99s 336) argument matchers matching any_args as the last of three args does not match a call of no args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:167 99s 99s 337) argument matchers matching any_args as the last of three args does not match a call where the first two args do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:163 99s 99s 338) argument matchers matching any_args as the last of three args matches a call of four args when it matches the first two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:159 99s 99s 339) argument matchers matching any_args as the last of three args matches a call of three args when it matches the first two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:155 99s 99s 340) argument matchers matching any_args as the last of three args matches a call of two args when it matches the first two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:151 99s 99s 341) argument matchers matching any_args when passed twice immediately signals that this is invalid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:221 99s 99s 342) argument matchers matching any_args as the first of three args matches a call of three args when it matches the last two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:179 99s 99s 343) argument matchers matching any_args as the first of three args does not match a call of no args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:191 99s 99s 344) argument matchers matching any_args as the first of three args matches a call of four args when it matches the last two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:183 99s 99s 345) argument matchers matching any_args as the first of three args matches a call of two args when it matches the last two explicit args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:175 99s 99s 346) argument matchers matching any_args as the first of three args does not match a call where the last two args do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:187 99s 99s 347) argument matchers matching handling objects with a wrong definition of `==` that raises errors for other types can match multiple instances of the type against multiple equal instances of the type 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:383 99s 99s 348) argument matchers matching handling objects with a wrong definition of `==` that raises errors for other types matches against an equal instance of the same type 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:373 99s 99s 349) argument matchers matching handling objects with a wrong definition of `==` that raises errors for other types fails when matched against an unequal instance of the same class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:378 99s 99s 350) argument matchers matching anything accepts string as anything 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:96 99s 99s 351) argument matchers matching anything doesn't accept no arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:101 99s 99s 352) argument matchers matching anything handles non matching instances nicely 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:106 99s 99s 353) argument matchers matching instance_of rejects non string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:82 99s 99s 354) argument matchers matching instance_of handles non matching instances nicely 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:87 99s 99s 355) argument matchers matching instance_of does NOT accept integer as instance_of(Numeric) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:72 99s 99s 356) argument matchers matching instance_of does NOT accept float as instance_of(Numeric) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:67 99s 99s 357) argument matchers matching instance_of rejects non numeric 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:77 99s 99s 358) argument matchers matching instance_of accepts float as instance_of(Float) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:62 99s 99s 359) argument matchers matching array_excluding matches array with array_excluding different array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:304 99s 99s 360) argument matchers matching array_excluding matches array_excluding when using the fuzzy matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:323 99s 99s 361) argument matchers matching array_excluding fails array_excluding when using the fuzzy matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:328 99s 99s 362) argument matchers matching array_excluding fails array_excluding when is the same array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:309 99s 99s 363) argument matchers matching array_excluding fails array_excluding when arg contains some elements 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:316 99s 99s 364) argument matchers matching boolean rejects non boolean 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:21 99s 99s 365) argument matchers matching boolean accepts true as boolean 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:11 99s 99s 366) argument matchers matching boolean accepts false as boolean 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:16 99s 99s 367) argument matchers matching handling arbitrary matchers matches any arbitrary object using #=== 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:337 99s 99s 368) argument matchers matching handling arbitrary matchers fails when given an arbitrary object that returns false from #=== 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:352 99s 99s 369) argument matchers matching handling arbitrary matchers matches against a Matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:345 99s 99s 370) argument matchers matching no_args matches no args against no_args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:230 99s 99s 371) argument matchers matching no_args fails no_args with one arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:235 99s 99s 372) argument matchers matching no_args when passed with other arguments immediately signals that this is invalid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:241 99s 99s 373) argument matchers matching array_including fails array_including when args aren't array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:288 99s 99s 374) argument matchers matching array_including matches array with array_including using fuzzymatcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:283 99s 99s 375) argument matchers matching array_including matches array with array_including same array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:278 99s 99s 376) argument matchers matching array_including fails array_including when arg doesn't contain all elements 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:295 99s 99s 377) argument matchers matching duck_type matches duck type with two methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:118 99s 99s 378) argument matchers matching duck_type rejects goose when expecting a duck 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:123 99s 99s 379) argument matchers matching duck_type matches duck type with one method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:113 99s 99s 380) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:444 99s 99s 381) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:491 99s 99s 382) argument matchers matching handling non-matcher arguments matches against a hash submitted as keyword arguments a and received as a positional argument (in both Ruby 2 and Ruby 3) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:422 99s 99s 383) argument matchers matching handling non-matcher arguments fails to match against a hash submitted as a positional argument and received as keyword arguments in Ruby 3.0 or later 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:429 99s 99s 384) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is blank 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:498 99s 99s 385) argument matchers matching handling non-matcher arguments matches a class against an instance of itself 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:468 99s 99s 386) argument matchers matching handling non-matcher arguments fails a class against an unrelated class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:463 99s 99s 387) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong keys 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:451 99s 99s 388) argument matchers matching handling non-matcher arguments fails a class against an object of a different type 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:473 99s 99s 389) argument matchers matching handling non-matcher arguments matches against a hash submitted and received by value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:417 99s 99s 390) argument matchers matching handling non-matcher arguments matches string against regexp 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:397 99s 99s 391) argument matchers matching handling non-matcher arguments fails with sensible message when args respond to #description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:484 99s 99s 392) argument matchers matching handling non-matcher arguments matches a class against itself 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:458 99s 99s 393) argument matchers matching handling non-matcher arguments fails with zero arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:478 99s 99s 394) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted string 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:407 99s 99s 395) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted regexp 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:412 99s 99s 396) argument matchers matching handling non-matcher arguments matches regexp against regexp 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/argument_matchers_spec.rb:402 99s 99s 397) RSpec::Mocks::Space only adds an instance once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:120 99s 99s 398) RSpec::Mocks::Space tracks proxies in parent and child space separately 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:108 99s 99s 399) RSpec::Mocks::Space can be diffed in a failure when it has references to an error generator via a proxy 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:229 99s 99s 400) RSpec::Mocks::Space raises ArgumentError with message if object is symbol 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:241 99s 99s 401) RSpec::Mocks::Space#ensure_registered returns the proxy for the given object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:138 99s 99s 402) RSpec::Mocks::Space#ensure_registered does not store a parent's proxy in the child space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:154 99s 99s 403) RSpec::Mocks::Space#ensure_registered can still return a proxy from a parent context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:147 99s 99s 404) RSpec::Mocks::Space#registered? returns false if not registered in this or a parent space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:176 99s 99s 405) RSpec::Mocks::Space#registered? returns true if registered in a parent space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:171 99s 99s 406) RSpec::Mocks::Space#registered? returns true if registered in this space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:166 99s 99s 407) RSpec::Mocks::Space#constant_mutator_for can still return a mutator from a parent context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:192 99s 99s 408) RSpec::Mocks::Space#constant_mutator_for returns the mutator for the given const name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:182 99s 99s 409) RSpec::Mocks::Space#reset_all resets all mocks within 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:50 99s 99s 410) RSpec::Mocks::Space#reset_all allows Array#reverse to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:61 99s 99s 411) RSpec::Mocks::Space#proxies_of(klass) returns proxies 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:69 99s 99s 412) RSpec::Mocks::Space#proxies_of(klass) returns only the proxies whose object is an instance of the given class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:86 99s 99s 413) RSpec::Mocks::Space#proxies_of(klass) looks in the parent space for matching proxies 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:97 99s 99s 414) RSpec::Mocks::Space#verify_all verifies all mocks within 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:9 99s 99s 415) RSpec::Mocks::Space#verify_all verifies all any_instance recorders within 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:25 99s 99s 416) RSpec::Mocks::Space#verify_all does not reset the proxies (as that should be delayed until reset_all) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:39 99s 99s 417) RSpec::Mocks::Space#proxy_for can still return a proxy from a parent context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:147 99s 99s 418) RSpec::Mocks::Space#proxy_for does not store a parent's proxy in the child space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:154 99s 99s 419) RSpec::Mocks::Space#proxy_for returns the proxy for the given object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:138 99s 99s 420) RSpec::Mocks::Space#any_instance_recorder_for returns the recorder for the given class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:206 99s 99s 421) RSpec::Mocks::Space#any_instance_recorder_for does not store a parent's proxy in the child space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:219 99s 99s 422) RSpec::Mocks::Space#any_instance_recorder_for can still return a recorder from a parent context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/space_spec.rb:212 99s 99s 423) A chained method stub returns expected value from chaining four method calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:96 99s 99s 424) A chained method stub returns expected value from two chains with shared messages at the beginning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:152 99s 99s 425) A chained method stub does not get confused by symbol vs string usage for the messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:6 99s 99s 426) A chained method stub returns expected value when chain is a dot separated string, like stub_chain('msg1.msg2.msg3') 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:147 99s 99s 427) A chained method stub handles private instance methods (like Object#select) in the middle of a chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:160 99s 99s 428) A chained method stub with four methods in chain using and_return returns expected value from chaining two method calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:68 99s 99s 429) A chained method stub with four methods in chain using a hash with a string key returns the value of the key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:89 99s 99s 430) A chained method stub with four methods in chain using a block returns the correct value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:75 99s 99s 431) A chained method stub with four methods in chain using a hash returns the value of the key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:82 99s 99s 432) A chained method stub with one method in chain using and_return returns expected value from chaining only one method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:16 99s 99s 433) A chained method stub with one method in chain using a hash returns the value of the key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:30 99s 99s 434) A chained method stub with one method in chain using a block returns the correct value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:23 99s 99s 435) A chained method stub with two methods in chain accepts any number of arguments to the stubbed messages in the chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:38 99s 99s 436) A chained method stub with two methods in chain using and_return returns expected value from chaining two method calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:45 99s 99s 437) A chained method stub with two methods in chain using a hash returns the value of the key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:59 99s 99s 438) A chained method stub with two methods in chain using a block returns the correct value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:52 99s 99s 439) A chained method stub with messages shared across multiple chains using and_return starting with the same message returns expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:104 99s 99s 440) A chained method stub with messages shared across multiple chains using and_return starting with the different messages returns expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:114 99s 99s 441) A chained method stub with messages shared across multiple chains using => value starting with the same message returns expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:126 99s 99s 442) A chained method stub with messages shared across multiple chains using => value starting with different messages returns expected value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_chain_spec.rb:136 99s 99s 443) and_call_original on a partial double passes the received message through to the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:65 99s 99s 444) and_call_original on a partial double works for methods added through an extended module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:111 99s 99s 445) and_call_original on a partial double finds the method on the most direct ancestor even if the method is available on more distant ancestors 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:124 99s 99s 446) and_call_original on a partial double passes args and blocks through to the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:76 99s 99s 447) and_call_original on a partial double finds the method on the most direct singleton class ancestors even if the method is available on more distant ancestors 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:133 99s 99s 448) and_call_original on a partial double works for class methods defined on a superclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:188 99s 99s 449) and_call_original on a partial double errors when you pass through the wrong number of args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:82 99s 99s 450) and_call_original on a partial double ignores prior declared stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:70 99s 99s 451) and_call_original on a partial double works for aliased methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:225 99s 99s 452) and_call_original on a partial double works for class methods defined on a grandparent class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:207 99s 99s 453) and_call_original on a partial double works for instance methods defined on the object's class's superclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:218 99s 99s 454) and_call_original on a partial double works for methods that accept keyword arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:237 99s 99s 455) and_call_original on a partial double works for class methods defined on the Class class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:213 99s 99s 456) and_call_original on a partial double works for method added through an extended module onto a class's ancestor 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:117 99s 99s 457) and_call_original on a partial double warns when you override an existing implementation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:90 99s 99s 458) and_call_original on a partial double when a non-existent method has been stubbed previously restores the original NameError behavior 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:54 99s 99s 459) and_call_original on a partial double when using any_instance works when mocking the method on one class and calling the method on an instance of a subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:182 99s 99s 460) and_call_original on a partial double when using any_instance works for instance methods that use required keyword arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:168 99s 99s 461) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments with an argument supplied 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:159 99s 99s 462) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:154 99s 99s 463) and_call_original on a partial double when using any_instance works for instance methods defined on the class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:143 99s 99s 464) and_call_original on a partial double when using any_instance works for instance methods defined on the superclass of the class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:176 99s 99s 465) and_call_original on a partial double when using any_instance works for instance methods that use double splat 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:149 99s 99s 466) and_call_original on a partial double when a class method is stubbed in the superclass still works for class methods defined on a superclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:195 99s 99s 467) and_call_original on a partial double on an object that defines method_missing works for an any_instance partial mock 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:300 99s 99s 468) and_call_original on a partial double on an object that defines method_missing raises an error for an unhandled message for an any_instance partial mock 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:305 99s 99s 469) and_call_original on a partial double on an object that defines method_missing raises an error on invocation if method_missing does not handle the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:312 99s 99s 470) and_call_original on a partial double on an object that defines method_missing works when the method_missing definition handles the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:295 99s 99s 471) and_call_original on a partial double on an object with a method propagated by method_missing works for the method propagated by method missing 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:266 99s 99s 472) and_call_original on a partial double on an object with a method propagated by method_missing works for the method of any_instance mock propagated by method missing 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:271 99s 99s 473) and_call_original on a partial double for singleton methods works for SimpleDelegator subclasses 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:103 99s 99s 474) and_call_original on a partial double for singleton methods works 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:97 99s 99s 475) and_call_original on a partial double when a method that exists has been stubbed previously restores the original behavior 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:46 99s 99s 476) and_call_original on a partial double that overrides #method works for a singleton method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:349 99s 99s 477) and_call_original on a partial double that overrides #method still works even though #method has been overridden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:344 99s 99s 478) and_call_original on a pure test double raises an error even if the double object responds to the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_call_original_spec.rb:362 99s 99s 479) unstubbing with `and_call_original` replaces the stubbed method with the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:30 99s 99s 480) unstubbing with `and_call_original` removes all stubs with the supplied method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:38 99s 99s 481) unstubbing with `and_call_original` does not remove any expectations with the same method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:47 99s 99s 482) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a grandparent and grandchild class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 99s 99s 483) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a parent and child class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 99s 99s 484) unstubbing with `and_call_original` when partial doubles are verified handles keyword arguments correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:97 99s 99s 485) unstubbing with `and_call_original` when partial doubles are not verified restores the correct implementations when stubbed and unstubbed on a parent and child class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 99s 99s 486) unstubbing with `and_call_original` when partial doubles are not verified restores the correct implementations when stubbed and unstubbed on a grandparent and grandchild class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 99s 99s 487) only stashing the original method keeps the original method intact after multiple expectations are added on the same method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stash_spec.rb:12 99s 99s 488) #twice passes when called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:8 99s 99s 489) #twice passes when called twice with specified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:15 99s 99s 490) #twice fails when called with wrong args on the first call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:46 99s 99s 491) #twice passes when called twice with unspecified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:22 99s 99s 492) #twice fails when called with wrong args on the second call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:54 99s 99s 493) #twice fails when call count is lower than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:38 99s 99s 494) #twice fails fast when call count is higher than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:29 99s 99s 495) #twice when called with negative expectation raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:89 99s 99s 496) #twice when called with the wrong number of times with the specified args and also called with different args mentions the wrong call count in the failure message rather than the different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/twice_counts_spec.rb:64 99s 99s 497) and_invoke when calling passed callables passes the arguments into the callable 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_invoke_spec.rb:35 99s 99s 498) and_invoke when a block is passed raises ArgumentError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_invoke_spec.rb:7 99s 99s 499) and_invoke when no argument is passed raises ArgumentError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_invoke_spec.rb:15 99s 99s 500) and_invoke when a non-callable are passed in any position raises ArgumentError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_invoke_spec.rb:24 99s 99s 501) a message expectation with multiple invoke handlers and no specified count fails when there are too few calls (if there is no stub) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:25 99s 99s 502) a message expectation with multiple invoke handlers and no specified count fails when there are too many calls (if there is no stub) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:31 99s 99s 503) a message expectation with multiple invoke handlers and no specified count falls back to a previously stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:17 99s 99s 504) a message expectation with multiple invoke handlers and no specified count invokes procs in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:10 99s 99s 505) expect(...).to receive_messages(:a => 1, :b => 2) provides a matcher description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:101 99s 99s 506) expect(...).to receive_messages(:a => 1, :b => 2) fails with a sensible message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:87 99s 99s 507) expect(...).to receive_messages(:a => 1, :b => 2) fails with the correct location 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:93 99s 99s 508) expect(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:81 99s 99s 509) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 99s 99s 510) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 99s 99s 511) expect(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 99s 99s 512) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when allowing a protected method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 99s 99s 513) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when allowing a private method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 99s 99s 514) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a protected instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 99s 99s 515) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility on a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 99s 99s 516) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when expecting a protected method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 99s 99s 517) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when expecting a private method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 99s 99s 518) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a private instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 99s 99s 519) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a private instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 99s 99s 520) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility on a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 99s 99s 521) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a protected instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 99s 99s 522) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when allowing a protected method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 99s 99s 523) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when allowing a private method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 99s 99s 524) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility on a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 99s 99s 525) Method visibility for verified doubles for a class double (when the class is loaded) can expect a private instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 99s 99s 526) Method visibility for verified doubles for a class double (when the class is loaded) can allow a protected instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 99s 99s 527) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility on a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 99s 99s 528) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when expecting a protected method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 99s 99s 529) Method visibility for verified doubles for a class double (when the class is loaded) can allow a private instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 99s 99s 530) Method visibility for verified doubles for a class double (when the class is loaded) can expect a protected instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 99s 99s 531) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when expecting a private method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 99s 99s 532) RSpec::Mocks::TestDouble copies the `as_null_object` state when dup'd 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:34 99s 99s 533) RSpec::Mocks::TestDouble copies the `as_null_object` state when clone'd 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:34 99s 99s 534) RSpec::Mocks::TestDouble#freeze returns the instance of the test double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:27 99s 99s 535) RSpec::Mocks::TestDouble#freeze gives a warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:7 99s 99s 536) RSpec::Mocks::TestDouble#freeze doesn't freeze the object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:17 99s 99s 537) RSpec::Mocks::TestDouble#freeze gives the correct call site for the warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:12 99s 99s 538) RSpec::Mocks::TestDouble with syntax [:expect] stubs the methods passed in the stubs hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:48 99s 99s 539) RSpec::Mocks::TestDouble with syntax [:should] stubs the methods passed in the stubs hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:48 99s 99s 540) RSpec::Mocks::TestDouble with syntax [:should, :expect] stubs the methods passed in the stubs hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/test_double_spec.rb:48 99s 99s 541) RSpec::Mocks::Double#and_yield with eval context as block argument passes an eval context object to the supplied block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:29 99s 99s 542) RSpec::Mocks::Double#and_yield with eval context as block argument evaluates the block passed to the stubbed method in the context of the supplied eval context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:35 99s 99s 543) RSpec::Mocks::Double#and_yield with eval context as block argument evaluates the supplied block as it is read 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:21 99s 99s 544) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments can yield to a block that uses `super` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:128 99s 99s 545) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments passes when expectations set on the eval context and yielded arguments are met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:84 99s 99s 546) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments fails when expectations set on the eval context and yielded arguments are not met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:139 99s 99s 547) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments that are optional yields given argument when the argument is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:114 99s 99s 548) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments that are optional yields the default argument when the argument is not given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:103 99s 99s 549) RSpec::Mocks::Double#and_yield with eval context as block argument and no yielded arguments passes when expectations set on the eval context are met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:52 99s 99s 550) RSpec::Mocks::Double#and_yield with eval context as block argument and no yielded arguments fails when expectations set on the eval context are not met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:66 99s 99s 551) RSpec::Mocks::Double#and_yield when the method double has been constrained by `with` uses the default stub if the provided args do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_yield_spec.rb:7 99s 99s 552) RSpec::Mocks::AnyInstance::MessageChains can remove all stub chains 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:18 99s 99s 553) RSpec::Mocks::AnyInstance::MessageChains knows if a method does not have an expectation set on it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:7 99s 99s 554) RSpec::Mocks::AnyInstance::MessageChains knows if a method has an expectation set on it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:12 99s 99s 555) RSpec::Mocks::AnyInstance::MessageChains creating stub chains allows multiple stub chains for a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:33 99s 99s 556) RSpec::Mocks::AnyInstance::MessageChains creating stub chains understands how to add a stub chain for a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:28 99s 99s 557) After a test double has been torn down for an instance_double disallows being checked for nullness 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:51 99s 99s 558) After a test double has been torn down for an instance_double disallows previously stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:19 99s 99s 559) After a test double has been torn down for an instance_double disallows previously mocked methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:15 99s 99s 560) After a test double has been torn down for an instance_double disallows mocking new methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:41 99s 99s 561) After a test double has been torn down for an instance_double disallows stubbing new message chains 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:35 99s 99s 562) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive_messages) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:29 99s 99s 563) After a test double has been torn down for an instance_double disallows being turned into a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:47 99s 99s 564) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:23 99s 99s 565) After a test double has been torn down for a class_double disallows stubbing new methods (with receive) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:23 99s 99s 566) After a test double has been torn down for a class_double disallows stubbing new message chains 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:35 99s 99s 567) After a test double has been torn down for a class_double disallows mocking new methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:41 99s 99s 568) After a test double has been torn down for a class_double disallows being checked for nullness 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:51 99s 99s 569) After a test double has been torn down for a class_double disallows being turned into a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:47 99s 99s 570) After a test double has been torn down for a class_double disallows previously stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:19 99s 99s 571) After a test double has been torn down for a class_double disallows previously mocked methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:15 99s 99s 572) After a test double has been torn down for a class_double disallows stubbing new methods (with receive_messages) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:29 99s 99s 573) After a test double has been torn down for an object_double disallows stubbing new methods (with receive_messages) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:29 99s 99s 574) After a test double has been torn down for an object_double disallows being checked for nullness 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:51 99s 99s 575) After a test double has been torn down for an object_double disallows being turned into a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:47 99s 99s 576) After a test double has been torn down for an object_double disallows previously stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:19 99s 99s 577) After a test double has been torn down for an object_double disallows stubbing new message chains 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:35 99s 99s 578) After a test double has been torn down for an object_double disallows mocking new methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:41 99s 99s 579) After a test double has been torn down for an object_double disallows previously mocked methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:15 99s 99s 580) After a test double has been torn down for an object_double disallows stubbing new methods (with receive) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:23 99s 99s 581) After a test double has been torn down for a plain double disallows stubbing new methods (with receive) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:23 99s 99s 582) After a test double has been torn down for a plain double disallows stubbing new methods (with receive_messages) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:29 99s 99s 583) After a test double has been torn down for a plain double disallows stubbing new message chains 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:35 99s 99s 584) After a test double has been torn down for a plain double disallows previously stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:19 99s 99s 585) After a test double has been torn down for a plain double disallows being checked for nullness 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:51 99s 99s 586) After a test double has been torn down for a plain double disallows previously mocked methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:15 99s 99s 587) After a test double has been torn down for a plain double disallows mocking new methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:41 99s 99s 588) After a test double has been torn down for a plain double disallows being turned into a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/expiration_spec.rb:47 99s 99s 589) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:112 99s 99s 590) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 99s 99s 591) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 99s 99s 592) Constructing a verifying double can only be named with a string or a module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:162 99s 99s 593) Constructing a verifying double object doubles declares the class to verifying double callbacks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:131 99s 99s 594) Constructing a verifying double instance doubles allows named constants to be looked up and declared to verifying double callbacks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:29 99s 99s 595) Constructing a verifying double instance doubles cannot be constructed with a non-module object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:18 99s 99s 596) Constructing a verifying double instance doubles allows anonymous constants to be looked up and declared to verifying double callbacks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:40 99s 99s 597) Constructing a verifying double instance doubles allows classes to be customised 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:52 99s 99s 598) Constructing a verifying double instance doubles can be constructed with a struct 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:24 99s 99s 599) Constructing a verifying double instance doubles any_instance calls the callback for allow_any_instance_of 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:85 99s 99s 600) Constructing a verifying double instance doubles any_instance should not call the callback if verify_partial_doubles is off 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:93 99s 99s 601) Constructing a verifying double instance doubles any_instance calls the callback for expect_any_instance_of 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:77 99s 99s 602) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of class doubles for unloaded constants 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:155 99s 99s 603) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of instance doubles for unloaded constants 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:149 99s 99s 604) Constructing a verifying double class doubles cannot be constructed with a non-module object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:104 99s 99s 605) Constructing a verifying double class doubles declares anonymous modules to verifying double callbacks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:119 99s 99s 606) Constructing a verifying double class doubles declares named modules to verifying double callbacks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:110 99s 99s 607) Serialization of mocked objects marshals the same with and without stubbing 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/serialization_spec.rb:84 99s 99s 608) Serialization of mocked objects with YAML loaded using Psych as the YAML engine behaves like normal YAML serialization serializes to yaml the same with and without stubbing, using YAML.dump 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/serialization_spec.rb:47 99s 99s 609) Serialization of mocked objects with YAML loaded using Psych as the YAML engine behaves like normal YAML serialization serializes to yaml the same with and without stubbing, using #to_yaml 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/serialization_spec.rb:43 99s 99s 610) Serialization of mocked objects without YAML loaded does not add #to_yaml to the stubbed object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/serialization_spec.rb:77 99s 99s 611) RSpec::Mocks::ErrorGenerator formatting arguments formats time objects with increased precision 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:31 99s 99s 612) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that do not define description does not use the object's description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:62 99s 99s 613) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects on default method stub error message display starts in new line 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:79 99s 99s 614) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that define description uses the object's description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:52 99s 99s 615) RSpec::Mocks::ErrorGenerator formatting arguments on non-matcher objects that define #description does not use the object's description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:42 99s 99s 616) RSpec::Mocks::ErrorGenerator when inserting a backtrace line produces stacktraces that match how `raise` produces stacktraces (on JRuby `caller` and `raise` can differ about the presence of java frames) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/error_generator_spec.rb:15 99s 99s 617) Using the legacy should syntax #should_not_receive fails when the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:194 99s 99s 618) Using the legacy should syntax #should_not_receive does not fail on verification if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:201 99s 99s 619) Using the legacy should syntax #should_not_receive returns a negative message expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:190 99s 99s 620) Using the legacy should syntax #should_not_receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 621) Using the legacy should syntax #stub_chain can stub a sequence of messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:61 99s 99s 622) Using the legacy should syntax #stub_chain raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 623) Using the legacy should syntax #any_instance adds a class to the current space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:231 99s 99s 624) Using the legacy should syntax #any_instance affects previously stubbed instances when mocking a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:263 99s 99s 625) Using the legacy should syntax #any_instance raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 626) Using the legacy should syntax #any_instance can mock a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:242 99s 99s 627) Using the legacy should syntax #any_instance can get method objects for the fluent interface 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:248 99s 99s 628) Using the legacy should syntax #any_instance can stub a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:237 99s 99s 629) Using the legacy should syntax #any_instance affects previously stubbed instances when stubbing a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:255 99s 99s 630) Using the legacy should syntax #any_instance invocation order #stub_chain raises an error if 'stub_chain' follows 'and_return' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:303 99s 99s 631) Using the legacy should syntax #any_instance invocation order #stub_chain affects previously stubbed instances 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:324 99s 99s 632) Using the legacy should syntax #any_instance invocation order #stub_chain allows a chain of methods to be stubbed using #stub_chain given a hash as the last argument uses the value as the expected return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:313 99s 99s 633) Using the legacy should syntax #any_instance invocation order #stub_chain allows a chain of methods to be stubbed using #stub_chain given symbols representing the methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:308 99s 99s 634) Using the legacy should syntax #any_instance invocation order #stub_chain allows a chain of methods to be stubbed using #stub_chain given a string of '.' separated method names representing the chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:318 99s 99s 635) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_raise' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:281 99s 99s 636) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'stub' follows 'with' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:273 99s 99s 637) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_yield' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:285 99s 99s 638) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_return' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:277 99s 99s 639) Using the legacy should syntax #any_instance invocation order #stub behaves as 'every instance' handles `unstub` on subclasses 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:293 99s 99s 640) Using the legacy should syntax #any_instance invocation order #should_receive raises an error if 'should_receive' follows 'with' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:335 99s 99s 641) Using the legacy should syntax #any_instance invocation order #unstub does not get confused about string vs symbol usage for the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:449 99s 99s 642) Using the legacy should syntax #any_instance invocation order #unstub replaces the stubbed method with the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:390 99s 99s 643) Using the legacy should syntax #any_instance invocation order #unstub removes stubs even if they have already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:403 99s 99s 644) Using the legacy should syntax #any_instance invocation order #unstub does not remove any expectations with the same method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:435 99s 99s 645) Using the legacy should syntax #any_instance invocation order #unstub removes stubs from sub class after Invocation when super class was originally stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:411 99s 99s 646) Using the legacy should syntax #any_instance invocation order #unstub raises a MockExpectationError if the method has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:443 99s 99s 647) Using the legacy should syntax #any_instance invocation order #unstub removes stubs set directly on an instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:419 99s 99s 648) Using the legacy should syntax #any_instance invocation order #unstub does not remove message expectations set directly on an instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:427 99s 99s 649) Using the legacy should syntax #any_instance invocation order #unstub removes all stubs with the supplied method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:396 99s 99s 650) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if only a different method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:353 99s 99s 651) Using the legacy should syntax #any_instance invocation order #should_not_receive prevents confusing double-negative expressions involving `never` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:382 99s 99s 652) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if no method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:349 99s 99s 653) Using the legacy should syntax #any_instance invocation order #should_not_receive fails if the method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:341 99s 99s 654) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints fails if the method is called with the specified parameters 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:359 99s 99s 655) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints passes if the method is called with different parameters 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:367 99s 99s 656) Using the legacy should syntax #any_instance invocation order #should_not_receive when used in combination with should_receive passes if only the expected message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:374 99s 99s 657) Using the legacy should syntax #unstub raises a MockExpectationError if the method has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:124 99s 99s 658) Using the legacy should syntax #unstub does not remove any expectations with the same method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:101 99s 99s 659) Using the legacy should syntax #unstub removes all stubs with the supplied method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:92 99s 99s 660) Using the legacy should syntax #unstub restores the correct implementations when stubbed and unstubbed on a parent and child class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:111 99s 99s 661) Using the legacy should syntax #unstub raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 662) Using the legacy should syntax #unstub replaces the stubbed method with the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:84 99s 99s 663) Using the legacy should syntax #stub can stub multiple messages using a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:46 99s 99s 664) Using the legacy should syntax #stub supports options 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:30 99s 99s 665) Using the legacy should syntax #stub returns `nil` from all terminal actions to discourage further configuration 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:34 99s 99s 666) Using the legacy should syntax #stub sets up a canned response 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:40 99s 99s 667) Using the legacy should syntax #stub raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 668) Using the legacy should syntax #should_receive can set a canned response 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:146 99s 99s 669) Using the legacy should syntax #should_receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 670) Using the legacy should syntax #should_receive fails on verification if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:133 99s 99s 671) Using the legacy should syntax #should_receive does not fail on verification if the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:139 99s 99s 672) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message after a similar stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:178 99s 99s 673) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:170 99s 99s 674) Using the legacy should syntax #should_receive with an options hash reports the file and line submitted with :expected_from 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:159 99s 99s 675) Using the legacy should syntax #received_message? answers false for received_message? when no messages received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:9 99s 99s 676) Using the legacy should syntax #received_message? answers true for received_message? when message received with correct args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:18 99s 99s 677) Using the legacy should syntax #received_message? answers false for received_message? when message received with incorrect args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:23 99s 99s 678) Using the legacy should syntax #received_message? answers true for received_message? when message received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:13 99s 99s 679) a double declaration with a block handed to: with returns the value of executing the block with given argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:44 99s 99s 680) a double declaration with a block handed to: with returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:38 99s 99s 681) a double declaration with a block handed to: times returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:71 99s 99s 682) a double declaration with a block handed to: twice returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:53 99s 99s 683) a double declaration with a block handed to: ordered returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:62 99s 99s 684) a double declaration with a block handed to: expect(...).to receive works when a multi-return stub has already been set 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:9 99s 99s 685) a double declaration with a block handed to: expect(...).to receive returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:3 99s 99s 686) a double declaration with a block handed to: once returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:53 99s 99s 687) a double declaration with a block handed to: allow(...).to receive forwards all given args to the block, even when it receives a block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:27 99s 99s 688) a double declaration with a block handed to: allow(...).to receive returns the value of executing the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/block_return_value_spec.rb:19 99s 99s 689) receive_message_chain when the expect and should syntaxes are enabled stubs the message correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:241 99s 99s 690) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:190 99s 99s 691) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:206 99s 99s 692) receive_message_chain with only the expect syntax enabled can constrain the return value by the argument to the last call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:66 99s 99s 693) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing a string) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:222 99s 99s 694) receive_message_chain with only the expect syntax enabled stubs already stubbed instances when using `allow_any_instance_of` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:159 99s 99s 695) receive_message_chain with only the expect syntax enabled errors with a negative any_instance allowance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:26 99s 99s 696) receive_message_chain with only the expect syntax enabled raises when expect is used and all but the last message in the chain are called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:135 99s 99s 697) receive_message_chain with only the expect syntax enabled raises when expect is used and some of the messages in the chain aren't called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:127 99s 99s 698) receive_message_chain with only the expect syntax enabled fails when with expect_any_instance_of is used and the entire chain is not called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:168 99s 99s 699) receive_message_chain with only the expect syntax enabled errors with a negative any_instance expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:20 99s 99s 700) receive_message_chain with only the expect syntax enabled errors with a negative expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:14 99s 99s 701) receive_message_chain with only the expect syntax enabled passes when with expect_any_instance_of is used and the entire chain is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:183 99s 99s 702) receive_message_chain with only the expect syntax enabled works with a do block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:32 99s 99s 703) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:198 99s 99s 704) receive_message_chain with only the expect syntax enabled affects previously stubbed instances when `expect_any_instance_of` is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:175 99s 99s 705) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:227 99s 99s 706) receive_message_chain with only the expect syntax enabled does not raise when expect is used and the entire chain is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:143 99s 99s 707) receive_message_chain with only the expect syntax enabled gives the { } block precedence over the do block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:46 99s 99s 708) receive_message_chain with only the expect syntax enabled works with allow_any_instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:151 99s 99s 709) receive_message_chain with only the expect syntax enabled works with a {} block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:40 99s 99s 710) receive_message_chain with only the expect syntax enabled works with and_return 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:54 99s 99s 711) receive_message_chain with only the expect syntax enabled works with and_throw 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:91 99s 99s 712) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:79 99s 99s 713) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:214 99s 99s 714) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols and a hash) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:232 99s 99s 715) receive_message_chain with only the expect syntax enabled works with and_call_original 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:73 99s 99s 716) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:115 99s 99s 717) receive_message_chain with only the expect syntax enabled works with and_yield 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:97 99s 99s 718) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages with an inline hash return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:121 99s 99s 719) receive_message_chain with only the expect syntax enabled works with a string of messages to chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:103 99s 99s 720) receive_message_chain with only the expect syntax enabled errors with a negative allowance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:8 99s 99s 721) receive_message_chain with only the expect syntax enabled works with a hash return as the last argument in the chain 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:109 99s 99s 722) receive_message_chain with only the expect syntax enabled works with and_raise 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:85 99s 99s 723) receive_message_chain with only the expect syntax enabled works with and_invoke 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:60 99s 99s 724) #as_null_object sets the object to null_object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:113 99s 99s 725) RSpec::Mocks::InstanceMethodStasher stashes the current implementation of an instance method so it can be temporarily replaced 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:18 99s 99s 726) RSpec::Mocks::InstanceMethodStasher undefines the original method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:67 99s 99s 727) RSpec::Mocks::InstanceMethodStasher does not unnecessarily create obfuscated aliased methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:58 99s 99s 728) RSpec::Mocks::InstanceMethodStasher stashes private instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:32 99s 99s 729) RSpec::Mocks::InstanceMethodStasher only stashes methods directly defined on the given class, not its ancestors 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:45 99s 99s 730) A class double with the doubled class loaded can replace existing constants for the duration of the test 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:81 99s 99s 731) A class double with the doubled class loaded allows dynamically defined class method stubs with arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:57 99s 99s 732) A class double with the doubled class loaded gives a descriptive error message for NoMethodError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:43 99s 99s 733) A class double with the doubled class loaded allows dynamically defined class methods to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:71 99s 99s 734) A class double with the doubled class loaded verifies arguments for null objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:115 99s 99s 735) A class double with the doubled class loaded suggests using `instance_double` when an instance method is stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:33 99s 99s 736) A class double with the doubled class loaded can transfer nested constants to the double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:92 99s 99s 737) A class double with the doubled class loaded allows class to be specified by constant 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:76 99s 99s 738) A class double with the doubled class loaded allows dynamically defined class method mocks with arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:64 99s 99s 739) A class double with the doubled class loaded correctly verifies expectations when constant is removed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:99 99s 99s 740) A class double with the doubled class loaded validates `with` args against the method signature when stubbing a method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:123 99s 99s 741) A class double with the doubled class loaded only allows class methods that exist to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:20 99s 99s 742) A class double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:50 99s 99s 743) A class double with the doubled class loaded only allows class methods that exist to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:12 99s 99s 744) A class double with the doubled class loaded doesn't suggest `instance_double` when a non-instance method is stubbed' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:38 99s 99s 745) A class double with the doubled class loaded only allows defined methods for null objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:108 99s 99s 746) A class double with the doubled class loaded when given a class that has an overridden `#name` method can still stub the const 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:197 99s 99s 747) A class double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:193 99s 99s 748) A class double with the doubled class loaded when the class const has been previously stubbed uses the original class to verify against for `instance_double(ClassName)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:217 99s 99s 749) A class double with the doubled class loaded when the class const has been previously stubbed uses the original class to verify against for `class_double('ClassName')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:211 99s 99s 750) A class double with the doubled class loaded when given an anonymous class properly verifies 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:184 99s 99s 751) A class double with the doubled class loaded when `.new` is stubbed uses the method signature from `#initialize` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:135 99s 99s 752) A class double with the doubled class loaded when `.new` is stubbed on a class that has redefined `new` uses the method signature of the redefined `new` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:142 99s 99s 753) A class double with the doubled class loaded when `.new` is stubbed on a class with a private `new` uses the method signature from `#initialize` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:167 99s 99s 754) A class double with the doubled class loaded when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:154 99s 99s 755) stub implementation with one arg execs the block with that arg when called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:13 99s 99s 756) stub implementation with variable args execs the block when called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:21 99s 99s 757) stub implementation with no args execs the block when called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_implementation_spec.rb:5 99s 99s 758) at_least fails when called less than n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:13 99s 99s 759) at_least fails when at least thrice method is called less than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:45 99s 99s 760) at_least returns the value given by a block when the at least once method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:118 99s 99s 761) at_least fails when at least twice method is called once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:30 99s 99s 762) at_least passes when at least once method is called once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:73 99s 99s 763) at_least fails when at least twice method is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:38 99s 99s 764) at_least uses a stub value if no value set 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:132 99s 99s 765) at_least passes when at least n times method is called exactly n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:54 99s 99s 766) at_least passes when at least n times method is called n plus 1 times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:63 99s 99s 767) at_least prefers its own return value over a stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:139 99s 99s 768) at_least passes when at least thrice method is called three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:101 99s 99s 769) at_least fails if method is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:6 99s 99s 770) at_least passes when at least once method is called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:79 99s 99s 771) at_least passes when at least twice method is called three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:86 99s 99s 772) at_least passes when at least thrice method is called four times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:109 99s 99s 773) at_least passes when at least twice method is called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:94 99s 99s 774) at_least fails when at least once method is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:23 99s 99s 775) at_least when called with negative expectation raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:147 99s 99s 776) at_least when sent with 0 outputs a removal message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/at_least_spec.rb:125 99s 99s 777) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes itself properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:6 99s 99s 778) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes passed matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:10 99s 99s 779) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match an empty hash with a given key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:83 99s 99s 780) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key when one pair is matching 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:87 99s 99s 781) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:75 99s 99s 782) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:79 99s 99s 783) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match when values are nil but keys are different 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:95 99s 99s 784) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a non-hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:71 99s 99s 785) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with an incorrect value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:91 99s 99s 786) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches the same hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:17 99s 99s 787) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches against classes inheriting from Hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:25 99s 99s 788) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches a hash with extra stuff 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:21 99s 99s 789) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches an int against anything() 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:30 99s 99s 790) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers can match against arbitrary objects that implement #=== 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:38 99s 99s 791) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches a string against anything() 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:34 99s 99s 792) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if more keys are present 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:48 99s 99s 793) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if passed many keys and many key/value pairs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:64 99s 99s 794) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if the key is present 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:44 99s 99s 795) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if passed one key and one key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:56 99s 99s 796) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches a string against a given key 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:52 99s 99s 797) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if passed many keys and one key/value pair 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:60 99s 99s 798) Combining implementation instructions can combine and_yield, a block implementation and and_throw 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:115 99s 99s 799) Combining implementation instructions raises an error if `and_call_original` is followed by any other instructions 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:181 99s 99s 800) Combining implementation instructions does not warn about overriding the stub when `:with` is chained off the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:165 99s 99s 801) Combining implementation instructions can combine and_yield and and_return 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:4 99s 99s 802) Combining implementation instructions can combine and_yield and and_throw 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:106 99s 99s 803) Combining implementation instructions can combine and_yield, a block implementation and and_raise 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:94 99s 99s 804) Combining implementation instructions can combine and_yield and and_raise 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:85 99s 99s 805) Combining implementation instructions can combine and_call_original, with, and_return 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:173 99s 99s 806) Combining implementation instructions warns when the inner implementation block is overridden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:160 99s 99s 807) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_most` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:49 99s 99s 808) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `stub` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:25 99s 99s 809) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `ordered` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:78 99s 99s 810) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `twice` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:67 99s 99s 811) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `with` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:31 99s 99s 812) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `once` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:61 99s 99s 813) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `times` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:55 99s 99s 814) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `exactly` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:37 99s 99s 815) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_least` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:43 99s 99s 816) Combining implementation instructions a double that already has a terminal `and_return(x)` action allows the terminal action to be overridden to `and_throw(y)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:142 99s 99s 817) Combining implementation instructions a double that already has a terminal `and_return(x)` action allows the terminal action to be overridden to `and_raise(y)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:137 99s 99s 818) Combining implementation instructions a double that already has a terminal `and_return(x)` action allows the terminal action to be overridden to `and_return(y)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:132 99s 99s 819) Combining implementation instructions a double that already has a terminal block action allows the block action to be overridden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:152 99s 99s 820) when using the :expect syntax still supports null object doubles 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:129 99s 99s 821) a double _not_ acting as a null object says it does not respond to messages it doesn't understand 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:8 99s 99s 822) a double _not_ acting as a null object says it responds to messages it does understand 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:12 99s 99s 823) a double _not_ acting as a null object raises an error when interpolated in a string as an integer 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:17 99s 99s 824) a message expectation with multiple return values with a specified count larger than the number of values fails fast when called greater than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:122 99s 99s 825) a message expectation with multiple return values with a specified count larger than the number of values fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:116 99s 99s 826) a message expectation with multiple return values with a specified count larger than the number of values uses the last return value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:109 99s 99s 827) A method stub handles multiple stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:72 99s 99s 828) A method stub overrides a pre-existing stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:501 99s 99s 829) A method stub returns values in order to consecutive calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:446 99s 99s 830) A method stub yields a specified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:462 99s 99s 831) A method stub allows a stub and an expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:507 99s 99s 832) A method stub keeps returning last value in consecutive calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:453 99s 99s 833) A method stub remains private when it stubs a private instance method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:88 99s 99s 834) A method stub ignores when expected message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:65 99s 99s 835) A method stub instructs an instance to respond_to the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:39 99s 99s 836) A method stub yields multiple times with multiple calls to and_yield 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:470 99s 99s 837) A method stub overrides a pre-existing method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:496 99s 99s 838) A method stub yields a specified object and return another specified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:479 99s 99s 839) A method stub is retained when stubbed object is `clone`d 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:78 99s 99s 840) A method stub throws when told to 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:486 99s 99s 841) A method stub is cleared when stubbed object when `dup`ed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:83 99s 99s 842) A method stub instructs a class object to respond_to the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:44 99s 99s 843) A method stub throws with argument when told to 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:491 99s 99s 844) A method stub ignores when expected message is received with no args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:49 99s 99s 845) A method stub ignores when message is received with args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:57 99s 99s 846) A method stub remains private when it stubs a private class method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:93 99s 99s 847) A method stub using `with` allows differing arities 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:107 99s 99s 848) A method stub using `with` determines which value is returned 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:99 99s 99s 849) A method stub using `and_return` returns declared value when message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:32 99s 99s 850) A method stub stubbing with prepend reuses our prepend module so as not to keep mutating the ancestors 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:199 99s 99s 851) A method stub stubbing with prepend does not unnecessarily prepend a module when stubbing a method on a module extended onto itself 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:178 99s 99s 852) A method stub stubbing with prepend handles stubbing prepended methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:143 99s 99s 853) A method stub stubbing with prepend does not unnecessarily prepend a module when the module was included 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:189 99s 99s 854) A method stub stubbing with prepend handles stubbing prepended methods on an object's singleton class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:158 99s 99s 855) A method stub stubbing with prepend does not unnecessarily prepend a module when the prepended module does not override the stubbed method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:168 99s 99s 856) A method stub stubbing with prepend handles stubbing prepended methods on a class's singleton class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:151 99s 99s 857) A method stub stubbing with prepend when a module with a method override is prepended after reset can still be stubbed again 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:231 99s 99s 858) A method stub stubbing with prepend when multiple modules are prepended, only one of which overrides the stubbed method can still be stubbed and reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:214 99s 99s 859) A method stub when the stubbed method is called does not call any methods on the passed args, since that could mutate them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:117 99s 99s 860) A method stub #rspec_reset restores existing private class methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:318 99s 99s 861) A method stub #rspec_reset restores existing instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:259 99s 99s 862) A method stub #rspec_reset correctly restores the visibility of methods whose visibility has been tweaked on the singleton class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:334 99s 99s 863) A method stub #rspec_reset restores existing class methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:292 99s 99s 864) A method stub #rspec_reset restores existing aliased module_function methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:299 99s 99s 865) A method stub #rspec_reset does not remove existing methods that have been stubbed twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:325 99s 99s 866) A method stub #rspec_reset restores existing private instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:285 99s 99s 867) A method stub #rspec_reset removes stubbed methods that didn't exist 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:253 99s 99s 868) A method stub #rspec_reset restores existing singleton methods with the appropriate context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:266 99s 99s 869) A method stub #rspec_reset correctly handles stubbing inherited mixed in class methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:353 99s 99s 870) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended class methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:416 99s 99s 871) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:400 99s 99s 872) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores non-prepended instance methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:408 99s 99s 873) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended object singleton methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:431 99s 99s 874) when a class method is aliased on a subclass and the method is mocked restores the original aliased public method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stash_spec.rb:26 99s 99s 875) the spy family of methods instance_spy passing a class by string reference takes a class name string and a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:84 99s 99s 876) the spy family of methods instance_spy passing a class by string reference behaves like a verifying spy with a foo method responds to methods on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:27 99s 99s 877) the spy family of methods instance_spy passing a class by string reference behaves like a verifying spy with a foo method fails fast when negative `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:45 99s 99s 878) the spy family of methods instance_spy passing a class by string reference behaves like a verifying spy with a foo method fails fast when `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:39 99s 99s 879) the spy family of methods instance_spy passing a class by string reference behaves like a verifying spy with a foo method records called methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:35 99s 99s 880) the spy family of methods instance_spy passing a class by string reference behaves like a verifying spy with a foo method does not respond to methods that are not on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:31 99s 99s 881) the spy family of methods instance_spy when passing a class object takes a class and a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:66 99s 99s 882) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method fails fast when negative `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:45 99s 99s 883) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method responds to methods on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:27 99s 99s 884) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method does not respond to methods that are not on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:31 99s 99s 885) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method records called methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:35 99s 99s 886) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method fails fast when `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:39 99s 99s 887) the spy family of methods object_spy takes an instance and a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:105 99s 99s 888) the spy family of methods object_spy behaves like a verifying spy with a foo method fails fast when `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:39 99s 99s 889) the spy family of methods object_spy behaves like a verifying spy with a foo method fails fast when negative `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:45 99s 99s 890) the spy family of methods object_spy behaves like a verifying spy with a foo method records called methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:35 99s 99s 891) the spy family of methods object_spy behaves like a verifying spy with a foo method responds to methods on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:27 99s 99s 892) the spy family of methods object_spy behaves like a verifying spy with a foo method does not respond to methods that are not on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:31 99s 99s 893) the spy family of methods class_spy takes a class and a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:123 99s 99s 894) the spy family of methods class_spy behaves like a verifying spy with a foo method does not respond to methods that are not on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:31 99s 99s 895) the spy family of methods class_spy behaves like a verifying spy with a foo method records called methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:35 99s 99s 896) the spy family of methods class_spy behaves like a verifying spy with a foo method responds to methods on the verified object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:27 99s 99s 897) the spy family of methods class_spy behaves like a verifying spy with a foo method fails fast when negative `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:45 99s 99s 898) the spy family of methods class_spy behaves like a verifying spy with a foo method fails fast when `have_received` is passed an undefined method name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:39 99s 99s 899) the spy family of methods spy responds to arbitrary methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:5 99s 99s 900) the spy family of methods spy takes a name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:9 99s 99s 901) the spy family of methods spy records called methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:13 99s 99s 902) the spy family of methods spy takes a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:17 99s 99s 903) the spy family of methods spy takes a name and a hash of method names and return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/spy_spec.rb:21 99s 99s 904) ordering supports duplicate messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:100 99s 99s 905) ordering ignores order of non ordered messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:80 99s 99s 906) ordering fails when messages are received out of order (2nd message 1st) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:38 99s 99s 907) ordering passes when messages are received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:7 99s 99s 908) ordering passes when messages are received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:16 99s 99s 909) ordering fails when messages are received out of order (3rd message 2nd) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:56 99s 99s 910) ordering fails when messages are received out of order (3rd message 1st) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:46 99s 99s 911) ordering passes when messages are received in order across objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:27 99s 99s 912) ordering fails when messages are out of order across objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mock_ordering_spec.rb:66 99s 99s 913) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes passed matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:9 99s 99s 914) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes itself properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:5 99s 99s 915) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when not all the entries in the expected are present 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:56 99s 99s 916) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when passed a composed matcher is passed and not satisfied 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:60 99s 99s 917) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:24 99s 99s 918) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:16 99s 99s 919) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, which includes nested arrays 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:28 99s 99s 920) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable with other matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:40 99s 99s 921) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:32 99s 99s 922) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable when nested 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:48 99s 99s 923) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in actual 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:36 99s 99s 924) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/array_including_matcher_spec.rb:20 99s 99s 925) Partially mocking an object that defines ==, after another mock has been defined does not raise an error when stubbing the object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:268 99s 99s 926) and_return when no argument is passed raises ArgumentError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_return_spec.rb:15 99s 99s 927) and_return when a block is passed raises ArgumentError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/and_return_spec.rb:7 99s 99s 928) allow(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:35 99s 99s 929) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 99s 99s 930) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 99s 99s 931) allow(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 99s 99s 932) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:526 99s 99s 933) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:528 99s 99s 934) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:524 99s 99s 935) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:527 99s 99s 936) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:523 99s 99s 937) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice returns nil for the original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:529 99s 99s 938) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it was not previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:525 99s 99s 939) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:500 99s 99s 940) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:498 99s 99s 941) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:496 99s 99s 942) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant returns nil for the original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:501 99s 99s 943) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:495 99s 99s 944) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it was not previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:497 99s 99s 945) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:499 99s 99s 946) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:564 99s 99s 947) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:567 99s 99s 948) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:569 99s 99s 949) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it was previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:565 99s 99s 950) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:563 99s 99s 951) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:566 99s 99s 952) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:568 99s 99s 953) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it was previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:511 99s 99s 954) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:513 99s 99s 955) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:510 99s 99s 956) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:514 99s 99s 957) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:515 99s 99s 958) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:509 99s 99s 959) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:512 99s 99s 960) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:450 99s 99s 961) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:449 99s 99s 962) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:444 99s 99s 963) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:448 99s 99s 964) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it was previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:446 99s 99s 965) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:445 99s 99s 966) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:447 99s 99s 967) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:539 99s 99s 968) RSpec::Mocks::Constant.original for a previously undefined hidden constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:536 99s 99s 969) RSpec::Mocks::Constant.original for a previously undefined hidden constant returns nil for the original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:542 99s 99s 970) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:540 99s 99s 971) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it was previously undefined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:538 99s 99s 972) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:537 99s 99s 973) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:541 99s 99s 974) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant returns nil for the original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:489 99s 99s 975) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:488 99s 99s 976) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:483 99s 99s 977) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:487 99s 99s 978) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:486 99s 99s 979) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:484 99s 99s 980) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it was not previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:485 99s 99s 981) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:463 99s 99s 982) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:458 99s 99s 983) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:461 99s 99s 984) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:462 99s 99s 985) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:460 99s 99s 986) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it was previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:459 99s 99s 987) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:457 99s 99s 988) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:581 99s 99s 989) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:579 99s 99s 990) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) returns nil for its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:582 99s 99s 991) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:580 99s 99s 992) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) exposes the provided string as the name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:576 99s 99s 993) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates the name is invalid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:577 99s 99s 994) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it was not previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:578 99s 99s 995) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:471 99s 99s 996) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it was not previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:472 99s 99s 997) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has not been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:475 99s 99s 998) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:474 99s 99s 999) RSpec::Mocks::Constant.original for a previously undefined stubbed constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:470 99s 99s 1000) RSpec::Mocks::Constant.original for a previously undefined stubbed constant returns nil for the original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:476 99s 99s 1001) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:473 99s 99s 1002) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:554 99s 99s 1003) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has not been stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:553 99s 99s 1004) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its original value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:555 99s 99s 1005) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it was previously defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:551 99s 99s 1006) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates the name is valid 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:550 99s 99s 1007) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its name 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:549 99s 99s 1008) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been mutated 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:552 99s 99s 1009) Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:94 99s 99s 1010) Test doubles format well in failure messages `object_double([])` with a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:82 99s 99s 1011) Test doubles format well in failure messages `object_double([])` without a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:88 99s 99s 1012) Test doubles format well in failure messages `class_double(SomeClass)` with a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:68 99s 99s 1013) Test doubles format well in failure messages `class_double(SomeClass)` without a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:74 99s 99s 1014) Test doubles format well in failure messages `instance_double(SomeClass)` avoids sending `instance_variable_get` to the double as it may be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:59 99s 99s 1015) Test doubles format well in failure messages `instance_double(SomeClass)` without a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:54 99s 99s 1016) Test doubles format well in failure messages `instance_double(SomeClass)` with a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:48 99s 99s 1017) Test doubles format well in failure messages `double` avoids sending `instance_variable_get` to the double as it may be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:39 99s 99s 1018) Test doubles format well in failure messages `double` without a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:34 99s 99s 1019) Test doubles format well in failure messages `double` with a name formats the name as a symbol if that was how it was provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:28 99s 99s 1020) Test doubles format well in failure messages `double` with a name # 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/formatting_spec.rb:24 99s 99s 1021) Marshal extensions #dump when rspec-mocks has been fully initialized applying and unapplying patch is idempotent 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/marshal_extension_spec.rb:36 99s 99s 1022) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate nil before serialization 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/marshal_extension_spec.rb:31 99s 99s 1023) Marshal extensions #dump when rspec-mocks has been fully initialized duplicates objects with stubbed or mocked implementations before serialization 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/marshal_extension_spec.rb:17 99s 99s 1024) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate other objects before serialization 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/marshal_extension_spec.rb:24 99s 99s 1025) Marshal extensions #dump outside the per-test lifecycle does not duplicate the object before serialization 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/marshal_extension_spec.rb:58 99s 99s 1026) a message expectation with multiple return values with a specified count equal to the number of values returns values in order to consecutive calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:60 99s 99s 1027) Expected argument verification (when `#with` is called) when doubling an unloaded class allows any arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:11 99s 99s 1028) Expected argument verification (when `#with` is called) when doubling a loaded class does not cover required args when `any_args` is not used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:97 99s 99s 1029) Expected argument verification (when `#with` is called) when doubling a loaded class for a method with keyword args matches against a hash submitted as keyword arguments and received as positional argument (in both Ruby 2 and Ruby 3) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:128 99s 99s 1030) Expected argument verification (when `#with` is called) when doubling a loaded class for a method with keyword args fails to match against a hash submitted as a positional argument and received as keyword arguments in Ruby 3.0 or later 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:134 99s 99s 1031) Expected argument verification (when `#with` is called) when doubling a loaded class for a method with keyword args when using `send` matches against keyword arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:150 99s 99s 1032) Expected argument verification (when `#with` is called) when doubling a loaded class when `no_args` is used does not allow a method expectation on a method that has required arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:72 99s 99s 1033) Expected argument verification (when `#with` is called) when doubling a loaded class when `no_args` is used allows a method expectation on a method that accepts no arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:58 99s 99s 1034) Expected argument verification (when `#with` is called) when doubling a loaded class when `no_args` is used allows a method expectation on a method that has defaults for all arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:66 99s 99s 1035) Expected argument verification (when `#with` is called) when doubling a loaded class when `no_args` is used for a method with required keyword args covers the required args when `any_args` is last 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:80 99s 99s 1036) Expected argument verification (when `#with` is called) when doubling a loaded class when `no_args` is used for a method with required keyword args does not cover the required args when there are args after `any_args` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:86 99s 99s 1037) Expected argument verification (when `#with` is called) when doubling a loaded class when `any_args` is used as the first argument, with too many additional args is disallowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:37 99s 99s 1038) Expected argument verification (when `#with` is called) when doubling a loaded class when `any_args` is used as the only argument is allowed regardless of how many args the method requires 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:29 99s 99s 1039) Expected argument verification (when `#with` is called) when doubling a loaded class when `any_args` is used as the first argument, with an allowed number of additional args is allowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:45 99s 99s 1040) Expected argument verification (when `#with` is called) when doubling a loaded class when `with` is called with no args fails with an error suggesting the user use `no_args` instead 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:119 99s 99s 1041) Expected argument verification (when `#with` is called) when doubling a loaded class when a list of args is provided does not allow a method expectation with an arity mismatch 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:111 99s 99s 1042) Expected argument verification (when `#with` is called) when doubling a loaded class when a list of args is provided allows a method expectation when the arity matches 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:105 99s 99s 1043) Using rspec-mocks features in before(:all) blocks #expect_any_instance_of(...).to receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1044) Using rspec-mocks features in before(:all) blocks #allow(...).to receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1045) Using rspec-mocks features in before(:all) blocks #expect(...).to receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1046) Using rspec-mocks features in before(:all) blocks allow(...).to receive_message_chain raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1047) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1048) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) does not hide the const 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/before_all_spec.rb:30 99s 99s 1049) Using rspec-mocks features in before(:all) blocks #hide_const(for an undefined const) raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1050) Using rspec-mocks features in before(:all) blocks #stub_const raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1051) Using rspec-mocks features in before(:all) blocks #stub_const does not stub the const 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/before_all_spec.rb:10 99s 99s 1052) Using rspec-mocks features in before(:all) blocks #allow_any_instance_of(...).to receive raises an error with a useful message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/support/before_all_shared_example_group.rb:11 99s 99s 1053) Using a reopened file object as a partial mock allows `write` to be stubbed and reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:199 99s 99s 1054) expection set on previously stubbed method handles concurrent validation of expectations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:26 99s 99s 1055) expection set on previously stubbed method indicates the site of expectation in the stacktrace when outputing arguments of similar calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:43 99s 99s 1056) expection set on previously stubbed method outputs arguments of similar calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:9 99s 99s 1057) expection set on previously stubbed method fails if message is not received after expectation is set 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:2 99s 99s 1058) expection set on previously stubbed method with argument constraint on stub matches specific args set on expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:68 99s 99s 1059) expection set on previously stubbed method with argument constraint on stub distinguishes between individual values and arrays properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:84 99s 99s 1060) expection set on previously stubbed method with argument constraint on stub fails if expectation's arg constraint is not met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:76 99s 99s 1061) expection set on previously stubbed method with argument constraint on stub distinguishes between duplicate individual values and arrays properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:95 99s 99s 1062) expection set on previously stubbed method with argument constraint on stub matches any args if no arg constraint set on expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:60 99s 99s 1063) a double acting as a null object fails verification when explicit exception not met 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:62 99s 99s 1064) a double acting as a null object allows unexpected message sends using `send` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:74 99s 99s 1065) a double acting as a null object ignores unexpected methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:69 99s 99s 1066) a double acting as a null object allows explicit expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:42 99s 99s 1067) a double acting as a null object returns an explicitly stubbed value from an expectation with no implementation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:56 99s 99s 1068) a double acting as a null object continues to return self from an explicit expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:51 99s 99s 1069) a double acting as a null object can be interpolated in a string as an integer 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:96 99s 99s 1070) a double acting as a null object allows expected message with different args second 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:90 99s 99s 1071) a double acting as a null object says it responds to everything 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:33 99s 99s 1072) a double acting as a null object returns a string from `to_str` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:47 99s 99s 1073) a double acting as a null object allows expected message with different args first 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:84 99s 99s 1074) a double acting as a null object allows unexpected message sends using `__send__` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:79 99s 99s 1075) a double acting as a null object does not allow null objects to be used outside of examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:104 99s 99s 1076) a double acting as a null object allows explicit stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/null_object_double_spec.rb:37 99s 99s 1077) Methods added to every object limits the number of methods that get added to all objects 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/methods_spec.rb:13 99s 99s 1078) when verify_partial_doubles configuration option is set does not allow a non-existing method to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:487 99s 99s 1079) when verify_partial_doubles configuration option is set verifies arity range when receiving a message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:556 99s 99s 1080) when verify_partial_doubles configuration option is set allows a method defined with method_missing to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:502 99s 99s 1081) when verify_partial_doubles configuration option is set can be temporarily supressed and nested 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:398 99s 99s 1082) when verify_partial_doubles configuration option is set does not allow a spy on unimplemented method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:491 99s 99s 1083) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an allowance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:432 99s 99s 1084) when verify_partial_doubles configuration option is set allows stubbing and calls the stubbed implementation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:572 99s 99s 1085) when verify_partial_doubles configuration option is set allows valid methods to be expected on any_instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:507 99s 99s 1086) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double allowance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:517 99s 99s 1087) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:529 99s 99s 1088) when verify_partial_doubles configuration option is set allows valid methods to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:375 99s 99s 1089) when verify_partial_doubles configuration option is set temporarily supressing partial doubles does not affect normal verifying doubles 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:413 99s 99s 1090) when verify_partial_doubles configuration option is set allows the mock to raise an error with yield 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:566 99s 99s 1091) when verify_partial_doubles configuration option is set avoids deadlocks when a proxy is accessed from within a `before_verifying_doubles` callback 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:443 99s 99s 1092) when verify_partial_doubles configuration option is set can be temporarily supressed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:385 99s 99s 1093) when verify_partial_doubles configuration option is set verifies arity range when matching arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:497 99s 99s 1094) when verify_partial_doubles configuration option is set does not allow a non-existing method to be called on any_instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:541 99s 99s 1095) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:421 99s 99s 1096) when verify_partial_doubles configuration option is set allows private methods to be expected on any_instance expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:512 99s 99s 1097) when verify_partial_doubles configuration option is set allows private methods to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:380 99s 99s 1098) when verify_partial_doubles configuration option is set does not allow missing methods to be called on any_instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:547 99s 99s 1099) when verify_partial_doubles configuration option is set when `.new` is stubbed uses the method signature from `#initialize` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:582 99s 99s 1100) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class with a private `new` uses the method signature from `#initialize` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:611 99s 99s 1101) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has redefined `new` uses the method signature of the redefined `new` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:588 99s 99s 1102) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has redefined `self.method` allows the stubbing of :new 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:640 99s 99s 1103) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class with a twice-aliased `new` uses the method signature from `#initialize` for arg verification 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:626 99s 99s 1104) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:599 99s 99s 1105) when verify_partial_doubles configuration option is set for a class can be temporarily supressed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:474 99s 99s 1106) when verify_partial_doubles configuration option is set for a class only runs the `before_verifying_doubles` callback for the class (not for superclasses) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:462 99s 99s 1107) a message expectation with multiple invoke handlers specifying at_least less than the number of values fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:67 99s 99s 1108) a message expectation with multiple invoke handlers specifying at_least less than the number of values uses the last return value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:60 99s 99s 1109) a message expectation with multiple invoke handlers specifying at_least less than the number of values when method is stubbed too uses the last value for subsequent calls 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:75 99s 99s 1110) a message expectation with multiple invoke handlers specifying at_least less than the number of values when method is stubbed too fails when called less than the specified number 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:82 99s 99s 1111) Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:270 99s 99s 1112) Diffs printed when arguments don't match with a matcher object that does not define #description for a matcher object that does not implement #description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:287 99s 99s 1113) Diffs printed when arguments don't match with a non matcher object does not print a diff when multiple single-line string arguments are mismatched 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:68 99s 99s 1114) Diffs printed when arguments don't match with a non matcher object prints a diff of the args lists for multiple mismatched string arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:57 99s 99s 1115) Diffs printed when arguments don't match with a non matcher object prints a diff of the strings for individual mismatched multi-line string arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:46 99s 99s 1116) Diffs printed when arguments don't match with a non matcher object does not print a diff when differ returns a string of only whitespace when colour is enabled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:33 99s 99s 1117) Diffs printed when arguments don't match with a non matcher object prints a diff with an expected hash arg and a non-hash actual arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:90 99s 99s 1118) Diffs printed when arguments don't match with a non matcher object prints a diff with array args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:241 99s 99s 1119) Diffs printed when arguments don't match with a non matcher object does not print a diff when single line arguments are mismatched 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:12 99s 99s 1120) Diffs printed when arguments don't match with a non matcher object prints a diff with hash args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:81 99s 99s 1121) Diffs printed when arguments don't match with a non matcher object does not print a diff when differ returns a string of only whitespace 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:21 99s 99s 1122) Diffs printed when arguments don't match with a non matcher object with keyword arguments on partial doubles prints a diff when keyword argument were expected but got an option hash (literal) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:187 99s 99s 1123) Diffs printed when arguments don't match with a non matcher object with keyword arguments on partial doubles prints a diff when the positional argument doesnt match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:201 99s 99s 1124) Diffs printed when arguments don't match with a non matcher object with keyword arguments on partial doubles prints a diff when keyword argument were expected but got an option hash (using splat) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:174 99s 99s 1125) Diffs printed when arguments don't match with a non matcher object with keyword arguments on normal doubles prints a diff when the positional argument doesnt match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:133 99s 99s 1126) Diffs printed when arguments don't match with a non matcher object with keyword arguments on normal doubles prints a diff when keyword argument were expected but got an option hash (using splat) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:102 99s 99s 1127) Diffs printed when arguments don't match with a non matcher object with keyword arguments on normal doubles prints a diff when keyword argument were expected but got an option hash (literal) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:117 99s 99s 1128) Diffs printed when arguments don't match with a non matcher object that defines #description does not use the object's description for a non-matcher object that implements #description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/diffing_spec.rb:251 99s 99s 1129) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the at_least method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1130) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the exactly method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1131) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the and_throw method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1132) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the and_yield method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1133) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the at_most method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1134) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the and_raise method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1135) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the and_return method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1136) Modifying invoked expectations behaves like a customization on an invoked expectation raises when the with method is called, indicating the expectation has already been invoked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 99s 99s 1137) A class double with the doubled class not loaded allows any method to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:19 99s 99s 1138) A class double with the doubled class not loaded includes the double name in errors for unexpected messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:12 99s 99s 1139) A class double with the doubled class not loaded trying to raise a class_double raises a TypeError 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:25 99s 99s 1140) A class double with the doubled class not loaded when the class const has been previously stubbed treats the class as being unloaded for `class_double('NonLoadedClass')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:60 99s 99s 1141) A class double with the doubled class not loaded when the class const has been previously stubbed treats the class as being unloaded for `instance_double(NonLoadedClass)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:65 99s 99s 1142) A class double with the doubled class not loaded when stubbing a private module method can mock private module methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:46 99s 99s 1143) RSpec::Mocks::Matchers::Receive has a description before being matched 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:636 99s 99s 1144) RSpec::Mocks::Matchers::Receive allow(...).not_to receive behaves like an expect syntax negative allowance is disabled since this expression is confusing 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 99s 99s 1145) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).not_to receive behaves like an expect syntax negative allowance is disabled since this expression is confusing 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 99s 99s 1146) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations cannot use `expect` with another matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:696 99s 99s 1147) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations can toggle the available syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:704 99s 99s 1148) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations behaves like using rspec-mocks in another test framework can use the `expect` syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 99s 99s 1149) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations behaves like using rspec-mocks in another test framework expects the method to be called when `expect` is used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 99s 99s 1150) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations behaves like using rspec-mocks in another test framework supports `expect(...).to_not receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 99s 99s 1151) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations behaves like using rspec-mocks in another test framework supports `expect(...).not_to receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 99s 99s 1152) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 99s 99s 1153) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance does not expect the message to be received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 99s 99s 1154) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 99s 99s 1155) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 99s 99s 1156) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher makes { } blocks trump do...end blocks when passed to a fluent interface method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 99s 99s 1157) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 99s 99s 1158) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows do...end blocks to be passed to the fluent interface methods without getting a warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 99s 99s 1159) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows a `{ ... }` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 99s 99s 1160) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to constrain the received arguments by matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 99s 99s 1161) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 99s 99s 1162) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not get confused by messages being passed as strings and symbols 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 99s 99s 1163) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not support other matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 99s 99s 1164) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does support inherited matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 99s 99s 1165) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 99s 99s 1166) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with required keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 99s 99s 1167) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 99s 99s 1168) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 99s 99s 1169) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive keyword args with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 99s 99s 1170) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive hash with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 99s 99s 1171) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver fails to expect to receive hash with keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 99s 99s 1172) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 99s 99s 1173) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 99s 99s 1174) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation sets up a message expectation that formats argument matchers correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:611 99s 99s 1175) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation sets up a message expectation that passes if the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 99s 99s 1176) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation provides a useful matcher description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 99s 99s 1177) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation sets up a message expectation that fails if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 99s 99s 1178) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 99s 99s 1179) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to constrain the received arguments by matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 99s 99s 1180) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher does not get confused by messages being passed as strings and symbols 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 99s 99s 1181) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 99s 99s 1182) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 99s 99s 1183) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 99s 99s 1184) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher makes { } blocks trump do...end blocks when passed to a fluent interface method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 99s 99s 1185) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 99s 99s 1186) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows a `{ ... }` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 99s 99s 1187) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows do...end blocks to be passed to the fluent interface methods without getting a warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 99s 99s 1188) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher does not support other matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 99s 99s 1189) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher does support inherited matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 99s 99s 1190) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 99s 99s 1191) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 99s 99s 1192) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 99s 99s 1193) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive hash with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 99s 99s 1194) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with required keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 99s 99s 1195) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 99s 99s 1196) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive keyword args with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 99s 99s 1197) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver fails to expect to receive hash with keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 99s 99s 1198) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 99s 99s 1199) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 99s 99s 1200) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation supports `to_not` as an alias for `not_to` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 99s 99s 1201) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 99s 99s 1202) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation prevents confusing double-negative expressions involving `never` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 99s 99s 1203) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation sets up a negative message expectation that passes if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 99s 99s 1204) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation sets up a negative message expectation that fails if the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 99s 99s 1205) RSpec::Mocks::Matchers::Receive allow(...).to receive on a class method, from a class with subclasses can stub the same method simultaneously in the superclass and subclasses 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:451 99s 99s 1206) RSpec::Mocks::Matchers::Receive allow(...).to receive on a class method, from a class with subclasses creates stub which can be called using `super` in a subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:446 99s 99s 1207) RSpec::Mocks::Matchers::Receive allow(...).to receive on a class method, from a class with subclasses if the method is not redefined in the subclass stubs the method in the subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:439 99s 99s 1208) RSpec::Mocks::Matchers::Receive allow(...).to receive on a class method, from a class with subclasses if the method is redefined in the subclass does not stub the method in the subclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:431 99s 99s 1209) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance does not expect the message to be received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 99s 99s 1210) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 99s 99s 1211) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 99s 99s 1212) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows a `{ ... }` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 99s 99s 1213) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does support inherited matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 99s 99s 1214) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not support other matchers 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 99s 99s 1215) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to constrain the received arguments by matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 99s 99s 1216) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows do...end blocks to be passed to the fluent interface methods without getting a warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 99s 99s 1217) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 99s 99s 1218) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not get confused by messages being passed as strings and symbols 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 99s 99s 1219) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher makes { } blocks trump do...end blocks when passed to a fluent interface method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 99s 99s 1220) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 99s 99s 1221) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive hash with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 99s 99s 1222) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive keyword args with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 99s 99s 1223) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 99s 99s 1224) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with required keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 99s 99s 1225) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 99s 99s 1226) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 99s 99s 1227) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver allows a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 99s 99s 1228) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver expects to receive keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 99s 99s 1229) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher without yielding receiver fails to expect to receive hash with keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 99s 99s 1230) RSpec::Mocks::Matchers::Receive allow(...).to receive ordered with receive counts is not supported 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:417 99s 99s 1231) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like resets partial mocks cleanly removes the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 99s 99s 1232) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly with fake frozen object allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 99s 99s 1233) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when removing the method double warns about being unable to remove the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 99s 99s 1234) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when removing the method double includes the spec location in the warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 99s 99s 1235) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 99s 99s 1236) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly with fake frozen object allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 99s 99s 1237) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when removing the method double includes the spec location in the warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 99s 99s 1238) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when removing the method double warns about being unable to remove the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 99s 99s 1239) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 99s 99s 1240) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation provides a useful matcher description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 99s 99s 1241) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation sets up a message expectation that fails if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 99s 99s 1242) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 99s 99s 1243) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation sets up a message expectation that passes if the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 99s 99s 1244) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation when a message is not received sets up a message expectation that formats argument matchers correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:493 99s 99s 1245) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation when a message is received the wrong number of times sets up a message expectation that formats argument matchers correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:502 99s 99s 1246) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to constrain the received arguments by matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 99s 99s 1247) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows do...end blocks to be passed to the fluent interface methods without getting a warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 99s 99s 1248) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 99s 99s 1249) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows chaining off a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 99s 99s 1250) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to configure how the subject responds 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 99s 99s 1251) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 99s 99s 1252) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher does not get confused by messages being passed as strings and symbols 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 99s 99s 1253) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher allows a `{ ... }` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 99s 99s 1254) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher makes { } blocks trump do...end blocks when passed to a fluent interface method 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 99s 99s 1255) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 99s 99s 1256) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 99s 99s 1257) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with required keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 99s 99s 1258) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with optional keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 99s 99s 1259) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver fails to expect to receive hash with keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 99s 99s 1260) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive keyword args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 99s 99s 1261) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive hash with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 99s 99s 1262) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver expects to receive keyword args with a hash 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 99s 99s 1263) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation behaves like a receive matcher without yielding receiver allows a `do...end` block implementation with keyword args to be provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 99s 99s 1264) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like resets partial mocks cleanly removes the method double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 99s 99s 1265) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with exact receive counts when the ordering is correct 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:524 99s 99s 1266) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts fails with exact receive counts when the ordering is incorrect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:533 99s 99s 1267) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts does not result in infinite recursion when `respond_to?` is stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:590 99s 99s 1268) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at most when the ordering is correct 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:568 99s 99s 1269) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at least when the ordering is correct 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:546 99s 99s 1270) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first can use `expect` with any matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:730 99s 99s 1271) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first with a nonsense allowance it fails with a reasonable error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:736 99s 99s 1272) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first behaves like using rspec-mocks in another test framework supports `expect(...).to_not receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 99s 99s 1273) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first behaves like using rspec-mocks in another test framework supports `expect(...).not_to receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 99s 99s 1274) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first behaves like using rspec-mocks in another test framework expects the method to be called when `expect` is used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 99s 99s 1275) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first behaves like using rspec-mocks in another test framework can use the `expect` syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 99s 99s 1276) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the allow warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:14 99s 99s 1277) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the expect warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:26 99s 99s 1278) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about expect(Klass.any_instance).to receive... 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:19 99s 99s 1279) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about allow(Klass.any_instance).to receive... 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:9 99s 99s 1280) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).not_to receive behaves like an expect syntax negative expectation prevents confusing double-negative expressions involving `never` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 99s 99s 1281) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).not_to receive behaves like an expect syntax negative expectation sets up a negative message expectation that passes if the message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 99s 99s 1282) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).not_to receive behaves like an expect syntax negative expectation sets up a negative message expectation that fails if the message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 99s 99s 1283) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).not_to receive behaves like an expect syntax negative expectation supports `to_not` as an alias for `not_to` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 99s 99s 1284) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).not_to receive behaves like an expect syntax negative expectation allows the caller to constrain the received arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 99s 99s 1285) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last can use `expect` with any matcher 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:758 99s 99s 1286) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last behaves like using rspec-mocks in another test framework supports `expect(...).not_to receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 99s 99s 1287) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last behaves like using rspec-mocks in another test framework supports `expect(...).to_not receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 99s 99s 1288) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last behaves like using rspec-mocks in another test framework expects the method to be called when `expect` is used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 99s 99s 1289) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last behaves like using rspec-mocks in another test framework can use the `expect` syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 99s 99s 1290) Constant Mutating #hide_const allows a constant to be hidden, then stubbed, restoring it to its original value properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:202 99s 99s 1291) Constant Mutating #hide_const can be hidden multiple times but still restores the original value properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:193 99s 99s 1292) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:87 99s 99s 1293) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:93 99s 99s 1294) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding allows it to be hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:82 99s 99s 1295) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding allows it to be hidden, though the operation has no effect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:134 99s 99s 1296) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:145 99s 99s 1297) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:139 99s 99s 1298) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant does not hide the top-level constant 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:166 99s 99s 1299) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:145 99s 99s 1300) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding allows it to be hidden, though the operation has no effect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:134 99s 99s 1301) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:139 99s 99s 1302) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding allows it to be hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:82 99s 99s 1303) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding resets the constant when rspec clear its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:87 99s 99s 1304) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:93 99s 99s 1305) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:93 99s 99s 1306) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:87 99s 99s 1307) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding allows it to be hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:82 99s 99s 1308) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:139 99s 99s 1309) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding allows it to be hidden, though the operation has no effect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:134 99s 99s 1310) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:145 99s 99s 1311) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding allows it to be hidden 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:82 99s 99s 1312) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding resets the constant when rspec clear its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:87 99s 99s 1313) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding returns nil 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:93 99s 99s 1314) Constant Mutating #stub_const requires a string argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:221 99s 99s 1315) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:72 99s 99s 1316) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:58 99s 99s 1317) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing resets it to its original value when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:64 99s 99s 1318) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1319) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1320) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1321) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1322) Constant Mutating #stub_const for an unloaded nested constant removes the root constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:387 99s 99s 1323) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1324) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1325) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1326) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1327) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1328) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1329) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1330) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1331) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer nested constants on a constant that does not support nested constants 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:298 99s 99s 1332) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer nested constants but given an object that does not support them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:282 99s 99s 1333) Constant Mutating #stub_const for a loaded unnested constant removes the transferred constants on reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:247 99s 99s 1334) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer a nested constant that is not defined 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:313 99s 99s 1335) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be selectively transferred to a stub module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:274 99s 99s 1336) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be transferred to a stub module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:238 99s 99s 1337) Constant Mutating #stub_const for a loaded unnested constant raises an error when asked to transfer a nested inherited constant 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:264 99s 99s 1338) Constant Mutating #stub_const for a loaded unnested constant does not transfer nested constants that are inherited from a superclass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:256 99s 99s 1339) Constant Mutating #stub_const for a loaded unnested constant can be stubbed multiple times but still restores the original value properly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:228 99s 99s 1340) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:58 99s 99s 1341) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:72 99s 99s 1342) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing resets it to its original value when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:64 99s 99s 1343) Constant Mutating #stub_const for a loaded unnested constant with global transfer_nested_constant option set allows nested constants to be transferred to a stub module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:332 99s 99s 1344) Constant Mutating #stub_const for a loaded unnested constant with global transfer_nested_constant option set when stubbing a constant that is not a module or a class does not attempt to transfer constants 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:342 99s 99s 1345) Constant Mutating #stub_const for a loaded unnested constant with global transfer_nested_constant option set when stubbing a constant that is not a module or a class still raises an error when the `:transfer_nested_constants` option is provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:347 99s 99s 1346) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant raises a helpful error if it cannot be stubbed due to an intermediary constant that is not a module 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:418 99s 99s 1347) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant removes the unloaded constant but leaves the loaded constant when rspec resets its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:409 99s 99s 1348) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1349) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1350) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1351) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1352) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing resets it to its original value when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:64 99s 99s 1353) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:58 99s 99s 1354) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:72 99s 99s 1355) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1356) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1357) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1358) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1359) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:58 99s 99s 1360) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:72 99s 99s 1361) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing resets it to its original value when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:64 99s 99s 1362) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:58 99s 99s 1363) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing resets it to its original value when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:64 99s 99s 1364) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:72 99s 99s 1365) Constant Mutating #stub_const for an unloaded deeply nested constant removes the root constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:398 99s 99s 1366) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1367) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1368) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1369) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1370) Constant Mutating #stub_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1371) Constant Mutating #stub_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1372) Constant Mutating #stub_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1373) Constant Mutating #stub_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1374) Constant Mutating #stub_const for an unloaded constant nested deeply within a deeply nested loaded constant removes the first unloaded constant but leaves the loaded nested constant when rspec resets its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:427 99s 99s 1375) Constant Mutating #stub_const for an unloaded constant nested deeply within a deeply nested loaded constant behaves like unloaded constant stubbing returns the stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:116 99s 99s 1376) Constant Mutating #stub_const for an unloaded constant nested deeply within a deeply nested loaded constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:110 99s 99s 1377) Constant Mutating #stub_const for an unloaded constant nested deeply within a deeply nested loaded constant behaves like unloaded constant stubbing allows it to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:105 99s 99s 1378) Constant Mutating #stub_const for an unloaded constant nested deeply within a deeply nested loaded constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/mutate_const_spec.rb:120 99s 99s 1379) A partial double names the class in the failure message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:12 99s 99s 1380) A partial double names the class in the failure message when expectation is on class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:19 99s 99s 1381) A partial double can accept the string form of a message for a negative message expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:124 99s 99s 1382) A partial double verifies the method was called when expecting a message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:112 99s 99s 1383) A partial double allows a class and a subclass to both be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:100 99s 99s 1384) A partial double shares message expectations with clone 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:160 99s 99s 1385) A partial double can accept a hash as a message argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:79 99s 99s 1386) A partial double can expect a message and set a return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:74 99s 99s 1387) A partial double can disallow messages from being received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:64 99s 99s 1388) A partial double can accept an inner hash as a message argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:86 99s 99s 1389) A partial double can accept the string form of a message for a positive message expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:119 99s 99s 1390) A partial double does not create an any_instance recorder when a message is allowed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:6 99s 99s 1391) A partial double allows `respond_to?` to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:46 99s 99s 1392) A partial double does not conflict with @options in the object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:26 99s 99s 1393) A partial double can create a positive message expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:95 99s 99s 1394) A partial double allows `class` to be stubbed even when `any_instance` has already been used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:32 99s 99s 1395) A partial double includes the class name in the error when mocking a class method that is called an extra time with the wrong args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:145 99s 99s 1396) A partial double clears message expectations when `dup`ed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:168 99s 99s 1397) A partial double uses reports nil in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:132 99s 99s 1398) A method stub with args does not complain if also mocked w/ different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:540 99s 99s 1399) A method stub with args does not complain if called with arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:524 99s 99s 1400) A method stub with args does not complain if not called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:521 99s 99s 1401) A method stub with args complains if called with no arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:528 99s 99s 1402) A method stub with args complains if also mocked w/ different args AND called w/ a 3rd set of args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:546 99s 99s 1403) A method stub with args complains if called with other arg 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:534 99s 99s 1404) A method stub with args uses the correct stubbed response when responding to a mock expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/stub_spec.rb:555 99s 99s 1405) PreciseCounts passes multiple calls with different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:48 99s 99s 1406) PreciseCounts passes multiple calls with different args and counts 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:56 99s 99s 1407) PreciseCounts fails when exactly n times method is called less than n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:8 99s 99s 1408) PreciseCounts passes if exactly n times method is called exactly n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:34 99s 99s 1409) PreciseCounts fails fast when exactly n times method is called more than n times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:17 99s 99s 1410) PreciseCounts fails when exactly n times method is never called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:27 99s 99s 1411) PreciseCounts returns the value given by a block when the exactly once method is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/precise_counts_spec.rb:42 99s 99s 1412) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) updates stubs on instances with existing stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:55 99s 99s 1413) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:49 99s 99s 1414) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 99s 99s 1415) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 99s 99s 1416) a message expectation with multiple return values and no specified count fails when there are too few calls (if there is no stub) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:38 99s 99s 1417) a message expectation with multiple return values and no specified count falls back to a previously stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:30 99s 99s 1418) a message expectation with multiple return values and no specified count returns values in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:23 99s 99s 1419) a message expectation with multiple return values and no specified count fails when there are too many calls (if there is no stub) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:44 99s 99s 1420) #thrice passes when called thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:8 99s 99s 1421) #thrice fails fast when call count is higher than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:28 99s 99s 1422) #thrice fails when called with wrong args on the first call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:44 99s 99s 1423) #thrice passes when called thrice with unspecified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:20 99s 99s 1424) #thrice fails when call count is lower than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:36 99s 99s 1425) #thrice fails when called with wrong args on the third call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:61 99s 99s 1426) #thrice passes when called thrice with specified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:14 99s 99s 1427) #thrice fails when called with wrong args on the second call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:52 99s 99s 1428) #thrice when called with negative expectation raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/thrice_counts_spec.rb:72 99s 99s 1429) RSpec::Mocks::ExampleMethods works properly when extended onto an object that has previous extended `RSpec::Matchers` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/example_methods_spec.rb:25 99s 99s 1430) RSpec::Mocks::ExampleMethods works properly when extended onto an object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/example_methods_spec.rb:21 99s 99s 1431) RSpec::Mocks::ExampleMethods works properly when extended onto an object that later extends `RSpec::Matchers` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/example_methods_spec.rb:31 99s 99s 1432) RSpec::Mocks::ExampleMethods does not define private helper methods since it gets included into a namespace where users define methods and could inadvertently overwrite them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/example_methods_spec.rb:4 99s 99s 1433) with default syntax configuration warns about stubbing once, regardless of how many times it is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:496 99s 99s 1434) with default syntax configuration includes the call site in the deprecation warning 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:564 99s 99s 1435) with default syntax configuration doesn't warn about stubbing after a reset and setting should 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:554 99s 99s 1436) with default syntax configuration it warns about should once, regardless of how many times it is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:475 99s 99s 1437) with default syntax configuration warns about should not once, regardless of how many times it is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:487 99s 99s 1438) with default syntax configuration warns about unstubbing once, regardless of how many times it is called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:541 99s 99s 1439) OrderGroup #consume returns the first ordered? expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/order_group_spec.rb:18 99s 99s 1440) OrderGroup #consume keeps returning ordered? expectation until all are returned 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/order_group_spec.rb:21 99s 99s 1441) RSpec::Mocks::Double yields many args 3 times consecutively to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:473 99s 99s 1442) RSpec::Mocks::Double yields single value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:483 99s 99s 1443) RSpec::Mocks::Double fails when args are expected but none are received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:416 99s 99s 1444) RSpec::Mocks::Double raises a given instance of an exception with arguments other than the standard 'message' 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:375 99s 99s 1445) RSpec::Mocks::Double yields two values 3 times consecutively 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:510 99s 99s 1446) RSpec::Mocks::Double yields two values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:501 99s 99s 1447) RSpec::Mocks::Double uses 'Double' in failure messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:15 99s 99s 1448) RSpec::Mocks::Double restores objects to their original state on rspec_reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:580 99s 99s 1449) RSpec::Mocks::Double temporarily replaces a method stub on a non-double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:611 99s 99s 1450) RSpec::Mocks::Double raises exception if args don't match when method called even when using null_object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:243 99s 99s 1451) RSpec::Mocks::Double is wrappable in an array when a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:296 99s 99s 1452) RSpec::Mocks::Double temporarily replaces a method stub on a double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:587 99s 99s 1453) RSpec::Mocks::Double responds to to_ary as a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:302 99s 99s 1454) RSpec::Mocks::Double does not respond_to? method_missing (because it's private) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:11 99s 99s 1455) RSpec::Mocks::Double fails on no args if any args received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:409 99s 99s 1456) RSpec::Mocks::Double allows setter methods to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:52 99s 99s 1457) RSpec::Mocks::Double allows parameter as return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:197 99s 99s 1458) RSpec::Mocks::Double fails if expectation block fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:280 99s 99s 1459) RSpec::Mocks::Double does not mess with the stub's yielded values when also doubleed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:635 99s 99s 1460) RSpec::Mocks::Double has method_missing as private 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:7 99s 99s 1461) RSpec::Mocks::Double fails right away when method defined as never is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:336 99s 99s 1462) RSpec::Mocks::Double does not get confused when a negative expectation is used with a string and symbol message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:178 99s 99s 1463) RSpec::Mocks::Double warns when `and_return` is called on a negative expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:109 99s 99s 1464) RSpec::Mocks::Double fails when array arguments do not match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:150 99s 99s 1465) RSpec::Mocks::Double returns the stubbed value when stubbed with args and no new value specified 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:628 99s 99s 1466) RSpec::Mocks::Double yields 0 args multiple times to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:438 99s 99s 1467) RSpec::Mocks::Double throws when told to 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:393 99s 99s 1468) RSpec::Mocks::Double returns value from block by default 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:423 99s 99s 1469) RSpec::Mocks::Double yields one arg 3 times consecutively to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:455 99s 99s 1470) RSpec::Mocks::Double raises an error when a previously stubbed method has a negative expectation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:605 99s 99s 1471) RSpec::Mocks::Double raises RuntimeError by default 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:342 99s 99s 1472) RSpec::Mocks::Double fails when calling yielding method with wrong arity 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:520 99s 99s 1473) RSpec::Mocks::Double raises RuntimeError with a message by default 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:347 99s 99s 1474) RSpec::Mocks::Double does not get confused when a positive expectation is used with a string and symbol message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:187 99s 99s 1475) RSpec::Mocks::Double prevents confusing double-negative expressions involving `never` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:103 99s 99s 1476) RSpec::Mocks::Double reports line number of expectation of unreceived message after a message expectation after similar stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:87 99s 99s 1477) RSpec::Mocks::Double does not raise when told to if args dont match 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:386 99s 99s 1478) RSpec::Mocks::Double clears expectations after verify 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:571 99s 99s 1479) RSpec::Mocks::Double responds to to_a as a null object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:306 99s 99s 1480) RSpec::Mocks::Double allows string representation of methods in constructor 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:47 99s 99s 1481) RSpec::Mocks::Double fails when calling yielding method without block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:546 99s 99s 1482) RSpec::Mocks::Double allows `class` to be stubbed even when `any_instance` has already been used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:60 99s 99s 1483) RSpec::Mocks::Double reports line number of expectation of unreceived message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:77 99s 99s 1484) RSpec::Mocks::Double allows `send` to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:71 99s 99s 1485) RSpec::Mocks::Double raises an exception of a given type with a message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:357 99s 99s 1486) RSpec::Mocks::Double yields many args to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:465 99s 99s 1487) RSpec::Mocks::Double ignores args on any args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:400 99s 99s 1488) RSpec::Mocks::Double returns nil if no return value is set and there is no previously stubbed value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:210 99s 99s 1489) RSpec::Mocks::Double fails when calling yielding method consecutively with wrong arity 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:536 99s 99s 1490) RSpec::Mocks::Double passes proc to expectation block without an argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:316 99s 99s 1491) RSpec::Mocks::Double fails if unexpected method called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:264 99s 99s 1492) RSpec::Mocks::Double yields one arg to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:447 99s 99s 1493) RSpec::Mocks::Double returns the stubbed value when no new value specified 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:621 99s 99s 1494) RSpec::Mocks::Double does not require a different signature to replace a method stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:596 99s 99s 1495) RSpec::Mocks::Double raises an exception of a given type without an error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:352 99s 99s 1496) RSpec::Mocks::Double can yield multiple times when told to do so 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:643 99s 99s 1497) RSpec::Mocks::Double generates the correct error when an unfulfilled expectation uses an unused double as a `with` argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:38 99s 99s 1498) RSpec::Mocks::Double does not blow up when resetting standard object methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:25 99s 99s 1499) RSpec::Mocks::Double hides internals in its inspect representation 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:20 99s 99s 1500) RSpec::Mocks::Double raises a given instance of an exception 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:362 99s 99s 1501) RSpec::Mocks::Double fails when receiving message specified as not to be received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:130 99s 99s 1502) RSpec::Mocks::Double assigns stub return values 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:653 99s 99s 1503) RSpec::Mocks::Double uses block for expectation if provided 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:270 99s 99s 1504) RSpec::Mocks::Double passes when not receiving message specified as not to be received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:98 99s 99s 1505) RSpec::Mocks::Double passes proc to expectation block with an argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:321 99s 99s 1506) RSpec::Mocks::Double raises exception if args don't match when method called even when the method is stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:234 99s 99s 1507) RSpec::Mocks::Double passes proc to stub block without an argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:326 99s 99s 1508) RSpec::Mocks::Double raises exception if args don't match when method called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:216 99s 99s 1509) RSpec::Mocks::Double is wrappable in an array 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:290 99s 99s 1510) RSpec::Mocks::Double is able to double send 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:553 99s 99s 1511) RSpec::Mocks::Double is able to raise from method calling yielding double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:559 99s 99s 1512) RSpec::Mocks::Double does not get string vs symbol messages confused 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:31 99s 99s 1513) RSpec::Mocks::Double passes when receiving message specified as not to be received with different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:123 99s 99s 1514) RSpec::Mocks::Double fails when receiving message specified as not to be received with args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:140 99s 99s 1515) RSpec::Mocks::Double passes proc to stub block with an argument 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:331 99s 99s 1516) RSpec::Mocks::Double yields 0 args to blocks that take a variable number of arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:430 99s 99s 1517) RSpec::Mocks::Double returns the previously stubbed value if no return value is set 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:203 99s 99s 1518) RSpec::Mocks::Double yields single value 3 times consecutively 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:491 99s 99s 1519) RSpec::Mocks::Double fails when calling yielding method with invalid kw args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:528 99s 99s 1520) RSpec::Mocks::Double string representation generated by #to_s does not contain < because that might lead to invalid HTML in some situations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:722 99s 99s 1521) RSpec::Mocks::Double == sends '== self' to the comparison object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:752 99s 99s 1522) RSpec::Mocks::Double when specifying a message should not be received with specific args using `expect(...).to receive().never` passes when receiving the message with different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:170 99s 99s 1523) RSpec::Mocks::Double when specifying a message should not be received with specific args using `expect(...).not_to receive()` passes when receiving the message with different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:162 99s 99s 1524) RSpec::Mocks::Double double created with no name does not use a name in a failure message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:739 99s 99s 1525) RSpec::Mocks::Double double created with no name does respond to initially stubbed methods 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:744 99s 99s 1526) RSpec::Mocks::Double a double message receiving a block calls the block after #times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:702 99s 99s 1527) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:668 99s 99s 1528) RSpec::Mocks::Double a double message receiving a block calls the block after #ordered 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:710 99s 99s 1529) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` after a similar stub 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:676 99s 99s 1530) RSpec::Mocks::Double a double message receiving a block calls the block after #twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:693 99s 99s 1531) RSpec::Mocks::Double a double message receiving a block calls the block after #once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:685 99s 99s 1532) RSpec::Mocks::Double even when a similar expectation with different arguments exist raises exception if args don't match when method called, correctly reporting the offending arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:224 99s 99s 1533) RSpec::Mocks::Double with a method that has a default argument raises an exception if the arguments don't match when the method is called, correctly reporting the offending arguments 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:253 99s 99s 1534) RSpec::Mocks::Double with with args with non-matching args fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:772 99s 99s 1535) RSpec::Mocks::Double with with args with non-matching doubles fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:782 99s 99s 1536) RSpec::Mocks::Double with with args with matching args passes 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:765 99s 99s 1537) RSpec::Mocks::Double with with args with non-matching doubles as_null_object fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:794 99s 99s 1538) RSpec::Mocks::Double with with a block with matching args returns the result of the block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:808 99s 99s 1539) RSpec::Mocks::Double with with a block with non-matching args fails 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:815 99s 99s 1540) RSpec::Mocks::Double#to_str should not respond to #to_str to avoid being coerced to strings by the runtime 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/double_spec.rb:730 99s 99s 1541) .allow_message sets up message allowance with params and return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:16 99s 99s 1542) .allow_message sets up basic message allowance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:6 99s 99s 1543) .allow_message supports block implementations 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:26 99s 99s 1544) .allow_message does not set an expectation that the message will be received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:31 99s 99s 1545) .allow_message does not get confused when the string and symbol message form are both used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:36 99s 99s 1546) .allow_message when target cannot be proxied raises ArgumentError with message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:47 99s 99s 1547) Method visibility when using partial mocks keeps private methods private 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:324 99s 99s 1548) Method visibility when using partial mocks keeps public methods public 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:318 99s 99s 1549) Method visibility when using partial mocks keeps protected methods protected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:330 99s 99s 1550) PartialDoubleUsingMocksDirectly passes when expected message is received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:43 99s 99s 1551) PartialDoubleUsingMocksDirectly restores the original method if it existed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:55 99s 99s 1552) PartialDoubleUsingMocksDirectly fails when expected message is not received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:28 99s 99s 1553) PartialDoubleUsingMocksDirectly passes when message is received with correct args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:49 99s 99s 1554) PartialDoubleUsingMocksDirectly fails when message is received with incorrect args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:35 99s 99s 1555) PartialDoubleUsingMocksDirectly with a class method handled by method_missing restores the original behavior 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:74 99s 99s 1556) PartialDoubleUsingMocksDirectly with an instance method handled by method_missing restores the original behavior 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:64 99s 99s 1557) An instance double with the doubled class not loaded handles classes that are materialized after mocking 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:35 99s 99s 1558) An instance double with the doubled class not loaded allows any instance method to be stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:19 99s 99s 1559) An instance double with the doubled class not loaded allows any instance method to be expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:25 99s 99s 1560) An instance double with the doubled class not loaded includes the doubled module in errors for unexpected messages 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:12 99s 99s 1561) An instance double with the doubled class not loaded for null objects returns self from any message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:45 99s 99s 1562) An instance double with the doubled class not loaded for null objects reports it responds to any message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:49 99s 99s 1563) An instance double with the doubled class not loaded when the class const has been previously stubbed treats the class as unloaded for `instance_double('NonLoadedClass')` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:59 99s 99s 1564) An instance double with the doubled class not loaded when the class const has been previously stubbed treats the class as unloaded for `instance_double(NonLoadedClass)` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:64 99s 99s 1565) when the should syntax is enabled on a non-default syntax host continues to warn about the should syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/should_syntax_spec.rb:574 99s 99s 1566) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received generates a useful description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 99s 99s 1567) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received takes a do-end block and yields the arguments given to the stubbed method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 99s 99s 1568) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 99s 99s 1569) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received takes a curly-bracket block and yields the arguments given to the stubbed method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 99s 99s 1570) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received resets expectations on class methods when mocks are reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 99s 99s 1571) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received can generate a description after mocks have been torn down (e.g. when rspec-core requests it) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 99s 99s 1572) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received passes when the double has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 99s 99s 1573) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received fails when a null object has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 99s 99s 1574) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received forwards any block passed during method invocation to the `have_received` block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 99s 99s 1575) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received passes if expectations against the yielded arguments pass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 99s 99s 1576) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received produces an error message that matches the expected method if another method was called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 99s 99s 1577) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received fails when the double has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 99s 99s 1578) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received fails if expectations against the yielded arguments fail 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 99s 99s 1579) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received passes when a null object has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 99s 99s 1580) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received fails when the method has been mocked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 99s 99s 1581) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received notifies failures via rspec-support's failure notification system 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 99s 99s 1582) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received passes if expectations against yielded keyword arguments pass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 99s 99s 1583) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received fails when the method has not been previously stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 99s 99s 1584) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts exactly fails when the message was received more times than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 99s 99s 1585) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts exactly passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 99s 99s 1586) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts exactly fails when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 99s 99s 1587) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts once fails when the message was received twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 99s 99s 1588) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts once fails when the message was never received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 99s 99s 1589) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts once passes when the message was received once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 99s 99s 1590) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` only considers the calls with matching args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 99s 99s 1591) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` does not group counts on repeated arguments for a single message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 99s 99s 1592) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` groups the "got" arguments based on the method call that included them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 99s 99s 1593) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` includes single arguments based on the method call that included them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 99s 99s 1594) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` keeps the array combinations distinguished in the group 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 99s 99s 1595) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when the message is received too many times includes the counts of calls with matching args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 99s 99s 1596) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when the message is received without any args matching includes unmatched args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 99s 99s 1597) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts when constrained by `with` when the message is received too few times includes the counts of calls with matching args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 99s 99s 1598) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts thrice fails when the message was received more than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 99s 99s 1599) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts thrice passes when the message was received thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 99s 99s 1600) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts thrice fails when the message was received less than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 99s 99s 1601) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts twice fails when the message was received once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 99s 99s 1602) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts twice passes when the message was received twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 99s 99s 1603) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts twice fails when the message was received thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 99s 99s 1604) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_least fails when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 99s 99s 1605) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_least passes when the message was received more times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 99s 99s 1606) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_least passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 99s 99s 1607) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_most passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 99s 99s 1608) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_most passes when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 99s 99s 1609) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received counts at_most fails when the message was received more times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 99s 99s 1610) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered passes when the messages were received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 99s 99s 1611) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered fails when the messages are received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 99s 99s 1612) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered fails with exact receive counts when received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 99s 99s 1613) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered passes with exact receive counts when received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 99s 99s 1614) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered when used with `with` fails when the order is not matched 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 99s 99s 1615) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered when used with `with` passes when the order lines up 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 99s 99s 1616) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered when used on individually allowed messages passes when the messages were received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 99s 99s 1617) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received ordered when used on individually allowed messages fails when the messages are received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 99s 99s 1618) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received with passes when the given args match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 99s 99s 1619) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).to have_received with fails when the given args do not match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 99s 99s 1620) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect_any_instance_of(...).not_to have_received fails because we dont want to support it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 99s 99s 1621) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available allow(...).to have_received fails because it's nonsensical 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 99s 99s 1622) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available allow_any_instance_of(...).to have_received fails because it's nonsensical 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 99s 99s 1623) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect_any_instance_of(...).to have_received fails because we dont want to support it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 99s 99s 1624) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow times to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1625) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received fails when the method has not been previously stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 99s 99s 1626) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow once to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1627) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received fails when the double has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 99s 99s 1628) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received notifies failures via rspec-support's failure notification system 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 99s 99s 1629) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received passes when the double has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 99s 99s 1630) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow at_most to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1631) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow twice to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1632) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow exactly to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1633) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received does not allow at_least to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1634) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received with fails when the given args match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 99s 99s 1635) RSpec::Mocks::Matchers::HaveReceived when used in a context that has rspec-mocks and rspec-expectations available expect(...).not_to have_received with passes when the given args do not match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 99s 99s 1636) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a partial double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:12 99s 99s 1637) RSpec::Mocks::MessageExpectation has a nice string representation for a message expectation constrained by `with` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:18 99s 99s 1638) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a test double 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:6 99s 99s 1639) negative expectation failure expect_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:146 99s 99s 1640) negative expectation failure allow(...).to_not receive_messages(:a => 1, :b => 2) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:125 99s 99s 1641) negative expectation failure expect(...).to_not receive_messages(:a => 1, :b => 2) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:139 99s 99s 1642) negative expectation failure allow_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:132 99s 99s 1643) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect_any_instance_of(...).not_to have_received fails because we dont want to support it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 99s 99s 1644) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow exactly to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1645) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow at_most to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1646) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received passes when the double has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 99s 99s 1647) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow at_least to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1648) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received fails when the double has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 99s 99s 1649) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow times to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1650) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received fails when the method has not been previously stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 99s 99s 1651) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received notifies failures via rspec-support's failure notification system 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 99s 99s 1652) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow once to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1653) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received does not allow twice to be used because it creates confusion 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 99s 99s 1654) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received with fails when the given args match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 99s 99s 1655) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).not_to have_received with passes when the given args do not match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 99s 99s 1656) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available allow_any_instance_of(...).to have_received fails because it's nonsensical 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 99s 99s 1657) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received fails when the method has been mocked 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 99s 99s 1658) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received fails when a null object has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 99s 99s 1659) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received fails when the double has not received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 99s 99s 1660) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received passes if expectations against the yielded arguments pass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 99s 99s 1661) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received passes when a null object has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 99s 99s 1662) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received passes when the double has received the given message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 99s 99s 1663) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received gives precedence to a `{ ... }` block when both forms are provided since that form actually binds to `receive` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 99s 99s 1664) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received fails when the method has not been previously stubbed 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 99s 99s 1665) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received passes if expectations against yielded keyword arguments pass 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 99s 99s 1666) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received takes a curly-bracket block and yields the arguments given to the stubbed method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 99s 99s 1667) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received fails if expectations against the yielded arguments fail 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 99s 99s 1668) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received can generate a description after mocks have been torn down (e.g. when rspec-core requests it) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 99s 99s 1669) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received generates a useful description 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 99s 99s 1670) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received resets expectations on class methods when mocks are reset 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 99s 99s 1671) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received produces an error message that matches the expected method if another method was called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 99s 99s 1672) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received forwards any block passed during method invocation to the `have_received` block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 99s 99s 1673) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received notifies failures via rspec-support's failure notification system 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 99s 99s 1674) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received takes a do-end block and yields the arguments given to the stubbed method call 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 99s 99s 1675) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered passes with exact receive counts when received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 99s 99s 1676) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered passes when the messages were received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 99s 99s 1677) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered fails when the messages are received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 99s 99s 1678) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered fails with exact receive counts when received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 99s 99s 1679) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered when used with `with` passes when the order lines up 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 99s 99s 1680) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered when used with `with` fails when the order is not matched 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 99s 99s 1681) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered when used on individually allowed messages passes when the messages were received in order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 99s 99s 1682) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received ordered when used on individually allowed messages fails when the messages are received out of order 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 99s 99s 1683) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received with fails when the given args do not match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 99s 99s 1684) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received with passes when the given args match the args used with the message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 99s 99s 1685) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts thrice fails when the message was received less than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 99s 99s 1686) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts thrice fails when the message was received more than three times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 99s 99s 1687) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts thrice passes when the message was received thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 99s 99s 1688) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_least passes when the message was received more times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 99s 99s 1689) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_least fails when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 99s 99s 1690) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_least passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 99s 99s 1691) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts twice fails when the message was received once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 99s 99s 1692) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts twice passes when the message was received twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 99s 99s 1693) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts twice fails when the message was received thrice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 99s 99s 1694) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts once fails when the message was never received 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 99s 99s 1695) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts once fails when the message was received twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 99s 99s 1696) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts once passes when the message was received once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 99s 99s 1697) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts exactly fails when the message was received more times than expected 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 99s 99s 1698) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts exactly passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 99s 99s 1699) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts exactly fails when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 99s 99s 1700) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` only considers the calls with matching args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 99s 99s 1701) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when the message is received too many times includes the counts of calls with matching args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 99s 99s 1702) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when the message is received too few times includes the counts of calls with matching args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 99s 99s 1703) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when the message is received without any args matching includes unmatched args in the error message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 99s 99s 1704) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` includes single arguments based on the method call that included them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 99s 99s 1705) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` keeps the array combinations distinguished in the group 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 99s 99s 1706) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` does not group counts on repeated arguments for a single message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 99s 99s 1707) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts when constrained by `with` when constrained with grouped arguments `with` groups the "got" arguments based on the method call that included them 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 99s 99s 1708) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_most fails when the message was received more times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 99s 99s 1709) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_most passes when the message was received fewer times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 99s 99s 1710) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received counts at_most passes when the message was received the given number of times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 99s 99s 1711) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect_any_instance_of(...).to have_received fails because we dont want to support it 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 99s 99s 1712) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available allow(...).to have_received fails because it's nonsensical 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 99s 99s 1713) Failure notification does not allow a double to miscount the number of times a message was received when a failure is notified in an alternate way 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:24 99s 99s 1714) Failure notification includes the line of future expectation in the notification for an unreceived message 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:16 99s 99s 1715) Failure notification uses the rspec-support notifier to support `aggregate_failures` 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:8 99s 99s 1716) Failure notification when using `aggregate_failures` failing negative expectations are only notified once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:58 99s 99s 1717) Failure notification when using `aggregate_failures` spy failures for messages received with unexpected args are reported correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:45 99s 99s 1718) Failure notification when using `aggregate_failures` spy failures for unreceived messages are reported correctly 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/failure_notification_spec.rb:34 99s 99s 1719) A partial class mock that has been subclassed cleans up stubs during #reset to prevent leakage onto subclasses between examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:278 99s 99s 1720) A partial class mock that has been subclassed stubbing a base class class method returns the value for the stub on the base class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:292 99s 99s 1721) A partial class mock that has been subclassed stubbing a base class class method returns the value for the descendent class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/partial_double_spec.rb:296 99s 99s 1722) #once fails when called with wrong args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:26 99s 99s 1723) #once passes when called once with unspecified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:20 99s 99s 1724) #once passes when called once with specified args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:14 99s 99s 1725) #once passes when called once 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:8 99s 99s 1726) #once fails when not called 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:42 99s 99s 1727) #once fails fast when called twice 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:34 99s 99s 1728) #once when called with the wrong number of times with the specified args and also called with different args mentions the wrong call count in the failure message rather than the different args 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:50 99s 99s 1729) #once when called with negative expectation raises an error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/once_counts_spec.rb:73 99s 99s 1730) a double stubbed with multiple return values can still set a message expectation with a single return value 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/multiple_return_value_spec.rb:10 99s 99s 1731) RSpec::Mocks.teardown resets method stubs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:54 99s 99s 1732) RSpec::Mocks.teardown does not put rspec-mocks into an inconsistent state when called extra times 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:61 99s 99s 1733) RSpec::Mocks.verify delegates to the space 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:42 99s 99s 1734) RSpec::Mocks behaves like library wide checks issues no warnings when loaded 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # 99s 99s 1735) RSpec::Mocks behaves like library wide checks only loads a known set of stdlibs so gem authors are forced to load libs they use to have passing specs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # 99s 99s 1736) RSpec::Mocks behaves like library wide checks issues no warnings when the spec files are loaded 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # 99s 99s 1737) RSpec::Mocks behaves like library wide checks has no malformed whitespace 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # 99s 99s 1738) RSpec::Mocks.with_temporary_scope tears down even if an error occurs 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:189 99s 99s 1739) RSpec::Mocks.with_temporary_scope does not verify if an error occurs before the block completes 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:202 99s 99s 1740) RSpec::Mocks.with_temporary_scope returns the result of the passed block 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:212 99s 99s 1741) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const does not allow the stubbed constants to be used in the examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:137 99s 99s 1742) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const does not allow the stubbed constants to be used after the scope in before(:all) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:142 99s 99s 1743) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const allows the stubbed constants to be used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:133 99s 99s 1744) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double does not allow the double to be used after the scope in before(:all) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:117 99s 99s 1745) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double allows the stubbed double to be used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:107 99s 99s 1746) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double does not allow the double to be used in the examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:111 99s 99s 1747) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub does not allow the double to be used after the scope in before(:all) 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:183 99s 99s 1748) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub does not allow the double to be used in the examples 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:177 99s 99s 1749) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub allows the stub to be used 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:173 99s 99s 1750) RSpec::Mocks.with_temporary_scope in a before(:all) with an unmet mock expectation fails with a mock expectation error 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:158 99s 99s 1751) RSpec::Mocks.setup starts a new space scope that is later removed by .teardown 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:76 99s 99s 1752) RSpec::Mocks.configuration returns a memoized configuration instance 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:89 99s 99s 1753) RSpec::Mocks when there is a `let` declaration that overrides an argument matcher allows the `let` definition to win 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks_spec.rb:229 99s 99s 1754) RSpec::Mocks::Configuration adds stub and should_receive to the given modules 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:12 99s 99s 1755) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:36 99s 99s 1756) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] adds the expect methods to the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:115 99s 99s 1757) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] adds `any_instance` to every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:111 99s 99s 1758) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] adds the should methods to every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:107 99s 99s 1759) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:119 99s 99s 1760) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] does not warn about the should syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:123 99s 99s 1761) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should is a no-op when configured a second time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:97 99s 99s 1762) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should reports that the syntax is :should 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:88 99s 99s 1763) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should adds `any_instance` to every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:80 99s 99s 1764) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should removes the expect methods from the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:84 99s 99s 1765) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should does not warn about the should syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:92 99s 99s 1766) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should adds the should methods to every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:76 99s 99s 1767) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :expect adds the expect methods to the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:58 99s 99s 1768) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :expect removes the should methods from every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:50 99s 99s 1769) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :expect reports that the syntax is :expect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:62 99s 99s 1770) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :expect removes `any_instance` from every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:54 99s 99s 1771) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :expect is a no-op when configured a second time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:66 99s 99s 1772) RSpec::Mocks::Configuration#when_declaring_verifying_double captures the supplied blocks 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:177 99s 99s 1773) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:36 99s 99s 1774) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes `any_instance` from every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:54 99s 99s 1775) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes the should methods from every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:50 99s 99s 1776) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect adds the expect methods to the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:58 99s 99s 1777) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect reports that the syntax is :expect 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:62 99s 99s 1778) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect is a no-op when configured a second time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:66 99s 99s 1779) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds `any_instance` to every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:111 99s 99s 1780) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds the expect methods to the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:115 99s 99s 1781) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:119 99s 99s 1782) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] does not warn about the should syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:123 99s 99s 1783) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds the should methods to every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:107 99s 99s 1784) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should is a no-op when configured a second time 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:97 99s 99s 1785) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should does not warn about the should syntax 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:92 99s 99s 1786) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds `any_instance` to every class 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:80 99s 99s 1787) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds the should methods to every object 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:76 99s 99s 1788) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should removes the expect methods from the example group context 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:84 99s 99s 1789) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should reports that the syntax is :should 99s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 99s # ./spec/rspec/mocks/configuration_spec.rb:88 99s 99s Finished in 0.26562 seconds (files took 0.27883 seconds to load) 99s 1789 examples, 0 failures, 1789 pending 99s 99s Randomized with seed 5453 99s 99s mv lib.off lib 99s cd - 99s 99s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 99s ∙ rspec-support ∙ 99s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 99s 99s cd rspec-support 99s /usr/bin/ruby3.3 -S rspec spec/rspec/support/comparable_version_spec.rb spec/rspec/support/deprecation_helpers_spec.rb spec/rspec/support/differ_spec.rb spec/rspec/support/directory_maker_spec.rb spec/rspec/support/encoded_string_spec.rb spec/rspec/support/fuzzy_matcher_spec.rb spec/rspec/support/matcher_definition_spec.rb spec/rspec/support/method_signature_verifier_spec.rb spec/rspec/support/mutex_spec.rb spec/rspec/support/object_formatter_spec.rb spec/rspec/support/recursive_const_methods_spec.rb spec/rspec/support/reentrant_mutex_spec.rb spec/rspec/support/ruby_features_spec.rb spec/rspec/support/source/node_spec.rb spec/rspec/support/source/token_spec.rb spec/rspec/support/source_spec.rb spec/rspec/support/spec/in_sub_process_spec.rb spec/rspec/support/spec/shell_out_spec.rb spec/rspec/support/spec/stderr_splitter_spec.rb spec/rspec/support/spec/with_isolated_std_err_spec.rb spec/rspec/support/warnings_spec.rb spec/rspec/support/with_keywords_when_needed_spec.rb spec/rspec/support_spec.rb 99s mv lib lib.off 99s 99s Randomized with seed 1906 100s .....................*..............................................................................................................................................................................................................................................................................................................................................................................................fatal: not a git repository (or any of the parent directories): .git 100s ...................................F......F.......F..FFF.F.................................................................................................* 100s 100s Pending: (Failures listed here are expected and do not affect your suite's status) 100s 100s 1) RSpec::Support::ShellOut can shell out to ruby with the current load path 100s # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples 100s # ./spec/rspec/support/spec/shell_out_spec.rb:22 100s 100s 2) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations 100s # No reason given 100s Failure/Error: 100s expect { 100s expect_warn_deprecation(/bar/) 100s }.to raise_error(/received: 0 times/) 100s 100s expected /received: 0 times/ but nothing was raised 100s # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' 100s # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' 100s 100s Failures: 100s 100s 1) RSpec::Support::Differ#diff outputs unified diff of two strings 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n\n@@ -1,6 +1,6 @@\n foo\n-zap\n bar\n+zap\n this\n is\n soo\n@@ -9,5 +9,4 @@\n equal\n insert\n a\n-another\n line\n" (UTF-8) to be identical to 100s "\n\n@@ -1,6 +1,6 @@\n foo\n-zap\n bar\n+zap\n this\n is\n soo\n@@ -9,6 +9,5 @@\n equal\n insert\n a\n-another\n line\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 10, 64, 64, 32, 45, 49, 44, 54, 32, 43, 49, 44, 54, 32, 64, 64, 10, 32, 102, 111, 111, 10, 45, 122, 97, 112, 10, 32, 98, 97, 114, 10, 43, 122, 97, 112, 10, 32, 116, 104, 105, 115, 10, 32, 105, 115, 10, 32, 115, 111, 111, 10, 64, 64, 32, 45, 57, 44, 53, 32, 43, 57, 44, 52, 32, 64, 64, 10, 32, 101, 113, 117, 97, 108, 10, 32, 105, 110, 115, 101, 114, 116, 10, 32, 97, 10, 45, 97, 110, 111, 116, 104, 101, 114, 10, 32, 108, 105, 110, 101, 10] 100s [10, 10, 64, 64, 32, 45, 49, 44, 54, 32, 43, 49, 44, 54, 32, 64, 64, 10, 32, 102, 111, 111, 10, 45, 122, 97, 112, 10, 32, 98, 97, 114, 10, 43, 122, 97, 112, 10, 32, 116, 104, 105, 115, 10, 32, 105, 115, 10, 32, 115, 111, 111, 10, 64, 64, 32, 45, 57, 44, 54, 32, 43, 57, 44, 53, 32, 64, 64, 10, 32, 101, 113, 117, 97, 108, 10, 32, 105, 110, 115, 101, 114, 116, 10, 32, 97, 10, 45, 97, 110, 111, 116, 104, 101, 114, 10, 32, 108, 105, 110, 101, 10] 100s # ./spec/rspec/support/differ_spec.rb:61:in `block (3 levels) in ' 100s 100s 2) RSpec::Support::Differ#diff splits items with newlines 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-c\\nd\n" (US-ASCII) to be identical to 100s "\n@@ -1,3 +1 @@\n-a\\nb\n-c\\nd\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 64, 64, 32, 45, 49, 44, 50, 32, 43, 48, 44, 48, 32, 64, 64, 10, 45, 97, 92, 110, 98, 10, 45, 99, 92, 110, 100, 10] 100s [10, 64, 64, 32, 45, 49, 44, 51, 32, 43, 49, 32, 64, 64, 10, 45, 97, 92, 110, 98, 10, 45, 99, 92, 110, 100, 10] 100s # ./spec/rspec/support/differ_spec.rb:447:in `block (3 levels) in ' 100s 100s 3) RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n\n@@ -1,6 +1,6 @@\n foo\n-zap\n bar\n+zap\n this\n is\n soo\n@@ -9,5 +9,4 @@\n equal\n insert\n a\n-another\n line\n" (UTF-8) to be identical to 100s "\n\n@@ -1,6 +1,6 @@\n foo\n-zap\n bar\n+zap\n this\n is\n soo\n@@ -9,6 +9,5 @@\n equal\n insert\n a\n-another\n line\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 10, 64, 64, 32, 45, 49, 44, 54, 32, 43, 49, 44, 54, 32, 64, 64, 10, 32, 102, 111, 111, 10, 45, 122, 97, 112, 10, 32, 98, 97, 114, 10, 43, 122, 97, 112, 10, 32, 116, 104, 105, 115, 10, 32, 105, 115, 10, 32, 115, 111, 111, 10, 64, 64, 32, 45, 57, 44, 53, 32, 43, 57, 44, 52, 32, 64, 64, 10, 32, 101, 113, 117, 97, 108, 10, 32, 105, 110, 115, 101, 114, 116, 10, 32, 97, 10, 45, 97, 110, 111, 116, 104, 101, 114, 10, 32, 108, 105, 110, 101, 10] 100s [10, 10, 64, 64, 32, 45, 49, 44, 54, 32, 43, 49, 44, 54, 32, 64, 64, 10, 32, 102, 111, 111, 10, 45, 122, 97, 112, 10, 32, 98, 97, 114, 10, 43, 122, 97, 112, 10, 32, 116, 104, 105, 115, 10, 32, 105, 115, 10, 32, 115, 111, 111, 10, 64, 64, 32, 45, 57, 44, 54, 32, 43, 57, 44, 53, 32, 64, 64, 10, 32, 101, 113, 117, 97, 108, 10, 32, 105, 110, 115, 101, 114, 116, 10, 32, 97, 10, 45, 97, 110, 111, 116, 104, 101, 114, 10, 32, 108, 105, 110, 101, 10] 100s # ./spec/rspec/support/differ_spec.rb:109:in `block (3 levels) in ' 100s 100s 4) RSpec::Support::Differ#diff outputs unified diff message of two objects 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n@@ -1,4 +1,4 @@\n \n" (UTF-8) to be identical to 100s "\n@@ -1,5 +1,5 @@\n \n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 64, 64, 32, 45, 49, 44, 52, 32, 43, 49, 44, 52, 32, 64, 64, 10, 32, 60, 65, 110, 105, 109, 97, 108, 10, 32, 32, 32, 110, 97, 109, 101, 61, 98, 111, 98, 44, 10, 45, 32, 32, 115, 112, 101, 99, 105, 101, 115, 61, 116, 111, 114, 116, 111, 105, 115, 101, 10, 43, 32, 32, 115, 112, 101, 99, 105, 101, 115, 61, 103, 105, 114, 97, 102, 102, 101, 10, 32, 62, 10] 100s [10, 64, 64, 32, 45, 49, 44, 53, 32, 43, 49, 44, 53, 32, 64, 64, 10, 32, 60, 65, 110, 105, 109, 97, 108, 10, 32, 32, 32, 110, 97, 109, 101, 61, 98, 111, 98, 44, 10, 45, 32, 32, 115, 112, 101, 99, 105, 101, 115, 61, 116, 111, 114, 116, 111, 105, 115, 101, 10, 43, 32, 32, 115, 112, 101, 99, 105, 101, 115, 61, 103, 105, 114, 97, 102, 102, 101, 10, 32, 62, 10] 100s # ./spec/rspec/support/differ_spec.rb:213:in `block (3 levels) in ' 100s 100s 5) RSpec::Support::Differ#diff outputs unified diff of multi line strings 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n@@ -1,2 +1,2 @@\n this is:\n- another string\n+ one string\n" (UTF-8) to be identical to 100s "\n@@ -1,3 +1,3 @@\n this is:\n- another string\n+ one string\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 64, 64, 32, 45, 49, 44, 50, 32, 43, 49, 44, 50, 32, 64, 64, 10, 32, 116, 104, 105, 115, 32, 105, 115, 58, 10, 45, 32, 32, 97, 110, 111, 116, 104, 101, 114, 32, 115, 116, 114, 105, 110, 103, 10, 43, 32, 32, 111, 110, 101, 32, 115, 116, 114, 105, 110, 103, 10] 100s [10, 64, 64, 32, 45, 49, 44, 51, 32, 43, 49, 44, 51, 32, 64, 64, 10, 32, 116, 104, 105, 115, 32, 105, 115, 58, 10, 45, 32, 32, 97, 110, 111, 116, 104, 101, 114, 32, 115, 116, 114, 105, 110, 103, 10, 43, 32, 32, 111, 110, 101, 32, 115, 116, 114, 105, 110, 103, 10] 100s # ./spec/rspec/support/differ_spec.rb:434:in `block (3 levels) in ' 100s 100s 6) RSpec::Support::Differ#diff shows inner arrays on a single line 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-[\"c\\nd\"]\n" (US-ASCII) to be identical to 100s "\n@@ -1,3 +1 @@\n-a\\nb\n-[\"c\\nd\"]\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 64, 64, 32, 45, 49, 44, 50, 32, 43, 48, 44, 48, 32, 64, 64, 10, 45, 97, 92, 110, 98, 10, 45, 91, 34, 99, 92, 110, 100, 34, 93, 10] 100s [10, 64, 64, 32, 45, 49, 44, 51, 32, 43, 49, 32, 64, 64, 10, 45, 97, 92, 110, 98, 10, 45, 91, 34, 99, 92, 110, 100, 34, 93, 10] 100s # ./spec/rspec/support/differ_spec.rb:460:in `block (3 levels) in ' 100s 100s 7) RSpec::Support::Differ#diff outputs unified diff message of two arrays 100s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 100s 100s expected 100s "\n\n@@ -5,6 +5,6 @@\n :metasyntactic,\n \"variable\",\n :delta,\n- \"tango\",\n+ \"charlie\",\n :width,\n- \"very wide\"]\n+ \"quite wide\"]\n" (UTF-8) to be identical to 100s "\n\n@@ -5,7 +5,7 @@\n :metasyntactic,\n \"variable\",\n :delta,\n- \"tango\",\n+ \"charlie\",\n :width,\n- \"very wide\"]\n+ \"quite wide\"]\n" (UTF-8) 100s The exact bytes are printed below for more detail: 100s [10, 10, 64, 64, 32, 45, 53, 44, 54, 32, 43, 53, 44, 54, 32, 64, 64, 10, 32, 32, 58, 109, 101, 116, 97, 115, 121, 110, 116, 97, 99, 116, 105, 99, 44, 10, 32, 32, 34, 118, 97, 114, 105, 97, 98, 108, 101, 34, 44, 10, 32, 32, 58, 100, 101, 108, 116, 97, 44, 10, 45, 32, 34, 116, 97, 110, 103, 111, 34, 44, 10, 43, 32, 34, 99, 104, 97, 114, 108, 105, 101, 34, 44, 10, 32, 32, 58, 119, 105, 100, 116, 104, 44, 10, 45, 32, 34, 118, 101, 114, 121, 32, 119, 105, 100, 101, 34, 93, 10, 43, 32, 34, 113, 117, 105, 116, 101, 32, 119, 105, 100, 101, 34, 93, 10] 100s [10, 10, 64, 64, 32, 45, 53, 44, 55, 32, 43, 53, 44, 55, 32, 64, 64, 10, 32, 32, 58, 109, 101, 116, 97, 115, 121, 110, 116, 97, 99, 116, 105, 99, 44, 10, 32, 32, 34, 118, 97, 114, 105, 97, 98, 108, 101, 34, 44, 10, 32, 32, 58, 100, 101, 108, 116, 97, 44, 10, 45, 32, 34, 116, 97, 110, 103, 111, 34, 44, 10, 43, 32, 34, 99, 104, 97, 114, 108, 105, 101, 34, 44, 10, 32, 32, 58, 119, 105, 100, 116, 104, 44, 10, 45, 32, 34, 118, 101, 114, 121, 32, 119, 105, 100, 101, 34, 93, 10, 43, 32, 34, 113, 117, 105, 116, 101, 32, 119, 105, 100, 101, 34, 93, 10] 100s # ./spec/rspec/support/differ_spec.rb:236:in `block (3 levels) in ' 100s 100s Finished in 0.53716 seconds (files took 0.12271 seconds to load) 100s 560 examples, 7 failures, 2 pending 100s 100s Failed examples: 100s 100s rspec ./spec/rspec/support/differ_spec.rb:15 # RSpec::Support::Differ#diff outputs unified diff of two strings 100s rspec ./spec/rspec/support/differ_spec.rb:437 # RSpec::Support::Differ#diff splits items with newlines 100s rspec ./spec/rspec/support/differ_spec.rb:64 # RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 100s rspec ./spec/rspec/support/differ_spec.rb:180 # RSpec::Support::Differ#diff outputs unified diff message of two objects 100s rspec ./spec/rspec/support/differ_spec.rb:420 # RSpec::Support::Differ#diff outputs unified diff of multi line strings 100s rspec ./spec/rspec/support/differ_spec.rb:450 # RSpec::Support::Differ#diff shows inner arrays on a single line 100s rspec ./spec/rspec/support/differ_spec.rb:216 # RSpec::Support::Differ#diff outputs unified diff message of two arrays 100s 100s Randomized with seed 1906 100s 100s mv lib.off lib 100s cd - 100s Failed: rspec-expectations, rspec-support 100s autopkgtest [17:10:26]: test gem2deb-test-runner: -----------------------] 100s autopkgtest [17:10:26]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 100s gem2deb-test-runner FAIL non-zero exit status 1 101s autopkgtest [17:10:27]: @@@@@@@@@@@@@@@@@@@@ summary 101s gem2deb-test-runner FAIL non-zero exit status 1