0s autopkgtest [16:24:34]: starting date and time: 2025-11-17 16:24:34+0000 0s autopkgtest [16:24:34]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [16:24:34]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._whxw0it/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.239 lxd-armhf-10.145.243.239:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [16:24:56]: testbed dpkg architecture: armhf 24s autopkgtest [16:24:58]: testbed apt version: 3.1.11 29s autopkgtest [16:25:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 31s autopkgtest [16:25:05]: testbed release detected to be: None 39s autopkgtest [16:25:13]: updating testbed package index (apt update) 41s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 42s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 42s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 42s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 42s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [839 kB] 43s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 43s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.5 kB] 43s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 43s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [138 kB] 43s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 43s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [515 kB] 43s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 43s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 44s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 49s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 50s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 54s Fetched 41.1 MB in 13s (3199 kB/s) 55s Reading package lists... 61s autopkgtest [16:25:35]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 64s Building dependency tree... 64s Reading state information... 64s Calculating upgrade... 65s The following packages will be upgraded: 65s usbutils 65s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s Need to get 77.7 kB of archives. 65s After this operation, 0 B of additional disk space will be used. 65s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 66s Fetched 77.7 kB in 0s (215 kB/s) 66s (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 ... 65904 files and directories currently installed.) 66s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 66s Unpacking usbutils (1:019-1) over (1:018-2) ... 66s Setting up usbutils (1:019-1) ... 66s Processing triggers for man-db (2.13.1-1) ... 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s autopkgtest [16:25:47]: rebooting testbed after setup commands that affected boot 116s autopkgtest [16:26:30]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 143s autopkgtest [16:26:57]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec 170s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (dsc) [4082 B] 170s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [413 kB] 170s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [221 kB] 170s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [209 kB] 170s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [79.7 kB] 170s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [6953 B] 170s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [925 kB] 170s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (diff) [12.4 kB] 170s gpgv: Signature made Wed Feb 28 20:50:19 2024 UTC 170s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 170s gpgv: issuer "kanashiro@debian.org" 170s gpgv: Can't check signature: No public key 170s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec_3.13.0c0e0m0s1-2.dsc: no acceptable signature found 171s dpkg-source: warning: required removal of 'rspec' installed by original tarball 171s dpkg-source: warning: required removal of 'rspec-core' installed by original tarball 171s dpkg-source: warning: required removal of 'rspec-expectations' installed by original tarball 171s dpkg-source: warning: required removal of 'rspec-mocks' installed by original tarball 171s dpkg-source: warning: required removal of 'rspec-support' installed by original tarball 171s autopkgtest [16:27:25]: testing package ruby-rspec version 3.13.0c0e0m0s1-2 173s autopkgtest [16:27:27]: build not needed 175s autopkgtest [16:27:29]: test gem2deb-test-runner: preparing testbed 177s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Solving dependencies... 179s The following NEW packages will be installed: 179s coderay cucumber gem2deb-test-runner git git-man liberror-perl libjs-jquery 179s libruby libruby3.3 libxslt1.1 racc rake ruby ruby-aruba ruby-builder 179s ruby-childprocess ruby-coderay ruby-contracts ruby-csv ruby-cucumber-core 179s ruby-cucumber-wire ruby-did-you-mean ruby-diff-lcs ruby-fakefs ruby-ffi 179s ruby-flexmock ruby-gherkin ruby-json ruby-metaclass ruby-mini-portile2 179s ruby-minitest ruby-mocha ruby-multi-json ruby-multi-test ruby-net-telnet 179s ruby-nokogiri ruby-pkg-config ruby-power-assert ruby-rr ruby-rspec 179s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 179s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-thor ruby-thread-order 179s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 179s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 179s Need to get 14.2 MB of archives. 179s After this operation, 75.2 MB of additional disk space will be used. 179s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 180s Get:2 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-builder all 3.2.4-2 [17.1 kB] 180s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf rubygems-integration all 1.19 [5550 B] 180s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf rake all 13.2.1-1 [45.8 kB] 180s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-csv all 3.3.4-1 [43.0 kB] 180s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-did-you-mean all 1.6.3-2 [14.8 kB] 180s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-net-telnet all 0.2.0-1 [13.3 kB] 180s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-ruby2-keywords all 0.0.5-1 [4280 B] 180s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-webrick all 1.9.1-1 [60.8 kB] 180s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-xmlrpc all 0.3.3-2 [24.8 kB] 180s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libruby3.3 armhf 3.3.8-2ubuntu2 [5595 kB] 187s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf ruby3.3 armhf 3.3.8-2ubuntu2 [59.0 kB] 187s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libruby armhf 1:3.3 [5162 B] 187s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 187s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf ruby armhf 1:3.3 [3670 B] 187s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-gherkin all 4.0.0-4 [22.8 kB] 187s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-cucumber-core all 1.5.0-3 [22.6 kB] 187s Get:18 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-cucumber-wire all 0.0.1-3 [7892 B] 187s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf ruby-diff-lcs all 1.6.2-1 [23.1 kB] 187s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-multi-json all 1.15.0-1 [16.1 kB] 187s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-multi-test all 1.1.0-1 [4540 B] 187s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf cucumber all 2.4.0-5 [100 kB] 187s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-minitest all 5.25.4-3 [48.8 kB] 187s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-power-assert all 2.0.5-1 [12.0 kB] 187s Get:25 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 188s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 188s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf liberror-perl all 0.17030-1 [23.5 kB] 188s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf git-man all 1:2.51.0-1ubuntu1 [1179 kB] 189s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf git armhf 1:2.51.0-1ubuntu1 [4649 kB] 192s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf libxslt1.1 armhf 1.1.43-0.3 [146 kB] 192s Get:31 http://ftpmaster.internal/ubuntu resolute/universe armhf racc all 1.8.1-2 [71.5 kB] 192s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-ffi armhf 1.17.2+dfsg-1 [94.7 kB] 192s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-childprocess all 4.1.0-3ubuntu1 [23.8 kB] 192s Get:34 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-contracts all 0.17.2-1 [21.3 kB] 192s Get:35 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 192s Get:36 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 192s Get:37 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-thor all 1.4.0-1 [50.4 kB] 192s Get:38 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-aruba all 2.1.0-3 [44.4 kB] 192s Get:39 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-coderay all 1.1.3-8 [78.5 kB] 192s Get:40 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-fakefs all 3.0.4-1 [31.6 kB] 192s Get:41 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-flexmock all 3.0.2-1 [44.3 kB] 192s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-json armhf 2.15.2+dfsg-1 [65.8 kB] 192s Get:43 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-metaclass all 0.0.4-2 [4094 B] 192s Get:44 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 192s Get:45 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-mocha all 2.4.2-2 [40.0 kB] 192s Get:46 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-pkg-config all 1.5.9-1 [8710 B] 192s Get:47 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-nokogiri armhf 1.18.2+dfsg-1build1 [251 kB] 193s Get:48 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rr all 3.1.2-1 [33.1 kB] 193s Get:49 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 193s Get:50 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 193s Get:51 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 193s Get:52 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-thread-order all 1.1.1-1 [5812 B] 193s Get:53 http://ftpmaster.internal/ubuntu resolute/universe armhf coderay all 1.1.3-8 [9054 B] 193s Fetched 14.2 MB in 14s (1020 kB/s) 193s Selecting previously unselected package libjs-jquery. 193s (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 ... 65904 files and directories currently installed.) 193s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 193s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 193s Selecting previously unselected package ruby-builder. 193s Preparing to unpack .../01-ruby-builder_3.2.4-2_all.deb ... 193s Unpacking ruby-builder (3.2.4-2) ... 194s Selecting previously unselected package rubygems-integration. 194s Preparing to unpack .../02-rubygems-integration_1.19_all.deb ... 194s Unpacking rubygems-integration (1.19) ... 194s Selecting previously unselected package rake. 194s Preparing to unpack .../03-rake_13.2.1-1_all.deb ... 194s Unpacking rake (13.2.1-1) ... 194s Selecting previously unselected package ruby-csv. 194s Preparing to unpack .../04-ruby-csv_3.3.4-1_all.deb ... 194s Unpacking ruby-csv (3.3.4-1) ... 194s Selecting previously unselected package ruby-did-you-mean. 194s Preparing to unpack .../05-ruby-did-you-mean_1.6.3-2_all.deb ... 194s Unpacking ruby-did-you-mean (1.6.3-2) ... 194s Selecting previously unselected package ruby-net-telnet. 194s Preparing to unpack .../06-ruby-net-telnet_0.2.0-1_all.deb ... 194s Unpacking ruby-net-telnet (0.2.0-1) ... 194s Selecting previously unselected package ruby-ruby2-keywords. 194s Preparing to unpack .../07-ruby-ruby2-keywords_0.0.5-1_all.deb ... 194s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 194s Selecting previously unselected package ruby-webrick. 194s Preparing to unpack .../08-ruby-webrick_1.9.1-1_all.deb ... 194s Unpacking ruby-webrick (1.9.1-1) ... 194s Selecting previously unselected package ruby-xmlrpc. 194s Preparing to unpack .../09-ruby-xmlrpc_0.3.3-2_all.deb ... 194s Unpacking ruby-xmlrpc (0.3.3-2) ... 194s Selecting previously unselected package libruby3.3:armhf. 194s Preparing to unpack .../10-libruby3.3_3.3.8-2ubuntu2_armhf.deb ... 194s Unpacking libruby3.3:armhf (3.3.8-2ubuntu2) ... 195s Selecting previously unselected package ruby3.3. 195s Preparing to unpack .../11-ruby3.3_3.3.8-2ubuntu2_armhf.deb ... 195s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 195s Selecting previously unselected package libruby:armhf. 195s Preparing to unpack .../12-libruby_1%3a3.3_armhf.deb ... 195s Unpacking libruby:armhf (1:3.3) ... 195s Selecting previously unselected package ruby-rubygems. 195s Preparing to unpack .../13-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 195s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 195s Selecting previously unselected package ruby. 195s Preparing to unpack .../14-ruby_1%3a3.3_armhf.deb ... 195s Unpacking ruby (1:3.3) ... 195s Selecting previously unselected package ruby-gherkin. 195s Preparing to unpack .../15-ruby-gherkin_4.0.0-4_all.deb ... 195s Unpacking ruby-gherkin (4.0.0-4) ... 195s Selecting previously unselected package ruby-cucumber-core. 195s Preparing to unpack .../16-ruby-cucumber-core_1.5.0-3_all.deb ... 195s Unpacking ruby-cucumber-core (1.5.0-3) ... 195s Selecting previously unselected package ruby-cucumber-wire. 195s Preparing to unpack .../17-ruby-cucumber-wire_0.0.1-3_all.deb ... 195s Unpacking ruby-cucumber-wire (0.0.1-3) ... 195s Selecting previously unselected package ruby-diff-lcs. 195s Preparing to unpack .../18-ruby-diff-lcs_1.6.2-1_all.deb ... 195s Unpacking ruby-diff-lcs (1.6.2-1) ... 195s Selecting previously unselected package ruby-multi-json. 195s Preparing to unpack .../19-ruby-multi-json_1.15.0-1_all.deb ... 195s Unpacking ruby-multi-json (1.15.0-1) ... 195s Selecting previously unselected package ruby-multi-test. 195s Preparing to unpack .../20-ruby-multi-test_1.1.0-1_all.deb ... 195s Unpacking ruby-multi-test (1.1.0-1) ... 195s Selecting previously unselected package cucumber. 195s Preparing to unpack .../21-cucumber_2.4.0-5_all.deb ... 195s Unpacking cucumber (2.4.0-5) ... 195s Selecting previously unselected package ruby-minitest. 195s Preparing to unpack .../22-ruby-minitest_5.25.4-3_all.deb ... 195s Unpacking ruby-minitest (5.25.4-3) ... 195s Selecting previously unselected package ruby-power-assert. 195s Preparing to unpack .../23-ruby-power-assert_2.0.5-1_all.deb ... 195s Unpacking ruby-power-assert (2.0.5-1) ... 195s Selecting previously unselected package ruby-test-unit. 195s Preparing to unpack .../24-ruby-test-unit_3.6.2-1_all.deb ... 195s Unpacking ruby-test-unit (3.6.2-1) ... 195s Selecting previously unselected package gem2deb-test-runner. 195s Preparing to unpack .../25-gem2deb-test-runner_2.2.5_armhf.deb ... 195s Unpacking gem2deb-test-runner (2.2.5) ... 196s Selecting previously unselected package liberror-perl. 196s Preparing to unpack .../26-liberror-perl_0.17030-1_all.deb ... 196s Unpacking liberror-perl (0.17030-1) ... 196s Selecting previously unselected package git-man. 196s Preparing to unpack .../27-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 196s Unpacking git-man (1:2.51.0-1ubuntu1) ... 196s Selecting previously unselected package git. 196s Preparing to unpack .../28-git_1%3a2.51.0-1ubuntu1_armhf.deb ... 196s Unpacking git (1:2.51.0-1ubuntu1) ... 196s Selecting previously unselected package libxslt1.1:armhf. 196s Preparing to unpack .../29-libxslt1.1_1.1.43-0.3_armhf.deb ... 196s Unpacking libxslt1.1:armhf (1.1.43-0.3) ... 196s Selecting previously unselected package racc. 196s Preparing to unpack .../30-racc_1.8.1-2_all.deb ... 196s Unpacking racc (1.8.1-2) ... 196s Selecting previously unselected package ruby-ffi:armhf. 196s Preparing to unpack .../31-ruby-ffi_1.17.2+dfsg-1_armhf.deb ... 196s Unpacking ruby-ffi:armhf (1.17.2+dfsg-1) ... 196s Selecting previously unselected package ruby-childprocess. 196s Preparing to unpack .../32-ruby-childprocess_4.1.0-3ubuntu1_all.deb ... 196s Unpacking ruby-childprocess (4.1.0-3ubuntu1) ... 196s Selecting previously unselected package ruby-contracts. 196s Preparing to unpack .../33-ruby-contracts_0.17.2-1_all.deb ... 196s Unpacking ruby-contracts (0.17.2-1) ... 196s Selecting previously unselected package ruby-rspec-support. 196s Preparing to unpack .../34-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 196s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 196s Selecting previously unselected package ruby-rspec-expectations. 196s Preparing to unpack .../35-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 196s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 196s Selecting previously unselected package ruby-thor. 196s Preparing to unpack .../36-ruby-thor_1.4.0-1_all.deb ... 196s Unpacking ruby-thor (1.4.0-1) ... 196s Selecting previously unselected package ruby-aruba. 196s Preparing to unpack .../37-ruby-aruba_2.1.0-3_all.deb ... 196s Unpacking ruby-aruba (2.1.0-3) ... 197s Selecting previously unselected package ruby-coderay. 197s Preparing to unpack .../38-ruby-coderay_1.1.3-8_all.deb ... 197s Unpacking ruby-coderay (1.1.3-8) ... 197s Selecting previously unselected package ruby-fakefs. 197s Preparing to unpack .../39-ruby-fakefs_3.0.4-1_all.deb ... 197s Unpacking ruby-fakefs (3.0.4-1) ... 197s Selecting previously unselected package ruby-flexmock. 197s Preparing to unpack .../40-ruby-flexmock_3.0.2-1_all.deb ... 197s Unpacking ruby-flexmock (3.0.2-1) ... 197s Selecting previously unselected package ruby-json:armhf. 197s Preparing to unpack .../41-ruby-json_2.15.2+dfsg-1_armhf.deb ... 197s Unpacking ruby-json:armhf (2.15.2+dfsg-1) ... 197s Selecting previously unselected package ruby-metaclass. 197s Preparing to unpack .../42-ruby-metaclass_0.0.4-2_all.deb ... 197s Unpacking ruby-metaclass (0.0.4-2) ... 197s Selecting previously unselected package ruby-mini-portile2. 197s Preparing to unpack .../43-ruby-mini-portile2_2.8.7-1_all.deb ... 197s Unpacking ruby-mini-portile2 (2.8.7-1) ... 197s Selecting previously unselected package ruby-mocha. 197s Preparing to unpack .../44-ruby-mocha_2.4.2-2_all.deb ... 197s Unpacking ruby-mocha (2.4.2-2) ... 197s Selecting previously unselected package ruby-pkg-config. 197s Preparing to unpack .../45-ruby-pkg-config_1.5.9-1_all.deb ... 197s Unpacking ruby-pkg-config (1.5.9-1) ... 197s Selecting previously unselected package ruby-nokogiri. 197s Preparing to unpack .../46-ruby-nokogiri_1.18.2+dfsg-1build1_armhf.deb ... 197s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 197s Selecting previously unselected package ruby-rr. 197s Preparing to unpack .../47-ruby-rr_3.1.2-1_all.deb ... 197s Unpacking ruby-rr (3.1.2-1) ... 197s Selecting previously unselected package ruby-rspec-core. 197s Preparing to unpack .../48-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 197s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 197s Selecting previously unselected package ruby-rspec-mocks. 197s Preparing to unpack .../49-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 197s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 197s Selecting previously unselected package ruby-rspec. 197s Preparing to unpack .../50-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 197s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 197s Selecting previously unselected package ruby-thread-order. 197s Preparing to unpack .../51-ruby-thread-order_1.1.1-1_all.deb ... 197s Unpacking ruby-thread-order (1.1.1-1) ... 197s Selecting previously unselected package coderay. 197s Preparing to unpack .../52-coderay_1.1.3-8_all.deb ... 197s Unpacking coderay (1.1.3-8) ... 197s Setting up ruby-rr (3.1.2-1) ... 197s Setting up ruby-multi-json (1.15.0-1) ... 197s Setting up ruby-ruby2-keywords (0.0.5-1) ... 197s Setting up ruby-fakefs (3.0.4-1) ... 197s Setting up ruby-power-assert (2.0.5-1) ... 197s Setting up ruby-mini-portile2 (2.8.7-1) ... 197s Setting up ruby-thread-order (1.1.1-1) ... 197s Setting up rubygems-integration (1.19) ... 197s Setting up liberror-perl (0.17030-1) ... 197s Setting up ruby-minitest (5.25.4-3) ... 197s Setting up ruby-test-unit (3.6.2-1) ... 197s Setting up ruby-net-telnet (0.2.0-1) ... 197s Setting up ruby-csv (3.3.4-1) ... 197s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 197s Setting up ruby-contracts (0.17.2-1) ... 197s Setting up ruby-webrick (1.9.1-1) ... 197s Setting up ruby-flexmock (3.0.2-1) ... 197s Setting up ruby-multi-test (1.1.0-1) ... 197s Setting up ruby-builder (3.2.4-2) ... 198s Setting up libxslt1.1:armhf (1.1.43-0.3) ... 198s Setting up git-man (1:2.51.0-1ubuntu1) ... 198s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 198s Setting up ruby-did-you-mean (1.6.3-2) ... 198s Setting up ruby-xmlrpc (0.3.3-2) ... 198s Setting up git (1:2.51.0-1ubuntu1) ... 198s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 198s Setting up rake (13.2.1-1) ... 198s Setting up libruby3.3:armhf (3.3.8-2ubuntu2) ... 198s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 198s Setting up libruby:armhf (1:3.3) ... 198s Setting up ruby (1:3.3) ... 198s Setting up racc (1.8.1-2) ... 198s Setting up ruby-thor (1.4.0-1) ... 198s Setting up ruby-json:armhf (2.15.2+dfsg-1) ... 198s Setting up ruby-pkg-config (1.5.9-1) ... 198s Setting up ruby-coderay (1.1.3-8) ... 198s Setting up ruby-gherkin (4.0.0-4) ... 198s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 198s Setting up ruby-ffi:armhf (1.17.2+dfsg-1) ... 198s Setting up ruby-diff-lcs (1.6.2-1) ... 198s Setting up ruby-cucumber-wire (0.0.1-3) ... 198s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 198s Setting up ruby-metaclass (0.0.4-2) ... 198s Setting up ruby-cucumber-core (1.5.0-3) ... 198s Setting up gem2deb-test-runner (2.2.5) ... 198s Setting up coderay (1.1.3-8) ... 198s Setting up ruby-childprocess (4.1.0-3ubuntu1) ... 198s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 198s Setting up ruby-mocha (2.4.2-2) ... 198s Setting up cucumber (2.4.0-5) ... 198s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 198s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 198s Setting up ruby-aruba (2.1.0-3) ... 198s Processing triggers for man-db (2.13.1-1) ... 199s Processing triggers for libc-bin (2.42-2ubuntu2) ... 215s autopkgtest [16:28:09]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 215s autopkgtest [16:28:09]: test gem2deb-test-runner: [----------------------- 218s 218s ┌──────────────────────────────────────────────────────────────────────────────┐ 218s │ Checking Rubygems dependency resolution on ruby3.3 │ 218s └──────────────────────────────────────────────────────────────────────────────┘ 218s 218s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec\" 218s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-core\" 218s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-expectations\" 218s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-mocks\" 218s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-support\" 219s 219s ┌──────────────────────────────────────────────────────────────────────────────┐ 219s │ Run tests for ruby3.3 from debian/ruby-tests.rb │ 219s └──────────────────────────────────────────────────────────────────────────────┘ 219s 219s RUBYLIB=. GEM_PATH= ruby3.3 debian/ruby-tests.rb 219s 219s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 219s ∙ rspec-core ∙ 219s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 219s 219s cd rspec-core 219s /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 219s mv lib lib.off 220s Run options: exclude {:ruby=>#} 220s 220s Randomized with seed 6884 238s .................................................................................................*........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*..................................................................................................................................................................................................... 238s 238s Pending: (Failures listed here are expected and do not affect your suite's status) 238s 238s 1) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group 238s # Cannot maintain this and provide full `:example_group` backwards compatibility (see GH #1490):( 238s Failure/Error: expect(b[:description]).to eq("new description") 238s 238s expected: "new description" 238s got: "group" 238s 238s (compared using ==) 238s 238s 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually 238s # lib/mathn.rb is deprecated in Ruby 2.2 238s # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 238s 238s 3) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string 238s # lib/mathn.rb is deprecated in Ruby 2.2 238s # ./spec/rspec/core/formatters/helpers_spec.rb:64 238s 238s Finished in 17.55 seconds (files took 1.28 seconds to load) 238s 1869 examples, 0 failures, 3 pending 238s 238s Randomized with seed 6884 238s 238s mv lib.off lib 238s cd - 238s 238s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 238s ∙ rspec-expectations ∙ 238s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 238s 238s cd rspec-expectations 238s /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 238s mv lib lib.off 239s 239s Randomized with seed 43654 241s ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F............F...F.......................F...........F....F.F..F.FF.................................................................................................................................................................................fatal: not a git repository (or any of the parent directories): .git 244s ........................................................................................................................................................................F.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................********......F.F...F...F..F..F...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.......................................... 244s 244s Pending: (Failures listed here are expected and do not affect your suite's status) 244s 244s 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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:101 244s 244s 2) #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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:129 244s 244s 3) #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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:95 244s 244s 4) #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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:89 244s 244s 5) #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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:82 244s 244s 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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:157 244s 244s 7) #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 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:74 244s 244s 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 fuzzily matched 244s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 244s # ./spec/rspec/matchers/built_in/include_spec.rb:78 244s 244s Failures: 244s 244s 1) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when first matcher is diffable fails with a message containing diff for first matcher 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bug 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:800:in `block (5 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 244s 244s 2) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when both matchers are diffable fails with a message containing diffs for both matcher 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bug 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:869:in `block (5 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 244s 244s 3) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when second matcher is diffable fails with a message containing diff for second matcher 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bug 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:833:in `block (5 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 244s 244s 4) RSpec::Matchers::BuiltIn::Compound when chaining many matchers together fails with complete diffs if its matchers are diffable 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to matcher 244s |bug 244s |squash 244s EOS 244s }.to fail do |error| 244s expect(error.message).to include(expected_failure) 244s end 244s 244s 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" 244s Diff: 244s @@ -1 +1,26 @@ 244s - 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 244s + expected "bug\nsquash" to include "bar" 244s + 244s +...and: 244s + 244s + expected "bug\nsquash" to include "buzz" 244s + 244s + ...or: 244s + 244s + expected "bug\nsquash" to include "foo" 244s +Diff for (include "bar"): 244s +@@ -1 +1,2 @@ 244s +-bar 244s ++bug 244s ++squash 244s + 244s +Diff for (include "buzz"): 244s +@@ -1 +1,2 @@ 244s +-buzz 244s ++bug 244s ++squash 244s + 244s +Diff for (include "foo"): 244s +@@ -1 +1,2 @@ 244s +-foo 244s ++bug 244s ++squash 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:931:in `block (3 levels) in ' 244s 244s 5) 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 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bar 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:502:in `block (6 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 244s 244s 6) 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 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bar 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:409:in `block (7 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 244s 244s 7) 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 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bar 244s EOS 244s }.to fail_including(expected_failure) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:452:in `block (7 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 244s 244s 8) 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 244s Failure/Error: 244s expect { 244s expect(dedent(<<-EOS)).to subject 244s |baz 244s |bug 244s EOS 244s }.to fail do |error| 244s expect(error.message).to include(expected_failure) 244s end 244s 244s 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" 244s Diff: 244s @@ -1 +1,16 @@ 244s - 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 244s + expected "baz\nbug" to include "bar" 244s + 244s +...and: 244s + 244s + expected "baz\nbug" to include "foo" 244s +Diff for (include "bar"): 244s +@@ -1 +1,2 @@ 244s +-bar 244s ++baz 244s ++bug 244s + 244s +Diff for (include "foo"): 244s +@@ -1 +1,2 @@ 244s +-foo 244s ++baz 244s ++bug 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:537:in `block (5 levels) in ' 244s 244s 9) 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 244s Failure/Error: 244s expect { 244s expect( 244s "HELLO\nWORLD" 244s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 244s }.to fail do |error| 244s expect(error.message).to include(expected_failure) 244s end 244s 244s 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" 244s Diff: 244s @@ -1 +1,18 @@ 244s - 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 244s + expected "hello\nworld" to eq downcase "bonjour\nmonde" 244s + 244s +...and: 244s + 244s + expected "hello\nworld" to eq downcase "hola\nmon" 244s +Diff for (eq downcase "bonjour\nmonde"): 244s +@@ -1,2 +1,2 @@ 244s +-bonjour 244s +-monde 244s ++hello 244s ++world 244s + 244s +Diff for (eq downcase "hola\nmon"): 244s +@@ -1,2 +1,2 @@ 244s +-hola 244s +-mon 244s ++hello 244s ++world 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:628:in `block (7 levels) in ' 244s 244s 10) 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 244s Failure/Error: 244s expect { 244s expect( 244s "HELLO\nWORLD" 244s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 244s }.to fail do |error| 244s expect(error.message).to include(expected_failure) 244s end 244s 244s 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" 244s Diff: 244s @@ -1 +1,18 @@ 244s - 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 244s + expected "HELLO\nWORLD" to eq downcase "bonjour\nmonde" 244s + 244s +...and: 244s + 244s + expected "HELLO\nWORLD" to eq downcase "hola\nmon" 244s +Diff for (eq downcase "bonjour\nmonde"): 244s +@@ -1,2 +1,2 @@ 244s +-bonjour 244s +-monde 244s ++hello 244s ++world 244s + 244s +Diff for (eq downcase "hola\nmon"): 244s +@@ -1,2 +1,2 @@ 244s +-hola 244s +-mon 244s ++hello 244s ++world 244s # ./spec/rspec/matchers/built_in/compound_spec.rb:585:in `block (7 levels) in ' 244s 244s 11) RSpec::Matchers::DSL::Matcher handles multiline string diffs 244s Failure/Error: expect(diff).to eq expected_diff 244s 244s expected: "Diff:\n@@ -1 +1 @@\n-line1\n+LINE1\n" 244s got: "Diff:\n@@ -1,2 +1,2 @@\n-line1\n+LINE1\nline2\n" 244s 244s (compared using ==) 244s 244s Diff: 244s 244s @@ -1,4 +1,5 @@ 244s Diff: 244s -@@ -1 +1 @@ 244s +@@ -1,2 +1,2 @@ 244s -line1 244s +LINE1 244s +line2 244s # ./spec/rspec/matchers/dsl_spec.rb:522:in `block (2 levels) in ' 244s 244s 12) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s 244s 13) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff for fuzzy matchers 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s 244s 14) #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 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s 244s 15) #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 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s 244s 16) #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 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 244s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 244s 244s 17) #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 244s Failure/Error: 244s expect { 244s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 244s }.to fail_including(failure_string) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 244s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 244s 244s 18) #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected 244s Failure/Error: 244s expect { 244s expect(person).to have_attributes(:name => correct_name, :age => wrong_age) 244s }.to fail_including(expected_diff) 244s 244s 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: 244s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:176:in `block (4 levels) in ' 244s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 244s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 244s 244s 22 deprecation warnings total 244s 244s Finished in 4.67 seconds (files took 0.92149 seconds to load) 244s 2400 examples, 18 failures, 8 pending 244s 244s Failed examples: 244s 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s rspec ./spec/rspec/matchers/dsl_spec.rb:499 # RSpec::Matchers::DSL::Matcher handles multiline string diffs 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 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 244s 244s Randomized with seed 43654 244s 245s mv lib.off lib 245s cd - 245s 245s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 245s ∙ rspec-mocks ∙ 245s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 245s 245s cd rspec-mocks 245s /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 245s mv lib lib.off 246s Run options: exclude {:ordered_and_vague_counts_unsupported=>true} 246s 246s Randomized with seed 26408 247s ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* 247s 247s Pending: (Failures listed here are expected and do not affect your suite's status) 247s 247s 1) RSpec::Mocks.verify delegates to the space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:42 247s 247s 2) RSpec::Mocks when there is a `let` declaration that overrides an argument matcher allows the `let` definition to win 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:229 247s 247s 3) RSpec::Mocks behaves like library wide checks issues no warnings when the spec files are loaded 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # 247s 247s 4) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # 247s 247s 5) RSpec::Mocks behaves like library wide checks issues no warnings when loaded 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # 247s 247s 6) RSpec::Mocks behaves like library wide checks has no malformed whitespace 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # 247s 247s 7) RSpec::Mocks.with_temporary_scope does not verify if an error occurs before the block completes 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:202 247s 247s 8) RSpec::Mocks.with_temporary_scope tears down even if an error occurs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:189 247s 247s 9) RSpec::Mocks.with_temporary_scope returns the result of the passed block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:212 247s 247s 10) RSpec::Mocks.with_temporary_scope in a before(:all) with an unmet mock expectation fails with a mock expectation error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:158 247s 247s 11) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:117 247s 247s 12) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double allows the stubbed double to be used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:107 247s 247s 13) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double does not allow the double to be used in the examples 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:111 247s 247s 14) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const allows the stubbed constants to be used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:133 247s 247s 15) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:137 247s 247s 16) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:142 247s 247s 17) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub allows the stub to be used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:173 247s 247s 18) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:177 247s 247s 19) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:183 247s 247s 20) RSpec::Mocks.setup starts a new space scope that is later removed by .teardown 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:76 247s 247s 21) RSpec::Mocks.teardown does not put rspec-mocks into an inconsistent state when called extra times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:61 247s 247s 22) RSpec::Mocks.teardown resets method stubs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:54 247s 247s 23) RSpec::Mocks.configuration returns a memoized configuration instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks_spec.rb:89 247s 247s 24) negative expectation failure allow(...).to_not receive_messages(:a => 1, :b => 2) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:125 247s 247s 25) negative expectation failure allow_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:132 247s 247s 26) negative expectation failure expect(...).to_not receive_messages(:a => 1, :b => 2) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:139 247s 247s 27) negative expectation failure expect_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:146 247s 247s 28) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:116 247s 247s 29) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:109 247s 247s 30) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:122 247s 247s 31) .expect_message does not get confused when the string and symbol message form are both used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:91 247s 247s 32) .expect_message accepts a block implementation for the expected message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:85 247s 247s 33) .expect_message sets up basic message expectation, verifies as uncalled 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:56 247s 247s 34) .expect_message fails if never is specified and the message is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:66 247s 247s 35) .expect_message sets up basic message expectation, verifies as called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:73 247s 247s 36) .expect_message sets up message expectation with params and return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:79 247s 247s 37) .expect_message when target cannot be proxied raises ArgumentError with message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:102 247s 247s 38) PreciseCounts passes multiple calls with different args and counts 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:56 247s 247s 39) PreciseCounts returns the value given by a block when the exactly once method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:42 247s 247s 40) PreciseCounts fails fast when exactly n times method is called more than n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:17 247s 247s 41) PreciseCounts fails when exactly n times method is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:27 247s 247s 42) PreciseCounts fails when exactly n times method is called less than n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:8 247s 247s 43) PreciseCounts passes if exactly n times method is called exactly n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:34 247s 247s 44) PreciseCounts passes multiple calls with different args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/precise_counts_spec.rb:48 247s 247s 45) only stashing the original method keeps the original method intact after multiple expectations are added on the same method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stash_spec.rb:12 247s 247s 46) A class double with the doubled class loaded allows dynamically defined class method stubs with arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:57 247s 247s 47) A class double with the doubled class loaded allows class to be specified by constant 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:76 247s 247s 48) A class double with the doubled class loaded suggests using `instance_double` when an instance method is stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:33 247s 247s 49) A class double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:50 247s 247s 50) A class double with the doubled class loaded allows dynamically defined class methods to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:71 247s 247s 51) A class double with the doubled class loaded verifies arguments for null objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:115 247s 247s 52) A class double with the doubled class loaded only allows class methods that exist to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:20 247s 247s 53) A class double with the doubled class loaded validates `with` args against the method signature when stubbing a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:123 247s 247s 54) A class double with the doubled class loaded can replace existing constants for the duration of the test 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:81 247s 247s 55) A class double with the doubled class loaded only allows class methods that exist to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:12 247s 247s 56) A class double with the doubled class loaded can transfer nested constants to the double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:92 247s 247s 57) A class double with the doubled class loaded only allows defined methods for null objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:108 247s 247s 58) A class double with the doubled class loaded allows dynamically defined class method mocks with arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:64 247s 247s 59) A class double with the doubled class loaded correctly verifies expectations when constant is removed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:99 247s 247s 60) A class double with the doubled class loaded doesn't suggest `instance_double` when a non-instance method is stubbed' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:38 247s 247s 61) A class double with the doubled class loaded gives a descriptive error message for NoMethodError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:43 247s 247s 62) A class double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:193 247s 247s 63) A class double with the doubled class loaded when given a class that has an overridden `#name` method can still stub the const 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:197 247s 247s 64) A class double with the doubled class loaded when `.new` is stubbed uses the method signature from `#initialize` for arg verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:135 247s 247s 65) A class double with the doubled class loaded when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:154 247s 247s 66) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:167 247s 247s 67) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:142 247s 247s 68) A class double with the doubled class loaded when given an anonymous class properly verifies 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:184 247s 247s 69) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:217 247s 247s 70) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:211 247s 247s 71) RSpec::Mocks::InstanceMethodStasher stashes the current implementation of an instance method so it can be temporarily replaced 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:18 247s 247s 72) RSpec::Mocks::InstanceMethodStasher undefines the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:67 247s 247s 73) RSpec::Mocks::InstanceMethodStasher only stashes methods directly defined on the given class, not its ancestors 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:45 247s 247s 74) RSpec::Mocks::InstanceMethodStasher does not unnecessarily create obfuscated aliased methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:58 247s 247s 75) RSpec::Mocks::InstanceMethodStasher stashes private instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:32 247s 247s 76) Using rspec-mocks features in before(:all) blocks #hide_const(for an undefined const) raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 77) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) does not hide the const 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/before_all_spec.rb:30 247s 247s 78) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 79) Using rspec-mocks features in before(:all) blocks #expect_any_instance_of(...).to receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 80) Using rspec-mocks features in before(:all) blocks #allow(...).to receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 81) Using rspec-mocks features in before(:all) blocks #stub_const does not stub the const 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/before_all_spec.rb:10 247s 247s 82) Using rspec-mocks features in before(:all) blocks #stub_const raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 83) Using rspec-mocks features in before(:all) blocks #allow_any_instance_of(...).to receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 84) Using rspec-mocks features in before(:all) blocks #expect(...).to receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 85) Using rspec-mocks features in before(:all) blocks allow(...).to receive_message_chain raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 86) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate nil before serialization 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/marshal_extension_spec.rb:31 247s 247s 87) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate other objects before serialization 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/marshal_extension_spec.rb:24 247s 247s 88) Marshal extensions #dump when rspec-mocks has been fully initialized applying and unapplying patch is idempotent 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/marshal_extension_spec.rb:36 247s 247s 89) Marshal extensions #dump when rspec-mocks has been fully initialized duplicates objects with stubbed or mocked implementations before serialization 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/marshal_extension_spec.rb:17 247s 247s 90) Marshal extensions #dump outside the per-test lifecycle does not duplicate the object before serialization 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/marshal_extension_spec.rb:58 247s 247s 91) stub implementation with one arg execs the block with that arg when called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:13 247s 247s 92) stub implementation with variable args execs the block when called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:21 247s 247s 93) stub implementation with no args execs the block when called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:5 247s 247s 94) a double acting as a null object returns an explicitly stubbed value from an expectation with no implementation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:56 247s 247s 95) a double acting as a null object continues to return self from an explicit expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:51 247s 247s 96) a double acting as a null object allows expected message with different args second 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:90 247s 247s 97) a double acting as a null object allows unexpected message sends using `__send__` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:79 247s 247s 98) a double acting as a null object returns a string from `to_str` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:47 247s 247s 99) a double acting as a null object allows explicit stubs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:37 247s 247s 100) a double acting as a null object says it responds to everything 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:33 247s 247s 101) a double acting as a null object fails verification when explicit exception not met 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:62 247s 247s 102) a double acting as a null object allows unexpected message sends using `send` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:74 247s 247s 103) a double acting as a null object can be interpolated in a string as an integer 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:96 247s 247s 104) a double acting as a null object allows explicit expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:42 247s 247s 105) a double acting as a null object ignores unexpected methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:69 247s 247s 106) a double acting as a null object does not allow null objects to be used outside of examples 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:104 247s 247s 107) a double acting as a null object allows expected message with different args first 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:84 247s 247s 108) Loading rspec/mocks/standalone exposes the RSpec::Mocks API on `main` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/standalone_spec.rb:7 247s 247s 109) Loading rspec/mocks/standalone does not infect other objects with the RSpec::Mocks API 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/standalone_spec.rb:20 247s 247s 110) Using a reopened file object as a partial mock allows `write` to be stubbed and reset 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:199 247s 247s 111) and_return when no argument is passed raises ArgumentError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_return_spec.rb:15 247s 247s 112) and_return when a block is passed raises ArgumentError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_return_spec.rb:7 247s 247s 113) a double stubbed with multiple return values can still set a message expectation with a single return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:10 247s 247s 114) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:7 247s 247s 115) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:35 247s 247s 116) RSpec::Mocks::Double#and_yield with eval context as block argument evaluates the supplied block as it is read 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:21 247s 247s 117) RSpec::Mocks::Double#and_yield with eval context as block argument passes an eval context object to the supplied block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:29 247s 247s 118) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:66 247s 247s 119) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:52 247s 247s 120) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:84 247s 247s 121) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:139 247s 247s 122) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments can yield to a block that uses `super` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:128 247s 247s 123) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:114 247s 247s 124) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_yield_spec.rb:103 247s 247s 125) A class double with the doubled class not loaded allows any method to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:19 247s 247s 126) A class double with the doubled class not loaded trying to raise a class_double raises a TypeError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:25 247s 247s 127) A class double with the doubled class not loaded includes the double name in errors for unexpected messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:12 247s 247s 128) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:65 247s 247s 129) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:60 247s 247s 130) A class double with the doubled class not loaded when stubbing a private module method can mock private module methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:46 247s 247s 131) when a class method is aliased on a subclass and the method is mocked restores the original aliased public method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stash_spec.rb:26 247s 247s 132) at_least fails when at least once method is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:23 247s 247s 133) at_least fails when at least twice method is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:38 247s 247s 134) at_least uses a stub value if no value set 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:132 247s 247s 135) at_least fails when at least thrice method is called less than three times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:45 247s 247s 136) at_least passes when at least once method is called once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:73 247s 247s 137) at_least passes when at least n times method is called n plus 1 times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:63 247s 247s 138) at_least passes when at least thrice method is called three times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:101 247s 247s 139) at_least passes when at least twice method is called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:94 247s 247s 140) at_least passes when at least twice method is called three times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:86 247s 247s 141) at_least fails if method is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:6 247s 247s 142) at_least fails when at least twice method is called once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:30 247s 247s 143) at_least returns the value given by a block when the at least once method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:118 247s 247s 144) at_least passes when at least n times method is called exactly n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:54 247s 247s 145) at_least passes when at least thrice method is called four times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:109 247s 247s 146) at_least passes when at least once method is called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:79 247s 247s 147) at_least fails when called less than n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:13 247s 247s 148) at_least prefers its own return value over a stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:139 247s 247s 149) at_least when sent with 0 outputs a removal message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:125 247s 247s 150) at_least when called with negative expectation raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_least_spec.rb:147 247s 247s 151) RSpec::Mocks::Double temporarily replaces a method stub on a non-double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:611 247s 247s 152) RSpec::Mocks::Double fails when calling yielding method consecutively with wrong arity 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:536 247s 247s 153) RSpec::Mocks::Double passes when receiving message specified as not to be received with different args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:123 247s 247s 154) RSpec::Mocks::Double yields single value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:483 247s 247s 155) RSpec::Mocks::Double is wrappable in an array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:290 247s 247s 156) RSpec::Mocks::Double yields 0 args multiple times to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:438 247s 247s 157) RSpec::Mocks::Double reports line number of expectation of unreceived message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:77 247s 247s 158) RSpec::Mocks::Double allows setter methods to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:52 247s 247s 159) RSpec::Mocks::Double raises a given instance of an exception 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:362 247s 247s 160) RSpec::Mocks::Double yields one arg 3 times consecutively to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:455 247s 247s 161) RSpec::Mocks::Double raises an error when a previously stubbed method has a negative expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:605 247s 247s 162) RSpec::Mocks::Double temporarily replaces a method stub on a double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:587 247s 247s 163) RSpec::Mocks::Double passes proc to expectation block without an argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:316 247s 247s 164) RSpec::Mocks::Double passes when not receiving message specified as not to be received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:98 247s 247s 165) RSpec::Mocks::Double raises exception if args don't match when method called even when the method is stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:234 247s 247s 166) RSpec::Mocks::Double has method_missing as private 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:7 247s 247s 167) RSpec::Mocks::Double fails right away when method defined as never is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:336 247s 247s 168) RSpec::Mocks::Double raises exception if args don't match when method called even when using null_object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:243 247s 247s 169) RSpec::Mocks::Double fails when receiving message specified as not to be received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:130 247s 247s 170) RSpec::Mocks::Double fails when array arguments do not match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:150 247s 247s 171) RSpec::Mocks::Double raises RuntimeError with a message by default 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:347 247s 247s 172) RSpec::Mocks::Double prevents confusing double-negative expressions involving `never` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:103 247s 247s 173) RSpec::Mocks::Double ignores args on any args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:400 247s 247s 174) RSpec::Mocks::Double allows `class` to be stubbed even when `any_instance` has already been used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:60 247s 247s 175) RSpec::Mocks::Double hides internals in its inspect representation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:20 247s 247s 176) RSpec::Mocks::Double does not mess with the stub's yielded values when also doubleed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:635 247s 247s 177) RSpec::Mocks::Double raises RuntimeError by default 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:342 247s 247s 178) RSpec::Mocks::Double yields single value 3 times consecutively 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:491 247s 247s 179) RSpec::Mocks::Double fails when calling yielding method with invalid kw args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:528 247s 247s 180) RSpec::Mocks::Double fails when args are expected but none are received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:416 247s 247s 181) RSpec::Mocks::Double does not get string vs symbol messages confused 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:31 247s 247s 182) RSpec::Mocks::Double uses 'Double' in failure messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:15 247s 247s 183) RSpec::Mocks::Double allows parameter as return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:197 247s 247s 184) RSpec::Mocks::Double fails on no args if any args received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:409 247s 247s 185) RSpec::Mocks::Double does not blow up when resetting standard object methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:25 247s 247s 186) RSpec::Mocks::Double fails when calling yielding method with wrong arity 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:520 247s 247s 187) RSpec::Mocks::Double raises a given instance of an exception with arguments other than the standard 'message' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:375 247s 247s 188) RSpec::Mocks::Double is able to double send 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:553 247s 247s 189) RSpec::Mocks::Double assigns stub return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:653 247s 247s 190) RSpec::Mocks::Double throws when told to 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:393 247s 247s 191) RSpec::Mocks::Double passes proc to stub block without an argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:326 247s 247s 192) RSpec::Mocks::Double reports line number of expectation of unreceived message after a message expectation after similar stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:87 247s 247s 193) RSpec::Mocks::Double yields many args to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:465 247s 247s 194) RSpec::Mocks::Double warns when `and_return` is called on a negative expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:109 247s 247s 195) RSpec::Mocks::Double yields two values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:501 247s 247s 196) RSpec::Mocks::Double yields two values 3 times consecutively 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:510 247s 247s 197) RSpec::Mocks::Double passes proc to expectation block with an argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:321 247s 247s 198) RSpec::Mocks::Double uses block for expectation if provided 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:270 247s 247s 199) RSpec::Mocks::Double responds to to_a as a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:306 247s 247s 200) RSpec::Mocks::Double returns value from block by default 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:423 247s 247s 201) RSpec::Mocks::Double returns the previously stubbed value if no return value is set 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:203 247s 247s 202) RSpec::Mocks::Double fails when calling yielding method without block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:546 247s 247s 203) RSpec::Mocks::Double returns the stubbed value when no new value specified 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:621 247s 247s 204) RSpec::Mocks::Double returns nil if no return value is set and there is no previously stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:210 247s 247s 205) RSpec::Mocks::Double is able to raise from method calling yielding double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:559 247s 247s 206) RSpec::Mocks::Double restores objects to their original state on rspec_reset 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:580 247s 247s 207) RSpec::Mocks::Double fails if expectation block fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:280 247s 247s 208) RSpec::Mocks::Double raises an exception of a given type without an error message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:352 247s 247s 209) RSpec::Mocks::Double passes proc to stub block with an argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:331 247s 247s 210) RSpec::Mocks::Double yields 0 args to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:430 247s 247s 211) RSpec::Mocks::Double does not raise when told to if args dont match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:386 247s 247s 212) RSpec::Mocks::Double yields one arg to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:447 247s 247s 213) RSpec::Mocks::Double allows `send` to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:71 247s 247s 214) RSpec::Mocks::Double can yield multiple times when told to do so 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:643 247s 247s 215) RSpec::Mocks::Double fails when receiving message specified as not to be received with args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:140 247s 247s 216) RSpec::Mocks::Double raises an exception of a given type with a message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:357 247s 247s 217) RSpec::Mocks::Double responds to to_ary as a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:302 247s 247s 218) RSpec::Mocks::Double is wrappable in an array when a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:296 247s 247s 219) RSpec::Mocks::Double generates the correct error when an unfulfilled expectation uses an unused double as a `with` argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:38 247s 247s 220) RSpec::Mocks::Double returns the stubbed value when stubbed with args and no new value specified 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:628 247s 247s 221) RSpec::Mocks::Double allows string representation of methods in constructor 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:47 247s 247s 222) RSpec::Mocks::Double does not get confused when a negative expectation is used with a string and symbol message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:178 247s 247s 223) RSpec::Mocks::Double raises exception if args don't match when method called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:216 247s 247s 224) RSpec::Mocks::Double yields many args 3 times consecutively to blocks that take a variable number of arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:473 247s 247s 225) RSpec::Mocks::Double does not get confused when a positive expectation is used with a string and symbol message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:187 247s 247s 226) RSpec::Mocks::Double does not require a different signature to replace a method stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:596 247s 247s 227) RSpec::Mocks::Double clears expectations after verify 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:571 247s 247s 228) RSpec::Mocks::Double does not respond_to? method_missing (because it's private) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:11 247s 247s 229) RSpec::Mocks::Double fails if unexpected method called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:264 247s 247s 230) RSpec::Mocks::Double string representation generated by #to_s does not contain < because that might lead to invalid HTML in some situations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:722 247s 247s 231) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:224 247s 247s 232) RSpec::Mocks::Double double created with no name does respond to initially stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:744 247s 247s 233) RSpec::Mocks::Double double created with no name does not use a name in a failure message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:739 247s 247s 234) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:253 247s 247s 235) RSpec::Mocks::Double == sends '== self' to the comparison object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:752 247s 247s 236) RSpec::Mocks::Double#to_str should not respond to #to_str to avoid being coerced to strings by the runtime 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:730 247s 247s 237) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:170 247s 247s 238) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:162 247s 247s 239) RSpec::Mocks::Double a double message receiving a block calls the block after #times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:702 247s 247s 240) RSpec::Mocks::Double a double message receiving a block calls the block after #ordered 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:710 247s 247s 241) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:668 247s 247s 242) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` after a similar stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:676 247s 247s 243) RSpec::Mocks::Double a double message receiving a block calls the block after #twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:693 247s 247s 244) RSpec::Mocks::Double a double message receiving a block calls the block after #once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:685 247s 247s 245) RSpec::Mocks::Double with with a block with non-matching args fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:815 247s 247s 246) RSpec::Mocks::Double with with a block with matching args returns the result of the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:808 247s 247s 247) RSpec::Mocks::Double with with args with matching args passes 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:765 247s 247s 248) RSpec::Mocks::Double with with args with non-matching doubles as_null_object fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:794 247s 247s 249) RSpec::Mocks::Double with with args with non-matching args fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:772 247s 247s 250) RSpec::Mocks::Double with with args with non-matching doubles fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/double_spec.rb:782 247s 247s 251) PartialDoubleUsingMocksDirectly passes when expected message is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:43 247s 247s 252) PartialDoubleUsingMocksDirectly restores the original method if it existed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:55 247s 247s 253) PartialDoubleUsingMocksDirectly fails when message is received with incorrect args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:35 247s 247s 254) PartialDoubleUsingMocksDirectly passes when message is received with correct args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:49 247s 247s 255) PartialDoubleUsingMocksDirectly fails when expected message is not received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:28 247s 247s 256) PartialDoubleUsingMocksDirectly with an instance method handled by method_missing restores the original behavior 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:64 247s 247s 257) PartialDoubleUsingMocksDirectly with a class method handled by method_missing restores the original behavior 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:74 247s 247s 258) #twice fails fast when call count is higher than expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:29 247s 247s 259) #twice fails when called with wrong args on the second call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:54 247s 247s 260) #twice passes when called twice with unspecified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:22 247s 247s 261) #twice passes when called twice with specified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:15 247s 247s 262) #twice fails when call count is lower than expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:38 247s 247s 263) #twice fails when called with wrong args on the first call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:46 247s 247s 264) #twice passes when called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:8 247s 247s 265) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:64 247s 247s 266) #twice when called with negative expectation raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/twice_counts_spec.rb:89 247s 247s 267) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility on a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 247s 247s 268) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when expecting a protected method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 247s 247s 269) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when allowing a private method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 247s 247s 270) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when allowing a protected method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 247s 247s 271) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a protected instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 247s 247s 272) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when expecting a private method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 247s 247s 273) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a protected instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 247s 247s 274) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a private instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 247s 247s 275) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a private instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 247s 247s 276) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility on a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 247s 247s 277) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when allowing a private method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 247s 247s 278) Method visibility for verified doubles for a class double (when the class is loaded) can expect a private instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 247s 247s 279) Method visibility for verified doubles for a class double (when the class is loaded) can expect a protected instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 247s 247s 280) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility on a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 247s 247s 281) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when expecting a private method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 247s 247s 282) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when allowing a protected method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 247s 247s 283) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility on a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 247s 247s 284) Method visibility for verified doubles for a class double (when the class is loaded) can allow a protected instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 247s 247s 285) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when expecting a protected method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 247s 247s 286) Method visibility for verified doubles for a class double (when the class is loaded) can allow a private instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 247s 247s 287) Serialization of mocked objects marshals the same with and without stubbing 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/serialization_spec.rb:84 247s 247s 288) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/serialization_spec.rb:47 247s 247s 289) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/serialization_spec.rb:43 247s 247s 290) Serialization of mocked objects without YAML loaded does not add #to_yaml to the stubbed object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/serialization_spec.rb:77 247s 247s 291) a double receiving to_ary double as_null_object does respond to to_a 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:27 247s 247s 292) a double receiving to_ary double as_null_object supports Array#flatten 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:13 247s 247s 293) a double receiving to_ary double as_null_object can be overridden with a stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:3 247s 247s 294) a double receiving to_ary double as_null_object does respond to to_ary 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:23 247s 247s 295) a double receiving to_ary double as_null_object responds when overridden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:8 247s 247s 296) a double receiving to_ary double as_null_object returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:31 247s 247s 297) a double receiving to_ary double without as_null_object doesn't respond to to_ary 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:40 247s 247s 298) a double receiving to_ary double without as_null_object can be overridden with a stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:3 247s 247s 299) a double receiving to_ary double without as_null_object doesn't respond to to_a 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:44 247s 247s 300) a double receiving to_ary double without as_null_object raises 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:48 247s 247s 301) a double receiving to_ary double without as_null_object supports Array#flatten 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:13 247s 247s 302) a double receiving to_ary double without as_null_object responds when overridden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/to_ary_spec.rb:8 247s 247s 303) Constructing a verifying double can only be named with a string or a module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:162 247s 247s 304) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of instance doubles for unloaded constants 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:149 247s 247s 305) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of class doubles for unloaded constants 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:155 247s 247s 306) Constructing a verifying double object doubles declares the class to verifying double callbacks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:131 247s 247s 307) Constructing a verifying double class doubles declares anonymous modules to verifying double callbacks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:119 247s 247s 308) Constructing a verifying double class doubles declares named modules to verifying double callbacks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:110 247s 247s 309) Constructing a verifying double class doubles cannot be constructed with a non-module object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:104 247s 247s 310) Constructing a verifying double instance doubles cannot be constructed with a non-module object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:18 247s 247s 311) Constructing a verifying double instance doubles allows classes to be customised 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:52 247s 247s 312) Constructing a verifying double instance doubles allows named constants to be looked up and declared to verifying double callbacks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:29 247s 247s 313) Constructing a verifying double instance doubles allows anonymous constants to be looked up and declared to verifying double callbacks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:40 247s 247s 314) Constructing a verifying double instance doubles can be constructed with a struct 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:24 247s 247s 315) Constructing a verifying double instance doubles any_instance calls the callback for allow_any_instance_of 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:85 247s 247s 316) Constructing a verifying double instance doubles any_instance should not call the callback if verify_partial_doubles is off 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:93 247s 247s 317) Constructing a verifying double instance doubles any_instance calls the callback for expect_any_instance_of 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:77 247s 247s 318) a message expectation with multiple invoke handlers with a specified count equal to the number of values returns values in order to consecutive calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:47 247s 247s 319) unstubbing with `and_call_original` replaces the stubbed method with the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:30 247s 247s 320) unstubbing with `and_call_original` removes all stubs with the supplied method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:38 247s 247s 321) unstubbing with `and_call_original` does not remove any expectations with the same method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:47 247s 247s 322) unstubbing with `and_call_original` when partial doubles are verified handles keyword arguments correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:97 247s 247s 323) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a grandparent and grandchild class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 247s 247s 324) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a parent and child class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 247s 247s 325) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 247s 247s 326) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 247s 247s 327) when the should syntax is enabled on a non-default syntax host continues to warn about the should syntax 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:574 247s 247s 328) with default syntax configuration includes the call site in the deprecation warning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:564 247s 247s 329) with default syntax configuration it warns about should once, regardless of how many times it is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:475 247s 247s 330) with default syntax configuration warns about unstubbing once, regardless of how many times it is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:541 247s 247s 331) with default syntax configuration doesn't warn about stubbing after a reset and setting should 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:554 247s 247s 332) with default syntax configuration warns about stubbing once, regardless of how many times it is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:496 247s 247s 333) with default syntax configuration warns about should not once, regardless of how many times it is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:487 247s 247s 334) a double _not_ acting as a null object says it responds to messages it does understand 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:12 247s 247s 335) a double _not_ acting as a null object says it does not respond to messages it doesn't understand 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:8 247s 247s 336) a double _not_ acting as a null object raises an error when interpolated in a string as an integer 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:17 247s 247s 337) OrderGroup #consume returns the first ordered? expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/order_group_spec.rb:18 247s 247s 338) OrderGroup #consume keeps returning ordered? expectation until all are returned 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/order_group_spec.rb:21 247s 247s 339) a message expectation with multiple return values and no specified count fails when there are too many calls (if there is no stub) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:44 247s 247s 340) a message expectation with multiple return values and no specified count falls back to a previously stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:30 247s 247s 341) a message expectation with multiple return values and no specified count returns values in order 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:23 247s 247s 342) a message expectation with multiple return values and no specified count fails when there are too few calls (if there is no stub) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:38 247s 247s 343) a message expectation with multiple return values specifying at_least less than the number of values uses the last return value for subsequent calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:74 247s 247s 344) a message expectation with multiple return values specifying at_least less than the number of values fails when called less than the specified number 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:81 247s 247s 345) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:89 247s 247s 346) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:96 247s 247s 347) An object double does not allow transferring constants to an object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:45 247s 247s 348) An object double is not a module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:58 247s 247s 349) An object double can create a double that matches the interface of any arbitrary object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:32 247s 247s 350) An object double validates `with` args against the method signature when stubbing a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:62 247s 247s 351) An object double does not allow as_stubbed_constant for real objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:52 247s 247s 352) An object double can replace an unloaded constant 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:8 247s 247s 353) An object double can replace a constant by name and verify instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:17 247s 247s 354) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:96 247s 247s 355) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:90 247s 247s 356) An object double when an unloaded object constant has previously been stubbed with an object treats it as being unloaded for `object_double('ConstName')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:106 247s 247s 357) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:111 247s 247s 358) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double(ConstName)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:129 247s 247s 359) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double('ConstName')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:124 247s 247s 360) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:72 247s 247s 361) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:78 247s 247s 362) Combining implementation instructions can combine and_yield, a block implementation and and_throw 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:115 247s 247s 363) Combining implementation instructions warns when the inner implementation block is overridden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:160 247s 247s 364) Combining implementation instructions can combine and_yield and and_raise 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:85 247s 247s 365) Combining implementation instructions can combine and_yield and and_return 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:4 247s 247s 366) Combining implementation instructions can combine and_yield, a block implementation and and_raise 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:94 247s 247s 367) Combining implementation instructions can combine and_yield and and_throw 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:106 247s 247s 368) Combining implementation instructions does not warn about overriding the stub when `:with` is chained off the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:165 247s 247s 369) Combining implementation instructions can combine and_call_original, with, and_return 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:173 247s 247s 370) Combining implementation instructions raises an error if `and_call_original` is followed by any other instructions 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:181 247s 247s 371) Combining implementation instructions a double that already has a terminal block action allows the block action to be overridden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:152 247s 247s 372) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:137 247s 247s 373) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:132 247s 247s 374) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:142 247s 247s 375) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `stub` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:25 247s 247s 376) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `exactly` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:37 247s 247s 377) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_least` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:43 247s 247s 378) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `with` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:31 247s 247s 379) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `ordered` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:78 247s 247s 380) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `twice` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:67 247s 247s 381) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `once` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:61 247s 247s 382) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `times` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:55 247s 247s 383) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_most` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:49 247s 247s 384) RSpec::Mocks::AnyInstance::MessageChains knows if a method does not have an expectation set on it 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:7 247s 247s 385) RSpec::Mocks::AnyInstance::MessageChains can remove all stub chains 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:18 247s 247s 386) RSpec::Mocks::AnyInstance::MessageChains knows if a method has an expectation set on it 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:12 247s 247s 387) RSpec::Mocks::AnyInstance::MessageChains creating stub chains allows multiple stub chains for a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:33 247s 247s 388) RSpec::Mocks::AnyInstance::MessageChains creating stub chains understands how to add a stub chain for a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:28 247s 247s 389) #any_instance invocation order when stubbing allows chaining 'and_yield' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:71 247s 247s 390) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_return' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:55 247s 247s 391) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_throw' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:67 247s 247s 392) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_raise' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:59 247s 247s 393) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_yield' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:63 247s 247s 394) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:78 247s 247s 395) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:83 247s 247s 396) #any_instance when directed at a method defined on a superclass mocks the method correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1286 247s 247s 397) #any_instance when directed at a method defined on a superclass stubs the method correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1281 247s 247s 398) #any_instance when used in conjunction with a `dup` doesn't fail when dup accepts parameters 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1266 247s 247s 399) #any_instance when used in conjunction with a `dup` doesn't bomb if the object doesn't support `dup` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1259 247s 247s 400) #any_instance when used in conjunction with a `dup` doesn't cause an infinite loop 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1250 247s 247s 401) #any_instance when used after the test has finished does not restore a stubbed method not originally implemented in the class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1323 247s 247s 402) #any_instance when used after the test has finished restores the original behaviour, even if the expectation fails 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1331 247s 247s 403) #any_instance when used after the test has finished restores the original behavior of a stubbed method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1312 247s 247s 404) #any_instance when resetting post-verification adds an instance to the current space when stubbed method is invoked 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1169 247s 247s 405) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1159 247s 247s 406) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1056 247s 247s 407) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1049 247s 247s 408) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1065 247s 247s 409) #any_instance when resetting post-verification existing method with stubbing private methods cleans up the backed up method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1083 247s 247s 410) #any_instance when resetting post-verification existing method with stubbing private methods restores a stubbed private method after the spec is run 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1087 247s 247s 411) #any_instance when resetting post-verification existing method with stubbing private methods ensures that the restored method behaves as it originally did 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1091 247s 247s 412) #any_instance when resetting post-verification existing method with expectations ensures that the next spec does not see that expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1147 247s 247s 413) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1121 247s 247s 414) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1126 247s 247s 415) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1141 247s 247s 416) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1136 247s 247s 417) #any_instance when resetting post-verification existing method with expectations private methods cleans up the backed up method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1106 247s 247s 418) #any_instance when resetting post-verification existing method with expectations private methods restores a stubbed private method after the spec is run 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1110 247s 247s 419) #any_instance when resetting post-verification existing method with expectations private methods ensures that the restored method behaves as it originally did 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1114 247s 247s 420) #any_instance when a class overrides Object#method mocks the method correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1305 247s 247s 421) #any_instance when a class overrides Object#method stubs the method correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1300 247s 247s 422) #any_instance expect_any_instance_of(...).not_to receive affects previously stubbed instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:477 247s 247s 423) #any_instance expect_any_instance_of(...).not_to receive passes if no method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:468 247s 247s 424) #any_instance expect_any_instance_of(...).not_to receive fails if the method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:460 247s 247s 425) #any_instance expect_any_instance_of(...).not_to receive passes if only a different method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:472 247s 247s 426) #any_instance expect_any_instance_of(...).not_to receive prevents confusing double-negative expressions involving `never` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:512 247s 247s 427) #any_instance expect_any_instance_of(...).not_to receive when used in combination with should_receive passes if only the expected message is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:504 247s 247s 428) #any_instance expect_any_instance_of(...).not_to receive with constraints fails if the method is called with the specified parameters 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:490 247s 247s 429) #any_instance expect_any_instance_of(...).not_to receive with constraints passes if the method is called with different parameters 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:497 247s 247s 430) #any_instance unstubbing using `and_call_original` removes stubs even if they have already been invoked 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:418 247s 247s 431) #any_instance unstubbing using `and_call_original` removes all stubs with the supplied method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:411 247s 247s 432) #any_instance unstubbing using `and_call_original` removes any stubs set directly on an instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:436 247s 247s 433) #any_instance unstubbing using `and_call_original` does not remove any expectations with the same method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:444 247s 247s 434) #any_instance unstubbing using `and_call_original` removes stubs from sub class after Invocation when super class was originally stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:427 247s 247s 435) #any_instance unstubbing using `and_call_original` replaces the stubbed method with the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:405 247s 247s 436) #any_instance unstubbing using `and_call_original` does not get confused about string vs symbol usage for the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:452 247s 247s 437) #any_instance when stubbing does not suppress an exception when a method that doesn't exist is invoked 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:91 247s 247s 438) #any_instance when stubbing with #and_return returns the same object for calls on different instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:271 247s 247s 439) #any_instance when stubbing with #and_return can stub a method that exists 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:266 247s 247s 440) #any_instance when stubbing with #and_return can stub a method that doesn't exist 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:261 247s 247s 441) #any_instance when stubbing with #and_return can change how instances responds in the middle of an example 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:278 247s 247s 442) #any_instance when stubbing when partially mocking objects resets partially mocked objects correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:349 247s 247s 443) #any_instance when stubbing aliased methods tracks aliased method calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:213 247s 247s 444) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:196 247s 247s 445) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:203 247s 247s 446) #any_instance when stubbing when the class has a prepended module allows stubbing a method that is not defined on the prepended module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:181 247s 247s 447) #any_instance when stubbing when the class has a prepended module prevents stubbing a method that is defined on the prepended module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:188 247s 247s 448) #any_instance when stubbing with #and_throw can stub a method that exists 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:328 247s 247s 449) #any_instance when stubbing with #and_throw can stub a method that doesn't exist 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:323 247s 247s 450) #any_instance when stubbing core ruby objects works with the non-standard constructor [] 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:370 247s 247s 451) #any_instance when stubbing core ruby objects works with the non-standard constructor class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:396 247s 247s 452) #any_instance when stubbing core ruby objects works with the non-standard constructor module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:390 247s 247s 453) #any_instance when stubbing core ruby objects works uniformly across *everything* 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:365 247s 247s 454) #any_instance when stubbing core ruby objects works with the non-standard constructor "" 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:380 247s 247s 455) #any_instance when stubbing core ruby objects works with the non-standard constructor {} 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:375 247s 247s 456) #any_instance when stubbing core ruby objects works with the non-standard constructor '' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:385 247s 247s 457) #any_instance when stubbing with argument matching returns the stubbed value when arguments match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:229 247s 247s 458) #any_instance when stubbing with argument matching fails the spec with an expectation error when the arguments do not match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:235 247s 247s 459) #any_instance when stubbing with a block returns the same computed value for calls on different instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:340 247s 247s 460) #any_instance when stubbing with a block stubs a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:335 247s 247s 461) #any_instance when stubbing with #and_call_original and competing #with can combine and_call_original, with, and_return 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:301 247s 247s 462) #any_instance when stubbing with #and_yield yields the value specified 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:291 247s 247s 463) #any_instance when stubbing behaves as 'every instance' handles freeze and duplication correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:150 247s 247s 464) #any_instance when stubbing behaves as 'every instance' handles method restoration on subclasses 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:172 247s 247s 465) #any_instance when stubbing behaves as 'every instance' stubs every instance in the spec 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:138 247s 247s 466) #any_instance when stubbing behaves as 'every instance' stubs instance created before any_instance was called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:144 247s 247s 467) #any_instance when stubbing behaves as 'every instance' handles stubbing on a sub class when a super class is stubbed differently 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:163 247s 247s 468) #any_instance when stubbing behaves as 'every instance' handles stubbing on super and subclasses 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:157 247s 247s 469) #any_instance when stubbing with #and_raise can stub a method that doesn't exist 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:311 247s 247s 470) #any_instance when stubbing with #and_raise can stub a method that exists 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:316 247s 247s 471) #any_instance when stubbing multiple methods allows multiple methods to be stubbed in a single invocation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:97 247s 247s 472) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:127 247s 247s 473) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given symbols representing the methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:105 247s 247s 474) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:110 247s 247s 475) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:115 247s 247s 476) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:120 247s 247s 477) #any_instance when stubbing with multiple stubs stubs a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:248 247s 247s 478) #any_instance when stubbing with multiple stubs returns the same value for calls on different instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:254 247s 247s 479) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1185 247s 247s 480) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1194 247s 247s 481) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1213 247s 247s 482) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance expectation doesn't effect with 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1207 247s 247s 483) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1240 247s 247s 484) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1231 247s 247s 485) #any_instance setting a message expectation properly notifies any instance recorders when they are created after the object's mock proxy 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:585 247s 247s 486) #any_instance setting a message expectation properly notifies any instance recorders at multiple levels of hierarchy when a directly stubbed object receives a message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:572 247s 247s 487) #any_instance setting a message expectation affects previously stubbed instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:538 247s 247s 488) #any_instance setting a message expectation works with a SimpleDelegator subclass 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:792 247s 247s 489) #any_instance setting a message expectation handles inspect accessing expected methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:523 247s 247s 490) #any_instance setting a message expectation works with a BasicObject subclass that mixes in Kernel 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:782 247s 247s 491) #any_instance setting a message expectation does not set the expectation on every instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:547 247s 247s 492) #any_instance setting a message expectation does not modify the return value of stubs set on an instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:555 247s 247s 493) #any_instance setting a message expectation does not modify the return value of stubs set on an instance of a subclass 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:563 247s 247s 494) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:645 247s 247s 495) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:636 247s 247s 496) #any_instance setting a message expectation when an instance has been directly stubbed fails when a second instance to receive the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:622 247s 247s 497) #any_instance setting a message expectation when the class has an included module allows mocking a method that is defined on the module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:612 247s 247s 498) #any_instance setting a message expectation message count the 'at_least(n)' constraint fails for n invocations where n < 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:964 247s 247s 499) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n > 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:973 247s 247s 500) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n = 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:958 247s 247s 501) #any_instance setting a message expectation message count the 'exactly(n)' constraint passes for n invocations where n = 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:933 247s 247s 502) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n < 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:939 247s 247s 503) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n > 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:948 247s 247s 504) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias passes for 1 invocation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:918 247s 247s 505) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias fails for 2 invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:924 247s 247s 506) #any_instance setting a message expectation message count the 'never' constraint fails on the first invocation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1008 247s 247s 507) #any_instance setting a message expectation message count the 'never' constraint passes for 0 invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1003 247s 247s 508) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations fails when the other expectations are not met 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1022 247s 247s 509) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations passes when the other expectations are met 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:1016 247s 247s 510) #any_instance setting a message expectation message count the 'twice' constraint fails for more than two invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:881 247s 247s 511) #any_instance setting a message expectation message count the 'twice' constraint passes for two invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:875 247s 247s 512) #any_instance setting a message expectation message count the 'thrice' constraint fails for less than three invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:906 247s 247s 513) #any_instance setting a message expectation message count the 'thrice' constraint passes for three invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:892 247s 247s 514) #any_instance setting a message expectation message count the 'thrice' constraint fails for more than three invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:898 247s 247s 515) #any_instance setting a message expectation message count the 'once' constraint fails when an instance is declared but there are no invocations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:856 247s 247s 516) #any_instance setting a message expectation message count the 'once' constraint fails for more than one invocation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:864 247s 247s 517) #any_instance setting a message expectation message count the 'once' constraint passes for one invocation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:844 247s 247s 518) #any_instance setting a message expectation message count the 'once' constraint fails when no instances are declared 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:849 247s 247s 519) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n = 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:981 247s 247s 520) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n < 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:987 247s 247s 521) #any_instance setting a message expectation message count the 'at_most(n)' constraint fails for n invocations where n > 3 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:993 247s 247s 522) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:676 247s 247s 523) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:684 247s 247s 524) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:661 247s 247s 525) #any_instance setting a message expectation with an expectation is set on a method which does not exist returns the expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:656 247s 247s 526) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if no instance is created 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:669 247s 247s 527) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:724 247s 247s 528) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:713 247s 247s 529) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:700 247s 247s 530) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:694 247s 247s 531) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:754 247s 247s 532) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:739 247s 247s 533) #any_instance setting a message expectation with an expectation is set on a method that exists returns the expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:734 247s 247s 534) #any_instance setting a message expectation with an expectation is set on a method that exists fails if no instance is created 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:747 247s 247s 535) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:769 247s 247s 536) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:763 247s 247s 537) #any_instance setting a message expectation with argument matching fails when arguments do not match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:831 247s 247s 538) #any_instance setting a message expectation with argument matching returns the expected value when arguments match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:807 247s 247s 539) #any_instance setting a message expectation with argument matching fails when the arguments match but different instances are used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:813 247s 247s 540) #any_instance setting a message expectation with argument matching is not affected by the invocation of existing methods on other instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:824 247s 247s 541) #any_instance setting a message expectation when the class has a prepended module prevents mocking a method that is defined on the prepended module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:602 247s 247s 542) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:595 247s 247s 543) #any_instance chain yields the value specified 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/any_instance_spec.rb:47 247s 247s 544) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:49 247s 247s 545) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) updates stubs on instances with existing stubs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:55 247s 247s 546) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 247s 247s 547) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 247s 247s 548) RSpec::Mocks::ErrorGenerator formatting arguments formats time objects with increased precision 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:31 247s 247s 549) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that do not define description does not use the object's description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:62 247s 247s 550) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that define description uses the object's description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:52 247s 247s 551) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects on default method stub error message display starts in new line 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:79 247s 247s 552) RSpec::Mocks::ErrorGenerator formatting arguments on non-matcher objects that define #description does not use the object's description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:42 247s 247s 553) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/error_generator_spec.rb:15 247s 247s 554) Using a partial mock on a proxy object works properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:236 247s 247s 555) Using a partial mock on a proxy object does not confuse the proxy and the proxied object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:241 247s 247s 556) argument matchers matching boolean accepts true as boolean 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:11 247s 247s 557) argument matchers matching boolean accepts false as boolean 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:16 247s 247s 558) argument matchers matching boolean rejects non boolean 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:21 247s 247s 559) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:383 247s 247s 560) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:378 247s 247s 561) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:373 247s 247s 562) argument matchers matching array_including matches array with array_including same array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:278 247s 247s 563) argument matchers matching array_including fails array_including when arg doesn't contain all elements 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:295 247s 247s 564) argument matchers matching array_including fails array_including when args aren't array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:288 247s 247s 565) argument matchers matching array_including matches array with array_including using fuzzymatcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:283 247s 247s 566) argument matchers matching hash_including matches hash with hash_including same hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:250 247s 247s 567) argument matchers matching hash_including fails hash_including with missing key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:255 247s 247s 568) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted regexp 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:412 247s 247s 569) argument matchers matching handling non-matcher arguments matches a class against an instance of itself 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:468 247s 247s 570) argument matchers matching handling non-matcher arguments fails a class against an object of a different type 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:473 247s 247s 571) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:444 247s 247s 572) argument matchers matching handling non-matcher arguments fails a class against an unrelated class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:463 247s 247s 573) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:429 247s 247s 574) argument matchers matching handling non-matcher arguments fails with sensible message when args respond to #description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:484 247s 247s 575) argument matchers matching handling non-matcher arguments matches against a hash submitted and received by value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:417 247s 247s 576) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is blank 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:498 247s 247s 577) argument matchers matching handling non-matcher arguments matches a class against itself 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:458 247s 247s 578) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong keys 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:451 247s 247s 579) argument matchers matching handling non-matcher arguments matches string against regexp 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:397 247s 247s 580) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:422 247s 247s 581) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:491 247s 247s 582) argument matchers matching handling non-matcher arguments matches regexp against regexp 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:402 247s 247s 583) argument matchers matching handling non-matcher arguments fails with zero arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:478 247s 247s 584) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:407 247s 247s 585) argument matchers matching array_excluding matches array_excluding when using the fuzzy matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:323 247s 247s 586) argument matchers matching array_excluding fails array_excluding when arg contains some elements 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:316 247s 247s 587) argument matchers matching array_excluding fails array_excluding when is the same array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:309 247s 247s 588) argument matchers matching array_excluding fails array_excluding when using the fuzzy matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:328 247s 247s 589) argument matchers matching array_excluding matches array with array_excluding different array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:304 247s 247s 590) argument matchers matching handling arbitrary matchers matches against a Matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:345 247s 247s 591) argument matchers matching handling arbitrary matchers matches any arbitrary object using #=== 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:337 247s 247s 592) argument matchers matching handling arbitrary matchers fails when given an arbitrary object that returns false from #=== 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:352 247s 247s 593) argument matchers matching any_args as the only arg passed to `with` matches no args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:135 247s 247s 594) argument matchers matching any_args as the only arg passed to `with` matches one arg 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:139 247s 247s 595) argument matchers matching any_args as the only arg passed to `with` matches many args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:143 247s 247s 596) argument matchers matching any_args when passed twice immediately signals that this is invalid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:221 247s 247s 597) argument matchers matching any_args as the middle of three args does not match a call of no args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:215 247s 247s 598) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:207 247s 247s 599) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:199 247s 247s 600) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:203 247s 247s 601) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:211 247s 247s 602) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:175 247s 247s 603) argument matchers matching any_args as the first of three args does not match a call where the last two args do not match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:187 247s 247s 604) argument matchers matching any_args as the first of three args does not match a call of no args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:191 247s 247s 605) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:179 247s 247s 606) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:183 247s 247s 607) argument matchers matching any_args as the last of three args does not match a call where the first two args do not match 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:163 247s 247s 608) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:151 247s 247s 609) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:159 247s 247s 610) argument matchers matching any_args as the last of three args does not match a call of no args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:167 247s 247s 611) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:155 247s 247s 612) argument matchers matching no_args fails no_args with one arg 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:235 247s 247s 613) argument matchers matching no_args matches no args against no_args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:230 247s 247s 614) argument matchers matching no_args when passed with other arguments immediately signals that this is invalid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:241 247s 247s 615) argument matchers matching kind_of matches arguments that have defined `kind_of?` to return true 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:47 247s 247s 616) argument matchers matching kind_of handles non matching kinds nicely 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:40 247s 247s 617) argument matchers matching kind_of accepts fixnum as kind_of(Numeric) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:30 247s 247s 618) argument matchers matching kind_of accepts float as kind_of(Numeric) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:35 247s 247s 619) argument matchers matching kind_of handles a class thats overridden === 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:53 247s 247s 620) argument matchers matching anything handles non matching instances nicely 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:106 247s 247s 621) argument matchers matching anything doesn't accept no arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:101 247s 247s 622) argument matchers matching anything accepts string as anything 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:96 247s 247s 623) argument matchers matching hash_excluding handles non matching instances nicely 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:269 247s 247s 624) argument matchers matching hash_excluding matches hash with hash_excluding same hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:264 247s 247s 625) argument matchers matching duck_type rejects goose when expecting a duck 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:123 247s 247s 626) argument matchers matching duck_type matches duck type with one method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:113 247s 247s 627) argument matchers matching duck_type matches duck type with two methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:118 247s 247s 628) argument matchers matching instance_of accepts float as instance_of(Float) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:62 247s 247s 629) argument matchers matching instance_of does NOT accept float as instance_of(Numeric) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:67 247s 247s 630) argument matchers matching instance_of does NOT accept integer as instance_of(Numeric) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:72 247s 247s 631) argument matchers matching instance_of rejects non string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:82 247s 247s 632) argument matchers matching instance_of handles non matching instances nicely 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:87 247s 247s 633) argument matchers matching instance_of rejects non numeric 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/argument_matchers_spec.rb:77 247s 247s 634) and_invoke when a block is passed raises ArgumentError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_invoke_spec.rb:7 247s 247s 635) and_invoke when calling passed callables passes the arguments into the callable 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_invoke_spec.rb:35 247s 247s 636) and_invoke when no argument is passed raises ArgumentError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_invoke_spec.rb:15 247s 247s 637) and_invoke when a non-callable are passed in any position raises ArgumentError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_invoke_spec.rb:24 247s 247s 638) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes passed matchers 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:10 247s 247s 639) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes itself properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:6 247s 247s 640) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:75 247s 247s 641) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match an empty hash with a given key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:83 247s 247s 642) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with an incorrect value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:91 247s 247s 643) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:79 247s 247s 644) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key when one pair is matching 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:87 247s 247s 645) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a non-hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:71 247s 247s 646) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match when values are nil but keys are different 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:95 247s 247s 647) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches against classes inheriting from Hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:25 247s 247s 648) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches a hash with extra stuff 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:21 247s 247s 649) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches the same hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:17 247s 247s 650) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches an int against anything() 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:30 247s 247s 651) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers can match against arbitrary objects that implement #=== 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:38 247s 247s 652) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches a string against anything() 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:34 247s 247s 653) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:56 247s 247s 654) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:60 247s 247s 655) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if more keys are present 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:48 247s 247s 656) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if the key is present 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:44 247s 247s 657) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches a string against a given key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:52 247s 247s 658) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:64 247s 247s 659) RSpec::Mocks::Matchers::Receive has a description before being matched 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:636 247s 247s 660) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations can toggle the available syntax 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:704 247s 247s 661) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations cannot use `expect` with another matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:696 247s 247s 662) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 247s 247s 663) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 247s 247s 664) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 247s 247s 665) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 247s 247s 666) RSpec::Mocks::Matchers::Receive allow(...).to receive ordered with receive counts is not supported 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:417 247s 247s 667) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance does not expect the message to be received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 247s 247s 668) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 247s 247s 669) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 247s 247s 670) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 247s 247s 671) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 247s 247s 672) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not support other matchers 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 247s 247s 673) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does support inherited matchers 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 247s 247s 674) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 247s 247s 675) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 247s 247s 676) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 247s 247s 677) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 247s 247s 678) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 247s 247s 679) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 247s 247s 680) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 247s 247s 681) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 247s 247s 682) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 247s 247s 683) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 247s 247s 684) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 247s 247s 685) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 247s 247s 686) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 247s 247s 687) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 247s 247s 688) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like resets partial mocks cleanly removes the method double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 247s 247s 689) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:446 247s 247s 690) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:451 247s 247s 691) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:439 247s 247s 692) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:431 247s 247s 693) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 247s 247s 694) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 247s 247s 695) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 247s 247s 696) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 247s 247s 697) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last can use `expect` with any matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:758 247s 247s 698) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 247s 247s 699) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 247s 247s 700) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 247s 247s 701) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 247s 247s 702) RSpec::Mocks::Matchers::Receive allow(...).not_to receive behaves like an expect syntax negative allowance is disabled since this expression is confusing 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 247s 247s 703) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation supports `to_not` as an alias for `not_to` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 247s 247s 704) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 247s 247s 705) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 247s 247s 706) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation prevents confusing double-negative expressions involving `never` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 247s 247s 707) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation allows the caller to constrain the received arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 247s 247s 708) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like resets partial mocks cleanly removes the method double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 247s 247s 709) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at most when the ordering is correct 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:568 247s 247s 710) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts does not result in infinite recursion when `respond_to?` is stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:590 247s 247s 711) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts fails with exact receive counts when the ordering is incorrect 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:533 247s 247s 712) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with exact receive counts when the ordering is correct 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:524 247s 247s 713) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at least when the ordering is correct 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:546 247s 247s 714) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 247s 247s 715) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 247s 247s 716) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 247s 247s 717) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation provides a useful matcher description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 247s 247s 718) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:493 247s 247s 719) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 247s 247s 720) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 247s 247s 721) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 247s 247s 722) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 247s 247s 723) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 247s 247s 724) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 247s 247s 725) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 247s 247s 726) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 247s 247s 727) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 247s 247s 728) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 247s 247s 729) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 247s 247s 730) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 247s 247s 731) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 247s 247s 732) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 247s 247s 733) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 247s 247s 734) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 247s 247s 735) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 247s 247s 736) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 247s 247s 737) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:502 247s 247s 738) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 247s 247s 739) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 247s 247s 740) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 247s 247s 741) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 247s 247s 742) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 247s 247s 743) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 247s 247s 744) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:611 247s 247s 745) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 247s 247s 746) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 247s 247s 747) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 247s 247s 748) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation provides a useful matcher description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 247s 247s 749) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 247s 247s 750) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 247s 247s 751) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 247s 247s 752) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 247s 247s 753) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 247s 247s 754) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 247s 247s 755) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 247s 247s 756) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 247s 247s 757) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 247s 247s 758) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 247s 247s 759) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 247s 247s 760) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 247s 247s 761) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 247s 247s 762) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 247s 247s 763) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 247s 247s 764) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 247s 247s 765) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 247s 247s 766) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 247s 247s 767) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 247s 247s 768) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 247s 247s 769) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 247s 247s 770) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 247s 247s 771) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 247s 247s 772) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 247s 247s 773) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 247s 247s 774) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 247s 247s 775) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance does not expect the message to be received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 247s 247s 776) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 247s 247s 777) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 247s 247s 778) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 247s 247s 779) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 247s 247s 780) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 247s 247s 781) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 247s 247s 782) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 247s 247s 783) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 247s 247s 784) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 247s 247s 785) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 247s 247s 786) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 247s 247s 787) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 247s 247s 788) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 247s 247s 789) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 247s 247s 790) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 247s 247s 791) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 247s 247s 792) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 247s 247s 793) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 247s 247s 794) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 247s 247s 795) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 247s 247s 796) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:736 247s 247s 797) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first can use `expect` with any matcher 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:730 247s 247s 798) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 247s 247s 799) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 247s 247s 800) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 247s 247s 801) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 247s 247s 802) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the expect warning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:26 247s 247s 803) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the allow warning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:14 247s 247s 804) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about allow(Klass.any_instance).to receive... 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:9 247s 247s 805) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about expect(Klass.any_instance).to receive... 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_spec.rb:19 247s 247s 806) Constant Mutating #hide_const can be hidden multiple times but still restores the original value properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:193 247s 247s 807) Constant Mutating #hide_const allows a constant to be hidden, then stubbed, restoring it to its original value properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:202 247s 247s 808) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:139 247s 247s 809) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:134 247s 247s 810) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:145 247s 247s 811) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant does not hide the top-level constant 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:166 247s 247s 812) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:145 247s 247s 813) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:134 247s 247s 814) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:139 247s 247s 815) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:93 247s 247s 816) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding resets the constant when rspec clear its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:87 247s 247s 817) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding allows it to be hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:82 247s 247s 818) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:139 247s 247s 819) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:134 247s 247s 820) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:145 247s 247s 821) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:93 247s 247s 822) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:87 247s 247s 823) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:82 247s 247s 824) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:93 247s 247s 825) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:87 247s 247s 826) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding allows it to be hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:82 247s 247s 827) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding allows it to be hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:82 247s 247s 828) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:87 247s 247s 829) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding returns nil 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:93 247s 247s 830) Constant Mutating #stub_const requires a string argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:221 247s 247s 831) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 832) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 833) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 834) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 835) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 836) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 837) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 838) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 839) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:427 247s 247s 840) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 841) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 842) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 843) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 844) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:64 247s 247s 845) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:58 247s 247s 846) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:72 247s 247s 847) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:409 247s 247s 848) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:418 247s 247s 849) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 850) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 851) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 852) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 853) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:72 247s 247s 854) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:64 247s 247s 855) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:58 247s 247s 856) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:58 247s 247s 857) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:64 247s 247s 858) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:72 247s 247s 859) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:72 247s 247s 860) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:58 247s 247s 861) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:64 247s 247s 862) Constant Mutating #stub_const for a loaded unnested constant removes the transferred constants on reset 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:247 247s 247s 863) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer a nested constant that is not defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:313 247s 247s 864) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be transferred to a stub module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:238 247s 247s 865) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be selectively transferred to a stub module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:274 247s 247s 866) Constant Mutating #stub_const for a loaded unnested constant can be stubbed multiple times but still restores the original value properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:228 247s 247s 867) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:282 247s 247s 868) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:298 247s 247s 869) Constant Mutating #stub_const for a loaded unnested constant does not transfer nested constants that are inherited from a superclass 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:256 247s 247s 870) Constant Mutating #stub_const for a loaded unnested constant raises an error when asked to transfer a nested inherited constant 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:264 247s 247s 871) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:58 247s 247s 872) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:64 247s 247s 873) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:72 247s 247s 874) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:332 247s 247s 875) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:347 247s 247s 876) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:342 247s 247s 877) Constant Mutating #stub_const for an unloaded nested constant removes the root constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:387 247s 247s 878) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 879) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 880) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 881) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 882) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 883) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 884) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 885) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 886) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 887) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 888) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 889) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 890) Constant Mutating #stub_const for an unloaded deeply nested constant removes the root constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:398 247s 247s 891) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:120 247s 247s 892) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing allows it to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:105 247s 247s 893) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing returns the stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:116 247s 247s 894) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:110 247s 247s 895) an expectation set on nil does not issue a warning when expectations are set to be allowed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:24 247s 247s 896) an expectation set on nil issues a warning with file and line number information 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:4 247s 247s 897) an expectation set on nil does not call #nil? on a double extra times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:60 247s 247s 898) an expectation set on nil issues a warning when the expectation is negative 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:15 247s 247s 899) an expectation set on nil configured to disallow expectations on nil raises an error when expectations on nil are disallowed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:53 247s 247s 900) an expectation set on nil configured to allow expectation on nil does not issue a warning when expectations are set to be allowed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:38 247s 247s 901) Expected argument verification (when `#with` is called) when doubling a loaded class does not cover required args when `any_args` is not used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:97 247s 247s 902) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:111 247s 247s 903) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:105 247s 247s 904) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:134 247s 247s 905) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:128 247s 247s 906) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:150 247s 247s 907) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:45 247s 247s 908) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:29 247s 247s 909) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:37 247s 247s 910) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:119 247s 247s 911) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:72 247s 247s 912) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:66 247s 247s 913) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:58 247s 247s 914) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:80 247s 247s 915) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:86 247s 247s 916) Expected argument verification (when `#with` is called) when doubling an unloaded class allows any arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:11 247s 247s 917) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double allowance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:517 247s 247s 918) when verify_partial_doubles configuration option is set verifies arity range when matching arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:497 247s 247s 919) when verify_partial_doubles configuration option is set does not allow a non-existing method to be called on any_instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:541 247s 247s 920) when verify_partial_doubles configuration option is set allows a method defined with method_missing to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:502 247s 247s 921) when verify_partial_doubles configuration option is set allows stubbing and calls the stubbed implementation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:572 247s 247s 922) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:529 247s 247s 923) when verify_partial_doubles configuration option is set does not allow a non-existing method to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:487 247s 247s 924) when verify_partial_doubles configuration option is set avoids deadlocks when a proxy is accessed from within a `before_verifying_doubles` callback 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:443 247s 247s 925) when verify_partial_doubles configuration option is set allows private methods to be expected on any_instance expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:512 247s 247s 926) when verify_partial_doubles configuration option is set allows valid methods to be expected on any_instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:507 247s 247s 927) when verify_partial_doubles configuration option is set allows the mock to raise an error with yield 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:566 247s 247s 928) when verify_partial_doubles configuration option is set allows valid methods to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:375 247s 247s 929) when verify_partial_doubles configuration option is set temporarily supressing partial doubles does not affect normal verifying doubles 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:413 247s 247s 930) when verify_partial_doubles configuration option is set can be temporarily supressed and nested 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:398 247s 247s 931) when verify_partial_doubles configuration option is set does not allow a spy on unimplemented method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:491 247s 247s 932) when verify_partial_doubles configuration option is set can be temporarily supressed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:385 247s 247s 933) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:421 247s 247s 934) when verify_partial_doubles configuration option is set does not allow missing methods to be called on any_instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:547 247s 247s 935) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an allowance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:432 247s 247s 936) when verify_partial_doubles configuration option is set verifies arity range when receiving a message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:556 247s 247s 937) when verify_partial_doubles configuration option is set allows private methods to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:380 247s 247s 938) when verify_partial_doubles configuration option is set for a class only runs the `before_verifying_doubles` callback for the class (not for superclasses) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:462 247s 247s 939) when verify_partial_doubles configuration option is set for a class can be temporarily supressed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:474 247s 247s 940) when verify_partial_doubles configuration option is set when `.new` is stubbed uses the method signature from `#initialize` for arg verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:582 247s 247s 941) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:640 247s 247s 942) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:588 247s 247s 943) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:626 247s 247s 944) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:599 247s 247s 945) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:611 247s 247s 946) MockExpectationError is not caught by StandardError rescue blocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_expectation_error_spec.rb:12 247s 247s 947) A method stub with args does not complain if not called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:521 247s 247s 948) A method stub with args does not complain if also mocked w/ different args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:540 247s 247s 949) A method stub with args complains if called with other arg 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:534 247s 247s 950) A method stub with args uses the correct stubbed response when responding to a mock expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:555 247s 247s 951) A method stub with args complains if also mocked w/ different args AND called w/ a 3rd set of args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:546 247s 247s 952) A method stub with args does not complain if called with arg 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:524 247s 247s 953) A method stub with args complains if called with no arg 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:528 247s 247s 954) receive_message_chain when the expect and should syntaxes are enabled stubs the message correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:241 247s 247s 955) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:206 247s 247s 956) receive_message_chain with only the expect syntax enabled passes when with expect_any_instance_of is used and the entire chain is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:183 247s 247s 957) receive_message_chain with only the expect syntax enabled works with a string of messages to chain 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:103 247s 247s 958) receive_message_chain with only the expect syntax enabled works with and_return 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:54 247s 247s 959) receive_message_chain with only the expect syntax enabled works with and_yield 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:97 247s 247s 960) receive_message_chain with only the expect syntax enabled errors with a negative any_instance expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:20 247s 247s 961) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:168 247s 247s 962) receive_message_chain with only the expect syntax enabled works with and_call_original 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:73 247s 247s 963) receive_message_chain with only the expect syntax enabled can constrain the return value by the argument to the last call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:66 247s 247s 964) receive_message_chain with only the expect syntax enabled errors with a negative expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:14 247s 247s 965) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:127 247s 247s 966) receive_message_chain with only the expect syntax enabled stubs already stubbed instances when using `allow_any_instance_of` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:159 247s 247s 967) receive_message_chain with only the expect syntax enabled does not raise when expect is used and the entire chain is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:143 247s 247s 968) receive_message_chain with only the expect syntax enabled gives the { } block precedence over the do block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:46 247s 247s 969) receive_message_chain with only the expect syntax enabled works with allow_any_instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:151 247s 247s 970) receive_message_chain with only the expect syntax enabled affects previously stubbed instances when `expect_any_instance_of` is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:175 247s 247s 971) receive_message_chain with only the expect syntax enabled works with and_invoke 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:60 247s 247s 972) receive_message_chain with only the expect syntax enabled works with a {} block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:40 247s 247s 973) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:190 247s 247s 974) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:214 247s 247s 975) receive_message_chain with only the expect syntax enabled errors with a negative allowance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:8 247s 247s 976) receive_message_chain with only the expect syntax enabled works with a hash return as the last argument in the chain 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:109 247s 247s 977) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:135 247s 247s 978) receive_message_chain with only the expect syntax enabled errors with a negative any_instance allowance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:26 247s 247s 979) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:198 247s 247s 980) receive_message_chain with only the expect syntax enabled works with and_raise 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:85 247s 247s 981) receive_message_chain with only the expect syntax enabled works with and_throw 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:91 247s 247s 982) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:227 247s 247s 983) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages with an inline hash return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:121 247s 247s 984) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols and a hash) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:232 247s 247s 985) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:115 247s 247s 986) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:79 247s 247s 987) receive_message_chain with only the expect syntax enabled works with a do block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:32 247s 247s 988) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing a string) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:222 247s 247s 989) Methods added to every object limits the number of methods that get added to all objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/methods_spec.rb:13 247s 247s 990) #allow_message_expectations_on_nil doesnt error when marshalled 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:85 247s 247s 991) #allow_message_expectations_on_nil does not affect subsequent examples 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:70 247s 247s 992) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 993) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 994) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 995) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 996) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 997) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 998) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 999) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 247s 247s 1000) Partially mocking an object that defines ==, after another mock has been defined does not raise an error when stubbing the object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:268 247s 247s 1001) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:112 247s 247s 1002) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 247s 247s 1003) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 247s 247s 1004) #as_null_object sets the object to null_object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:113 247s 247s 1005) A partial double can disallow messages from being received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:64 247s 247s 1006) A partial double uses reports nil in the error message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:132 247s 247s 1007) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:145 247s 247s 1008) A partial double clears message expectations when `dup`ed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:168 247s 247s 1009) A partial double can accept a hash as a message argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:79 247s 247s 1010) A partial double can accept the string form of a message for a negative message expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:124 247s 247s 1011) A partial double allows a class and a subclass to both be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:100 247s 247s 1012) A partial double can create a positive message expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:95 247s 247s 1013) A partial double names the class in the failure message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:12 247s 247s 1014) A partial double can accept an inner hash as a message argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:86 247s 247s 1015) A partial double allows `respond_to?` to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:46 247s 247s 1016) A partial double names the class in the failure message when expectation is on class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:19 247s 247s 1017) A partial double allows `class` to be stubbed even when `any_instance` has already been used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:32 247s 247s 1018) A partial double can accept the string form of a message for a positive message expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:119 247s 247s 1019) A partial double verifies the method was called when expecting a message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:112 247s 247s 1020) A partial double does not conflict with @options in the object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:26 247s 247s 1021) A partial double does not create an any_instance recorder when a message is allowed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:6 247s 247s 1022) A partial double can expect a message and set a return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:74 247s 247s 1023) A partial double shares message expectations with clone 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:160 247s 247s 1024) .allow_message sets up message allowance with params and return value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:16 247s 247s 1025) .allow_message does not get confused when the string and symbol message form are both used 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:36 247s 247s 1026) .allow_message sets up basic message allowance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:6 247s 247s 1027) .allow_message does not set an expectation that the message will be received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:31 247s 247s 1028) .allow_message supports block implementations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:26 247s 247s 1029) .allow_message when target cannot be proxied raises ArgumentError with message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:47 247s 247s 1030) a message expectation with multiple invoke handlers and no specified count fails when there are too few calls (if there is no stub) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:25 247s 247s 1031) a message expectation with multiple invoke handlers and no specified count fails when there are too many calls (if there is no stub) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:31 247s 247s 1032) a message expectation with multiple invoke handlers and no specified count falls back to a previously stubbed value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:17 247s 247s 1033) a message expectation with multiple invoke handlers and no specified count invokes procs in order 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:10 247s 247s 1034) A chained method stub does not get confused by symbol vs string usage for the messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:6 247s 247s 1035) A chained method stub handles private instance methods (like Object#select) in the middle of a chain 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:160 247s 247s 1036) A chained method stub returns expected value from chaining four method calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:96 247s 247s 1037) A chained method stub returns expected value when chain is a dot separated string, like stub_chain('msg1.msg2.msg3') 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:147 247s 247s 1038) A chained method stub returns expected value from two chains with shared messages at the beginning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:152 247s 247s 1039) A chained method stub with two methods in chain accepts any number of arguments to the stubbed messages in the chain 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:38 247s 247s 1040) A chained method stub with two methods in chain using a block returns the correct value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:52 247s 247s 1041) A chained method stub with two methods in chain using and_return returns expected value from chaining two method calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:45 247s 247s 1042) A chained method stub with two methods in chain using a hash returns the value of the key/value pair 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:59 247s 247s 1043) A chained method stub with four methods in chain using a block returns the correct value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:75 247s 247s 1044) A chained method stub with four methods in chain using a hash with a string key returns the value of the key/value pair 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:89 247s 247s 1045) A chained method stub with four methods in chain using a hash returns the value of the key/value pair 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:82 247s 247s 1046) A chained method stub with four methods in chain using and_return returns expected value from chaining two method calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:68 247s 247s 1047) A chained method stub with one method in chain using and_return returns expected value from chaining only one method call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:16 247s 247s 1048) A chained method stub with one method in chain using a hash returns the value of the key/value pair 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:30 247s 247s 1049) A chained method stub with one method in chain using a block returns the correct value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:23 247s 247s 1050) A chained method stub with messages shared across multiple chains using and_return starting with the different messages returns expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:114 247s 247s 1051) A chained method stub with messages shared across multiple chains using and_return starting with the same message returns expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:104 247s 247s 1052) A chained method stub with messages shared across multiple chains using => value starting with the same message returns expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:126 247s 247s 1053) A chained method stub with messages shared across multiple chains using => value starting with different messages returns expected value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_chain_spec.rb:136 247s 247s 1054) RSpec::Mocks::TestDouble copies the `as_null_object` state when clone'd 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:34 247s 247s 1055) RSpec::Mocks::TestDouble copies the `as_null_object` state when dup'd 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:34 247s 247s 1056) RSpec::Mocks::TestDouble with syntax [:should, :expect] stubs the methods passed in the stubs hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:48 247s 247s 1057) RSpec::Mocks::TestDouble with syntax [:should] stubs the methods passed in the stubs hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:48 247s 247s 1058) RSpec::Mocks::TestDouble#freeze returns the instance of the test double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:27 247s 247s 1059) RSpec::Mocks::TestDouble#freeze doesn't freeze the object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:17 247s 247s 1060) RSpec::Mocks::TestDouble#freeze gives a warning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:7 247s 247s 1061) RSpec::Mocks::TestDouble#freeze gives the correct call site for the warning 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:12 247s 247s 1062) RSpec::Mocks::TestDouble with syntax [:expect] stubs the methods passed in the stubs hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/test_double_spec.rb:48 247s 247s 1063) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates the name is invalid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:577 247s 247s 1064) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) exposes the provided string as the name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:576 247s 247s 1065) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:579 247s 247s 1066) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it was not previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:578 247s 247s 1067) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:581 247s 247s 1068) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) returns nil for its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:582 247s 247s 1069) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:580 247s 247s 1070) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:568 247s 247s 1071) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:563 247s 247s 1072) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:564 247s 247s 1073) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:567 247s 247s 1074) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it was previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:565 247s 247s 1075) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:566 247s 247s 1076) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:569 247s 247s 1077) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:512 247s 247s 1078) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it was previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:511 247s 247s 1079) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:515 247s 247s 1080) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:510 247s 247s 1081) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:509 247s 247s 1082) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:514 247s 247s 1083) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:513 247s 247s 1084) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:526 247s 247s 1085) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:528 247s 247s 1086) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice returns nil for the original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:529 247s 247s 1087) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:524 247s 247s 1088) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:523 247s 247s 1089) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:527 247s 247s 1090) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it was not previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:525 247s 247s 1091) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:484 247s 247s 1092) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it was not previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:485 247s 247s 1093) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:488 247s 247s 1094) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant returns nil for the original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:489 247s 247s 1095) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:486 247s 247s 1096) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:483 247s 247s 1097) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:487 247s 247s 1098) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it was previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:446 247s 247s 1099) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:449 247s 247s 1100) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:445 247s 247s 1101) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:450 247s 247s 1102) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:447 247s 247s 1103) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:448 247s 247s 1104) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:444 247s 247s 1105) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:496 247s 247s 1106) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:495 247s 247s 1107) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it was not previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:497 247s 247s 1108) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:498 247s 247s 1109) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:499 247s 247s 1110) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant returns nil for the original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:501 247s 247s 1111) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:500 247s 247s 1112) RSpec::Mocks::Constant.original for a previously undefined hidden constant returns nil for the original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:542 247s 247s 1113) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:540 247s 247s 1114) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it was previously undefined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:538 247s 247s 1115) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:537 247s 247s 1116) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:541 247s 247s 1117) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:539 247s 247s 1118) RSpec::Mocks::Constant.original for a previously undefined hidden constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:536 247s 247s 1119) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:475 247s 247s 1120) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:474 247s 247s 1121) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it was not previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:472 247s 247s 1122) RSpec::Mocks::Constant.original for a previously undefined stubbed constant returns nil for the original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:476 247s 247s 1123) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:471 247s 247s 1124) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:473 247s 247s 1125) RSpec::Mocks::Constant.original for a previously undefined stubbed constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:470 247s 247s 1126) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:463 247s 247s 1127) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has not been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:462 247s 247s 1128) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:458 247s 247s 1129) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:461 247s 247s 1130) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:457 247s 247s 1131) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:460 247s 247s 1132) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it was previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:459 247s 247s 1133) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been mutated 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:552 247s 247s 1134) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:553 247s 247s 1135) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:549 247s 247s 1136) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates the name is valid 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:550 247s 247s 1137) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it was previously defined 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:551 247s 247s 1138) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its original value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:555 247s 247s 1139) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been hidden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mutate_const_spec.rb:554 247s 247s 1140) Verified double naming instance_double behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1141) Verified double naming instance_double behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1142) Verified double naming instance_double behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1143) Verified double naming instance_spy behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1144) Verified double naming instance_spy behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1145) Verified double naming instance_spy behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1146) Verified double naming object_spy behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1147) Verified double naming object_spy behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1148) Verified double naming object_spy behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1149) Verified double naming object_double behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1150) Verified double naming object_double behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1151) Verified double naming object_double behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1152) Verified double naming class_spy behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1153) Verified double naming class_spy behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1154) Verified double naming class_spy behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1155) Verified double naming class_double behaves like a named verifying double when no name is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 247s 247s 1156) Verified double naming class_double behaves like a named verifying double when a name is given as a symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 247s 247s 1157) Verified double naming class_double behaves like a named verifying double when a name is given as a string 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 247s 247s 1158) After a test double has been torn down for a plain double disallows stubbing new message chains 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:35 247s 247s 1159) After a test double has been torn down for a plain double disallows being turned into a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:47 247s 247s 1160) After a test double has been torn down for a plain double disallows being checked for nullness 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:51 247s 247s 1161) After a test double has been torn down for a plain double disallows mocking new methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:41 247s 247s 1162) After a test double has been torn down for a plain double disallows previously mocked methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:15 247s 247s 1163) After a test double has been torn down for a plain double disallows previously stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:19 247s 247s 1164) After a test double has been torn down for a plain double disallows stubbing new methods (with receive_messages) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:29 247s 247s 1165) After a test double has been torn down for a plain double disallows stubbing new methods (with receive) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:23 247s 247s 1166) After a test double has been torn down for a class_double disallows stubbing new methods (with receive) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:23 247s 247s 1167) After a test double has been torn down for a class_double disallows being turned into a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:47 247s 247s 1168) After a test double has been torn down for a class_double disallows mocking new methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:41 247s 247s 1169) After a test double has been torn down for a class_double disallows stubbing new methods (with receive_messages) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:29 247s 247s 1170) After a test double has been torn down for a class_double disallows being checked for nullness 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:51 247s 247s 1171) After a test double has been torn down for a class_double disallows stubbing new message chains 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:35 247s 247s 1172) After a test double has been torn down for a class_double disallows previously mocked methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:15 247s 247s 1173) After a test double has been torn down for a class_double disallows previously stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:19 247s 247s 1174) After a test double has been torn down for an instance_double disallows mocking new methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:41 247s 247s 1175) After a test double has been torn down for an instance_double disallows stubbing new message chains 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:35 247s 247s 1176) After a test double has been torn down for an instance_double disallows being turned into a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:47 247s 247s 1177) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:23 247s 247s 1178) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive_messages) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:29 247s 247s 1179) After a test double has been torn down for an instance_double disallows being checked for nullness 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:51 247s 247s 1180) After a test double has been torn down for an instance_double disallows previously mocked methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:15 247s 247s 1181) After a test double has been torn down for an instance_double disallows previously stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:19 247s 247s 1182) After a test double has been torn down for an object_double disallows stubbing new message chains 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:35 247s 247s 1183) After a test double has been torn down for an object_double disallows previously mocked methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:15 247s 247s 1184) After a test double has been torn down for an object_double disallows previously stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:19 247s 247s 1185) After a test double has been torn down for an object_double disallows stubbing new methods (with receive) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:23 247s 247s 1186) After a test double has been torn down for an object_double disallows stubbing new methods (with receive_messages) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:29 247s 247s 1187) After a test double has been torn down for an object_double disallows being checked for nullness 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:51 247s 247s 1188) After a test double has been torn down for an object_double disallows mocking new methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:41 247s 247s 1189) After a test double has been torn down for an object_double disallows being turned into a null object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/expiration_spec.rb:47 247s 247s 1190) ordering passes when messages are received in order 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:16 247s 247s 1191) ordering supports duplicate messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:100 247s 247s 1192) ordering fails when messages are received out of order (2nd message 1st) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:38 247s 247s 1193) ordering fails when messages are out of order across objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:66 247s 247s 1194) ordering ignores order of non ordered messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:80 247s 247s 1195) ordering fails when messages are received out of order (3rd message 2nd) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:56 247s 247s 1196) ordering passes when messages are received in order 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:7 247s 247s 1197) ordering passes when messages are received in order across objects 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:27 247s 247s 1198) ordering fails when messages are received out of order (3rd message 1st) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/mock_ordering_spec.rb:46 247s 247s 1199) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 247s 247s 1200) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 247s 247s 1201) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 247s 247s 1202) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 247s 247s 1203) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 247s 247s 1204) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 247s 247s 1205) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 247s 247s 1206) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 247s 247s 1207) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 247s 247s 1208) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 247s 247s 1209) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 247s 247s 1210) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 247s 247s 1211) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 247s 247s 1212) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 247s 247s 1213) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 247s 247s 1214) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 247s 247s 1215) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 247s 247s 1216) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 247s 247s 1217) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 247s 247s 1218) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 247s 247s 1219) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 247s 247s 1220) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 247s 247s 1221) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 247s 247s 1222) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 247s 247s 1223) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 247s 247s 1224) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 247s 247s 1225) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 247s 247s 1226) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 247s 247s 1227) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 247s 247s 1228) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 247s 247s 1229) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 247s 247s 1230) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 247s 247s 1231) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 247s 247s 1232) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 247s 247s 1233) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 247s 247s 1234) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 247s 247s 1235) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 247s 247s 1236) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 247s 247s 1237) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 247s 247s 1238) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 247s 247s 1239) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 247s 247s 1240) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 247s 247s 1241) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 247s 247s 1242) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 247s 247s 1243) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 247s 247s 1244) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 247s 247s 1245) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 247s 247s 1246) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 247s 247s 1247) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 247s 247s 1248) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 247s 247s 1249) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 247s 247s 1250) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 247s 247s 1251) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 247s 247s 1252) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 247s 247s 1253) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 247s 247s 1254) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 247s 247s 1255) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 247s 247s 1256) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1257) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1258) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 247s 247s 1259) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 247s 247s 1260) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1261) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1262) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1263) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 247s 247s 1264) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1265) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 247s 247s 1266) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 247s 247s 1267) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 247s 247s 1268) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 247s 247s 1269) Reraising eager raises during the verify step does not reraise when a double receives a message that hasn't been allowed/expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:4 247s 247s 1270) Reraising eager raises during the verify step when an expectation is called with the wrong arguments reraises during verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:81 247s 247s 1271) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:89 247s 247s 1272) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:99 247s 247s 1273) Reraising eager raises during the verify step when a negative expectation receives a call reraises during verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:12 247s 247s 1274) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:20 247s 247s 1275) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:42 247s 247s 1276) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:27 247s 247s 1277) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:72 247s 247s 1278) Reraising eager raises during the verify step when an expectation with a count is exceeded reraises during verification 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:63 247s 247s 1279) and_wrap_original on a pure test double raises an error even if the double object responds to the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:100 247s 247s 1280) and_wrap_original on a pure test double raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:92 247s 247s 1281) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 247s 247s 1282) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 247s 247s 1283) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 247s 247s 1284) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 247s 247s 1285) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 247s 247s 1286) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 247s 247s 1287) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 247s 247s 1288) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 247s 247s 1289) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the message arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 247s 247s 1290) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 247s 247s 1291) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 247s 247s 1292) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 247s 247s 1293) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 247s 247s 1294) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along any supplied block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 247s 247s 1295) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original ignores previous stubs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 247s 247s 1296) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 247s 247s 1297) Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:94 247s 247s 1298) Test doubles format well in failure messages `object_double([])` with a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:82 247s 247s 1299) Test doubles format well in failure messages `object_double([])` without a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:88 247s 247s 1300) Test doubles format well in failure messages `class_double(SomeClass)` without a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:74 247s 247s 1301) Test doubles format well in failure messages `class_double(SomeClass)` with a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:68 247s 247s 1302) Test doubles format well in failure messages `double` avoids sending `instance_variable_get` to the double as it may be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:39 247s 247s 1303) Test doubles format well in failure messages `double` without a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:34 247s 247s 1304) Test doubles format well in failure messages `double` with a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:24 247s 247s 1305) Test doubles format well in failure messages `double` with a name formats the name as a symbol if that was how it was provided 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:28 247s 247s 1306) Test doubles format well in failure messages `instance_double(SomeClass)` avoids sending `instance_variable_get` to the double as it may be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:59 247s 247s 1307) Test doubles format well in failure messages `instance_double(SomeClass)` without a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:54 247s 247s 1308) Test doubles format well in failure messages `instance_double(SomeClass)` with a name # 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/formatting_spec.rb:48 247s 247s 1309) Failure notification uses the rspec-support notifier to support `aggregate_failures` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:8 247s 247s 1310) Failure notification includes the line of future expectation in the notification for an unreceived message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:16 247s 247s 1311) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:24 247s 247s 1312) Failure notification when using `aggregate_failures` failing negative expectations are only notified once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:58 247s 247s 1313) Failure notification when using `aggregate_failures` spy failures for messages received with unexpected args are reported correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:45 247s 247s 1314) Failure notification when using `aggregate_failures` spy failures for unreceived messages are reported correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/failure_notification_spec.rb:34 247s 247s 1315) a message expectation with multiple return values with a specified count equal to the number of values returns values in order to consecutive calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_return_value_spec.rb:60 247s 247s 1316) expection set on previously stubbed method indicates the site of expectation in the stacktrace when outputing arguments of similar calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:43 247s 247s 1317) expection set on previously stubbed method handles concurrent validation of expectations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:26 247s 247s 1318) expection set on previously stubbed method fails if message is not received after expectation is set 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:2 247s 247s 1319) expection set on previously stubbed method outputs arguments of similar calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:9 247s 247s 1320) expection set on previously stubbed method with argument constraint on stub matches specific args set on expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:68 247s 247s 1321) expection set on previously stubbed method with argument constraint on stub matches any args if no arg constraint set on expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:60 247s 247s 1322) expection set on previously stubbed method with argument constraint on stub distinguishes between duplicate individual values and arrays properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:95 247s 247s 1323) expection set on previously stubbed method with argument constraint on stub distinguishes between individual values and arrays properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:84 247s 247s 1324) expection set on previously stubbed method with argument constraint on stub fails if expectation's arg constraint is not met 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:76 247s 247s 1325) #once passes when called once with unspecified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:20 247s 247s 1326) #once passes when called once with specified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:14 247s 247s 1327) #once fails fast when called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:34 247s 247s 1328) #once fails when not called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:42 247s 247s 1329) #once passes when called once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:8 247s 247s 1330) #once fails when called with wrong args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:26 247s 247s 1331) #once when called with negative expectation raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:73 247s 247s 1332) #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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/once_counts_spec.rb:50 247s 247s 1333) RSpec::Mocks::MessageExpectation has a nice string representation for a message expectation constrained by `with` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:18 247s 247s 1334) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a test double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:6 247s 247s 1335) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a partial double 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:12 247s 247s 1336) Using the legacy should syntax #should_not_receive fails when the message is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:194 247s 247s 1337) Using the legacy should syntax #should_not_receive does not fail on verification if the message is not received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:201 247s 247s 1338) Using the legacy should syntax #should_not_receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1339) Using the legacy should syntax #should_not_receive returns a negative message expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:190 247s 247s 1340) Using the legacy should syntax #should_receive raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1341) Using the legacy should syntax #should_receive can set a canned response 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:146 247s 247s 1342) Using the legacy should syntax #should_receive fails on verification if the message is not received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:133 247s 247s 1343) Using the legacy should syntax #should_receive does not fail on verification if the message is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:139 247s 247s 1344) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message after a similar stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:178 247s 247s 1345) Using the legacy should syntax #should_receive with an options hash reports the file and line submitted with :expected_from 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:159 247s 247s 1346) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:170 247s 247s 1347) Using the legacy should syntax #stub_chain can stub a sequence of messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:61 247s 247s 1348) Using the legacy should syntax #stub_chain raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1349) Using the legacy should syntax #any_instance affects previously stubbed instances when mocking a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:263 247s 247s 1350) Using the legacy should syntax #any_instance can get method objects for the fluent interface 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:248 247s 247s 1351) Using the legacy should syntax #any_instance can stub a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:237 247s 247s 1352) Using the legacy should syntax #any_instance raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1353) Using the legacy should syntax #any_instance can mock a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:242 247s 247s 1354) Using the legacy should syntax #any_instance affects previously stubbed instances when stubbing a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:255 247s 247s 1355) Using the legacy should syntax #any_instance adds a class to the current space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:231 247s 247s 1356) Using the legacy should syntax #any_instance invocation order #should_receive raises an error if 'should_receive' follows 'with' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:335 247s 247s 1357) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_raise' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:281 247s 247s 1358) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'stub' follows 'with' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:273 247s 247s 1359) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_return' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:277 247s 247s 1360) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_yield' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:285 247s 247s 1361) Using the legacy should syntax #any_instance invocation order #stub behaves as 'every instance' handles `unstub` on subclasses 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:293 247s 247s 1362) Using the legacy should syntax #any_instance invocation order #unstub does not remove message expectations set directly on an instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:427 247s 247s 1363) Using the legacy should syntax #any_instance invocation order #unstub removes stubs set directly on an instance 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:419 247s 247s 1364) Using the legacy should syntax #any_instance invocation order #unstub does not get confused about string vs symbol usage for the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:449 247s 247s 1365) Using the legacy should syntax #any_instance invocation order #unstub removes stubs even if they have already been invoked 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:403 247s 247s 1366) Using the legacy should syntax #any_instance invocation order #unstub removes all stubs with the supplied method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:396 247s 247s 1367) Using the legacy should syntax #any_instance invocation order #unstub removes stubs from sub class after Invocation when super class was originally stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:411 247s 247s 1368) Using the legacy should syntax #any_instance invocation order #unstub replaces the stubbed method with the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:390 247s 247s 1369) Using the legacy should syntax #any_instance invocation order #unstub does not remove any expectations with the same method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:435 247s 247s 1370) Using the legacy should syntax #any_instance invocation order #unstub raises a MockExpectationError if the method has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:443 247s 247s 1371) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if no method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:349 247s 247s 1372) Using the legacy should syntax #any_instance invocation order #should_not_receive fails if the method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:341 247s 247s 1373) Using the legacy should syntax #any_instance invocation order #should_not_receive prevents confusing double-negative expressions involving `never` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:382 247s 247s 1374) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if only a different method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:353 247s 247s 1375) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints fails if the method is called with the specified parameters 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:359 247s 247s 1376) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints passes if the method is called with different parameters 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:367 247s 247s 1377) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:374 247s 247s 1378) Using the legacy should syntax #any_instance invocation order #stub_chain affects previously stubbed instances 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:324 247s 247s 1379) Using the legacy should syntax #any_instance invocation order #stub_chain raises an error if 'stub_chain' follows 'and_return' 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:303 247s 247s 1380) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:308 247s 247s 1381) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:313 247s 247s 1382) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:318 247s 247s 1383) Using the legacy should syntax #unstub restores the correct implementations when stubbed and unstubbed on a parent and child class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:111 247s 247s 1384) Using the legacy should syntax #unstub raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1385) Using the legacy should syntax #unstub does not remove any expectations with the same method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:101 247s 247s 1386) Using the legacy should syntax #unstub replaces the stubbed method with the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:84 247s 247s 1387) Using the legacy should syntax #unstub raises a MockExpectationError if the method has not been stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:124 247s 247s 1388) Using the legacy should syntax #unstub removes all stubs with the supplied method name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:92 247s 247s 1389) Using the legacy should syntax #received_message? answers true for received_message? when message received with correct args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:18 247s 247s 1390) Using the legacy should syntax #received_message? answers false for received_message? when message received with incorrect args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:23 247s 247s 1391) Using the legacy should syntax #received_message? answers true for received_message? when message received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:13 247s 247s 1392) Using the legacy should syntax #received_message? answers false for received_message? when no messages received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:9 247s 247s 1393) Using the legacy should syntax #stub returns `nil` from all terminal actions to discourage further configuration 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:34 247s 247s 1394) Using the legacy should syntax #stub raises an error with a useful message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/support/before_all_shared_example_group.rb:11 247s 247s 1395) Using the legacy should syntax #stub can stub multiple messages using a hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:46 247s 247s 1396) Using the legacy should syntax #stub supports options 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:30 247s 247s 1397) Using the legacy should syntax #stub sets up a canned response 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/should_syntax_spec.rb:40 247s 247s 1398) Method visibility when using partial mocks keeps protected methods protected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:330 247s 247s 1399) Method visibility when using partial mocks keeps private methods private 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:324 247s 247s 1400) Method visibility when using partial mocks keeps public methods public 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:318 247s 247s 1401) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher describes itself properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:6 247s 247s 1402) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches against classes inheriting from Hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:31 247s 247s 1403) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash with the specified key, but different value 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:15 247s 247s 1404) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key, given as anything() 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:19 247s 247s 1405) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without any of the specified keys 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:27 247s 247s 1406) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches an empty hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:23 247s 247s 1407) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:11 247s 247s 1408) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one of the specified keys 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:53 247s 247s 1409) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key/value pair 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:45 247s 247s 1410) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one key/value pair included 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:61 247s 247s 1411) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:49 247s 247s 1412) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a non-hash 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:37 247s 247s 1413) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with some of the specified keys 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:57 247s 247s 1414) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with a specified key 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:41 247s 247s 1415) allow(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:35 247s 247s 1416) allow(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 247s 247s 1417) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 247s 247s 1418) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 247s 247s 1419) a double declaration with a block handed to: with returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:38 247s 247s 1420) a double declaration with a block handed to: with returns the value of executing the block with given argument 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:44 247s 247s 1421) a double declaration with a block handed to: allow(...).to receive forwards all given args to the block, even when it receives a block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:27 247s 247s 1422) a double declaration with a block handed to: allow(...).to receive returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:19 247s 247s 1423) a double declaration with a block handed to: twice returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:53 247s 247s 1424) a double declaration with a block handed to: times returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:71 247s 247s 1425) a double declaration with a block handed to: expect(...).to receive returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:3 247s 247s 1426) a double declaration with a block handed to: expect(...).to receive works when a multi-return stub has already been set 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:9 247s 247s 1427) a double declaration with a block handed to: once returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:53 247s 247s 1428) a double declaration with a block handed to: ordered returns the value of executing the block 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/block_return_value_spec.rb:62 247s 247s 1429) and_call_original on a partial double passes the received message through to the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:65 247s 247s 1430) and_call_original on a partial double works for class methods defined on a superclass 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:188 247s 247s 1431) and_call_original on a partial double works for methods added through an extended module 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:111 247s 247s 1432) and_call_original on a partial double works for class methods defined on a grandparent class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:207 247s 247s 1433) and_call_original on a partial double works for aliased methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:225 247s 247s 1434) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:124 247s 247s 1435) and_call_original on a partial double ignores prior declared stubs 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:70 247s 247s 1436) and_call_original on a partial double works for instance methods defined on the object's class's superclass 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:218 247s 247s 1437) and_call_original on a partial double works for method added through an extended module onto a class's ancestor 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:117 247s 247s 1438) and_call_original on a partial double warns when you override an existing implementation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:90 247s 247s 1439) and_call_original on a partial double passes args and blocks through to the original method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:76 247s 247s 1440) and_call_original on a partial double works for class methods defined on the Class class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:213 247s 247s 1441) and_call_original on a partial double works for methods that accept keyword arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:237 247s 247s 1442) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:133 247s 247s 1443) and_call_original on a partial double errors when you pass through the wrong number of args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:82 247s 247s 1444) and_call_original on a partial double when a method that exists has been stubbed previously restores the original behavior 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:46 247s 247s 1445) and_call_original on a partial double for singleton methods works for SimpleDelegator subclasses 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:103 247s 247s 1446) and_call_original on a partial double for singleton methods works 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:97 247s 247s 1447) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:195 247s 247s 1448) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:312 247s 247s 1449) and_call_original on a partial double on an object that defines method_missing works when the method_missing definition handles the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:295 247s 247s 1450) and_call_original on a partial double on an object that defines method_missing works for an any_instance partial mock 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:300 247s 247s 1451) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:305 247s 247s 1452) and_call_original on a partial double when a non-existent method has been stubbed previously restores the original NameError behavior 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:54 247s 247s 1453) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:266 247s 247s 1454) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:271 247s 247s 1455) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments with an argument supplied 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:159 247s 247s 1456) and_call_original on a partial double when using any_instance works for instance methods that use required keyword arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:168 247s 247s 1457) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:154 247s 247s 1458) and_call_original on a partial double when using any_instance works for instance methods defined on the class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:143 247s 247s 1459) and_call_original on a partial double when using any_instance works for instance methods that use double splat 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:149 247s 247s 1460) and_call_original on a partial double when using any_instance works for instance methods defined on the superclass of the class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:176 247s 247s 1461) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:182 247s 247s 1462) and_call_original on a pure test double raises an error even if the double object responds to the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:362 247s 247s 1463) and_call_original on a partial double that overrides #method works for a singleton method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:349 247s 247s 1464) and_call_original on a partial double that overrides #method still works even though #method has been overridden 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/and_call_original_spec.rb:344 247s 247s 1465) RSpec::Mocks::Space raises ArgumentError with message if object is symbol 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:241 247s 247s 1466) RSpec::Mocks::Space tracks proxies in parent and child space separately 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:108 247s 247s 1467) RSpec::Mocks::Space can be diffed in a failure when it has references to an error generator via a proxy 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:229 247s 247s 1468) RSpec::Mocks::Space only adds an instance once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:120 247s 247s 1469) RSpec::Mocks::Space#verify_all does not reset the proxies (as that should be delayed until reset_all) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:39 247s 247s 1470) RSpec::Mocks::Space#verify_all verifies all any_instance recorders within 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:25 247s 247s 1471) RSpec::Mocks::Space#verify_all verifies all mocks within 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:9 247s 247s 1472) RSpec::Mocks::Space#reset_all allows Array#reverse to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:61 247s 247s 1473) RSpec::Mocks::Space#reset_all resets all mocks within 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:50 247s 247s 1474) RSpec::Mocks::Space#constant_mutator_for returns the mutator for the given const name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:182 247s 247s 1475) RSpec::Mocks::Space#constant_mutator_for can still return a mutator from a parent context 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:192 247s 247s 1476) RSpec::Mocks::Space#registered? returns false if not registered in this or a parent space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:176 247s 247s 1477) RSpec::Mocks::Space#registered? returns true if registered in a parent space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:171 247s 247s 1478) RSpec::Mocks::Space#registered? returns true if registered in this space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:166 247s 247s 1479) RSpec::Mocks::Space#proxies_of(klass) looks in the parent space for matching proxies 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:97 247s 247s 1480) RSpec::Mocks::Space#proxies_of(klass) returns proxies 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:69 247s 247s 1481) RSpec::Mocks::Space#proxies_of(klass) returns only the proxies whose object is an instance of the given class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:86 247s 247s 1482) RSpec::Mocks::Space#proxy_for can still return a proxy from a parent context 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:147 247s 247s 1483) RSpec::Mocks::Space#proxy_for does not store a parent's proxy in the child space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:154 247s 247s 1484) RSpec::Mocks::Space#proxy_for returns the proxy for the given object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:138 247s 247s 1485) RSpec::Mocks::Space#any_instance_recorder_for returns the recorder for the given class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:206 247s 247s 1486) RSpec::Mocks::Space#any_instance_recorder_for does not store a parent's proxy in the child space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:219 247s 247s 1487) RSpec::Mocks::Space#any_instance_recorder_for can still return a recorder from a parent context 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:212 247s 247s 1488) RSpec::Mocks::Space#ensure_registered can still return a proxy from a parent context 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:147 247s 247s 1489) RSpec::Mocks::Space#ensure_registered does not store a parent's proxy in the child space 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:154 247s 247s 1490) RSpec::Mocks::Space#ensure_registered returns the proxy for the given object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/space_spec.rb:138 247s 247s 1491) expect(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:81 247s 247s 1492) expect(...).to receive_messages(:a => 1, :b => 2) fails with a sensible message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:87 247s 247s 1493) expect(...).to receive_messages(:a => 1, :b => 2) fails with the correct location 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:93 247s 247s 1494) expect(...).to receive_messages(:a => 1, :b => 2) provides a matcher description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:101 247s 247s 1495) expect(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 247s 247s 1496) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 247s 247s 1497) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 247s 247s 1498) at_most passes when at_most(:twice) is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:56 247s 247s 1499) at_most passes when at_most(n) is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:27 247s 247s 1500) at_most passes when at_most(:twice) is called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:49 247s 247s 1501) at_most fails fast when at_most(:once) and is called twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:100 247s 247s 1502) at_most passes when at_most(n) is called exactly 1 time 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:8 247s 247s 1503) at_most passes when at_most(:twice) is called once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:43 247s 247s 1504) at_most passes when at_most(n) is called exactly n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:14 247s 247s 1505) at_most passes when at_most(n) is called less than n times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:21 247s 247s 1506) at_most returns the value given by a block when at_most(:once) method is called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:75 247s 247s 1507) at_most passes when at_most(:once) is called once 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:32 247s 247s 1508) at_most passes when at_most(:thrice) is called thrice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:67 247s 247s 1509) at_most fails fast when at_most(n) times method is called n plus 1 time 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:91 247s 247s 1510) at_most passes when at_most(:once) is never called 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:38 247s 247s 1511) at_most passes when at_most(:thrice) is called less than three times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:61 247s 247s 1512) at_most fails fast when at_most(:twice) and is called three times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:108 247s 247s 1513) at_most fails fast when at_most(n) times method is called n plus 1 times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:81 247s 247s 1514) at_most fails fast when at_most(:thrice) and is called four times 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:117 247s 247s 1515) at_most when called with negative expectation raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/at_most_spec.rb:128 247s 247s 1516) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 247s 247s 1517) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 247s 247s 1518) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 247s 247s 1519) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 247s 247s 1520) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 247s 247s 1521) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 247s 247s 1522) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 247s 247s 1523) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 247s 247s 1524) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 247s 247s 1525) 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` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 247s 247s 1526) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 247s 247s 1527) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 247s 247s 1528) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 247s 247s 1529) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 247s 247s 1530) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 247s 247s 1531) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received generates a useful description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 247s 247s 1532) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 247s 247s 1533) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 247s 247s 1534) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 247s 247s 1535) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 247s 247s 1536) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 247s 247s 1537) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 247s 247s 1538) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 247s 247s 1539) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 247s 247s 1540) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 247s 247s 1541) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 247s 247s 1542) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 247s 247s 1543) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 247s 247s 1544) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 247s 247s 1545) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 247s 247s 1546) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 247s 247s 1547) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 247s 247s 1548) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 247s 247s 1549) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 247s 247s 1550) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 247s 247s 1551) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 247s 247s 1552) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 247s 247s 1553) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 247s 247s 1554) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 247s 247s 1555) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 247s 247s 1556) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 247s 247s 1557) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 247s 247s 1558) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 247s 247s 1559) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 247s 247s 1560) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 247s 247s 1561) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 247s 247s 1562) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 247s 247s 1563) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 247s 247s 1564) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 247s 247s 1565) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 247s 247s 1566) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 247s 247s 1567) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 247s 247s 1568) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 247s 247s 1569) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 247s 247s 1570) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 247s 247s 1571) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 247s 247s 1572) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 247s 247s 1573) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available allow(...).to have_received fails because it's nonsensical 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 247s 247s 1574) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 247s 247s 1575) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1576) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1577) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 247s 247s 1578) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1579) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 247s 247s 1580) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1581) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1582) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 247s 247s 1583) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 247s 247s 1584) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 247s 247s 1585) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 247s 247s 1586) the spy family of methods object_spy takes an instance and a hash of method names and return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:105 247s 247s 1587) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:45 247s 247s 1588) the spy family of methods object_spy behaves like a verifying spy with a foo method records called methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:35 247s 247s 1589) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:39 247s 247s 1590) the spy family of methods object_spy behaves like a verifying spy with a foo method responds to methods on the verified object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:27 247s 247s 1591) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:31 247s 247s 1592) the spy family of methods instance_spy when passing a class object takes a class and a hash of method names and return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:66 247s 247s 1593) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:27 247s 247s 1594) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:39 247s 247s 1595) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:45 247s 247s 1596) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:31 247s 247s 1597) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method records called methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:35 247s 247s 1598) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:84 247s 247s 1599) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:35 247s 247s 1600) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:31 247s 247s 1601) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:45 247s 247s 1602) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:39 247s 247s 1603) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:27 247s 247s 1604) the spy family of methods spy responds to arbitrary methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:5 247s 247s 1605) the spy family of methods spy records called methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:13 247s 247s 1606) the spy family of methods spy takes a name and a hash of method names and return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:21 247s 247s 1607) the spy family of methods spy takes a hash of method names and return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:17 247s 247s 1608) the spy family of methods spy takes a name 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:9 247s 247s 1609) the spy family of methods class_spy takes a class and a hash of method names and return values 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:123 247s 247s 1610) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:39 247s 247s 1611) the spy family of methods class_spy behaves like a verifying spy with a foo method responds to methods on the verified object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:27 247s 247s 1612) the spy family of methods class_spy behaves like a verifying spy with a foo method records called methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:35 247s 247s 1613) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:45 247s 247s 1614) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/spy_spec.rb:31 247s 247s 1615) a message expectation with multiple invoke handlers specifying at_least less than the number of values uses the last return value for subsequent calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:60 247s 247s 1616) a message expectation with multiple invoke handlers specifying at_least less than the number of values fails when called less than the specified number 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:67 247s 247s 1617) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:82 247s 247s 1618) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:75 247s 247s 1619) #thrice fails when call count is lower than expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:36 247s 247s 1620) #thrice fails when called with wrong args on the second call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:52 247s 247s 1621) #thrice passes when called thrice with specified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:14 247s 247s 1622) #thrice fails fast when call count is higher than expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:28 247s 247s 1623) #thrice passes when called thrice with unspecified args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:20 247s 247s 1624) #thrice passes when called thrice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:8 247s 247s 1625) #thrice fails when called with wrong args on the first call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:44 247s 247s 1626) #thrice fails when called with wrong args on the third call 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:61 247s 247s 1627) #thrice when called with negative expectation raises an error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/thrice_counts_spec.rb:72 247s 247s 1628) A method stub remains private when it stubs a private instance method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:88 247s 247s 1629) A method stub returns values in order to consecutive calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:446 247s 247s 1630) A method stub ignores when message is received with args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:57 247s 247s 1631) A method stub overrides a pre-existing method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:496 247s 247s 1632) A method stub handles multiple stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:72 247s 247s 1633) A method stub yields a specified object and return another specified object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:479 247s 247s 1634) A method stub yields multiple times with multiple calls to and_yield 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:470 247s 247s 1635) A method stub overrides a pre-existing stub 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:501 247s 247s 1636) A method stub throws when told to 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:486 247s 247s 1637) A method stub instructs a class object to respond_to the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:44 247s 247s 1638) A method stub instructs an instance to respond_to the message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:39 247s 247s 1639) A method stub remains private when it stubs a private class method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:93 247s 247s 1640) A method stub yields a specified object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:462 247s 247s 1641) A method stub throws with argument when told to 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:491 247s 247s 1642) A method stub ignores when expected message is received with no args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:49 247s 247s 1643) A method stub is cleared when stubbed object when `dup`ed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:83 247s 247s 1644) A method stub is retained when stubbed object is `clone`d 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:78 247s 247s 1645) A method stub allows a stub and an expectation 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:507 247s 247s 1646) A method stub ignores when expected message is not received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:65 247s 247s 1647) A method stub keeps returning last value in consecutive calls 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:453 247s 247s 1648) A method stub using `and_return` returns declared value when message is received 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:32 247s 247s 1649) A method stub #rspec_reset does not remove existing methods that have been stubbed twice 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:325 247s 247s 1650) A method stub #rspec_reset restores existing aliased module_function methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:299 247s 247s 1651) A method stub #rspec_reset correctly restores the visibility of methods whose visibility has been tweaked on the singleton class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:334 247s 247s 1652) A method stub #rspec_reset restores existing private instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:285 247s 247s 1653) A method stub #rspec_reset restores existing private class methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:318 247s 247s 1654) A method stub #rspec_reset restores existing instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:259 247s 247s 1655) A method stub #rspec_reset restores existing singleton methods with the appropriate context 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:266 247s 247s 1656) A method stub #rspec_reset correctly handles stubbing inherited mixed in class methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:353 247s 247s 1657) A method stub #rspec_reset restores existing class methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:292 247s 247s 1658) A method stub #rspec_reset removes stubbed methods that didn't exist 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:253 247s 247s 1659) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores non-prepended instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:408 247s 247s 1660) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended instance methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:400 247s 247s 1661) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended class methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:416 247s 247s 1662) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended object singleton methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:431 247s 247s 1663) A method stub when the stubbed method is called does not call any methods on the passed args, since that could mutate them 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:117 247s 247s 1664) A method stub using `with` allows differing arities 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:107 247s 247s 1665) A method stub using `with` determines which value is returned 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:99 247s 247s 1666) A method stub stubbing with prepend does not unnecessarily prepend a module when the prepended module does not override the stubbed method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:168 247s 247s 1667) A method stub stubbing with prepend does not unnecessarily prepend a module when the module was included 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:189 247s 247s 1668) A method stub stubbing with prepend handles stubbing prepended methods on an object's singleton class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:158 247s 247s 1669) A method stub stubbing with prepend handles stubbing prepended methods on a class's singleton class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:151 247s 247s 1670) A method stub stubbing with prepend does not unnecessarily prepend a module when stubbing a method on a module extended onto itself 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:178 247s 247s 1671) A method stub stubbing with prepend handles stubbing prepended methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:143 247s 247s 1672) A method stub stubbing with prepend reuses our prepend module so as not to keep mutating the ancestors 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:199 247s 247s 1673) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:214 247s 247s 1674) A method stub stubbing with prepend when a module with a method override is prepended after reset can still be stubbed again 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/stub_spec.rb:231 247s 247s 1675) An instance double with the doubled class loaded allows class to be specified by constant 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:149 247s 247s 1676) An instance double with the doubled class loaded validates `with` args against the method signature when stubbing a method 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:142 247s 247s 1677) An instance double with the doubled class loaded checks the arity of stubbed methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:70 247s 247s 1678) An instance double with the doubled class loaded allows keyword arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:87 247s 247s 1679) An instance double with the doubled class loaded gives a descriptive error message for NoMethodError 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:49 247s 247s 1680) An instance double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:79 247s 247s 1681) An instance double with the doubled class loaded only allows instance methods that exist to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:12 247s 247s 1682) An instance double with the doubled class loaded checks that stubbed methods with required keyword args are invoked with the required arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:133 247s 247s 1683) An instance double with the doubled class loaded doesn't suggest `class_double` when a non-class method is stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:38 247s 247s 1684) An instance double with the doubled class loaded suggests using `class_double` when a class method is stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:33 247s 247s 1685) An instance double with the doubled class loaded only allows instance methods that exist to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:20 247s 247s 1686) An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:43 247s 247s 1687) An instance double with the doubled class loaded does not allow dynamic methods to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:57 247s 247s 1688) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:100 247s 247s 1689) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:106 247s 247s 1690) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:93 247s 247s 1691) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:115 247s 247s 1692) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:126 247s 247s 1693) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:157 247s 247s 1694) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:163 247s 247s 1695) An instance double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:171 247s 247s 1696) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:210 247s 247s 1697) An instance double with the doubled class loaded for null objects verifies arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:188 247s 247s 1698) An instance double with the doubled class loaded for null objects reports what public messages it responds to accurately 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:200 247s 247s 1699) An instance double with the doubled class loaded for null objects includes the double's name in a private method error 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:194 247s 247s 1700) An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:223 247s 247s 1701) An instance double with the doubled class loaded for null objects only allows defined methods 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:181 247s 247s 1702) Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:270 247s 247s 1703) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:287 247s 247s 1704) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:46 247s 247s 1705) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:68 247s 247s 1706) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:90 247s 247s 1707) Diffs printed when arguments don't match with a non matcher object prints a diff with array args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:241 247s 247s 1708) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:33 247s 247s 1709) Diffs printed when arguments don't match with a non matcher object does not print a diff when single line arguments are mismatched 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:12 247s 247s 1710) Diffs printed when arguments don't match with a non matcher object prints a diff with hash args 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:81 247s 247s 1711) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:21 247s 247s 1712) Diffs printed when arguments don't match with a non matcher object prints a diff of the args lists for multiple mismatched string arguments 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:57 247s 247s 1713) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:251 247s 247s 1714) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:201 247s 247s 1715) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:187 247s 247s 1716) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:174 247s 247s 1717) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:102 247s 247s 1718) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:133 247s 247s 1719) 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) 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/diffing_spec.rb:117 247s 247s 1720) RSpec::Mocks::Configuration adds stub and should_receive to the given modules 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:12 247s 247s 1721) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:36 247s 247s 1722) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect reports that the syntax is :expect 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:62 247s 247s 1723) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes `any_instance` from every class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:54 247s 247s 1724) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:66 247s 247s 1725) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:58 247s 247s 1726) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes the should methods from every object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:50 247s 247s 1727) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:84 247s 247s 1728) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should does not warn about the should syntax 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:92 247s 247s 1729) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds the should methods to every object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:76 247s 247s 1730) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should reports that the syntax is :should 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:88 247s 247s 1731) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:97 247s 247s 1732) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds `any_instance` to every class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:80 247s 247s 1733) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds the should methods to every object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:107 247s 247s 1734) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:119 247s 247s 1735) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] does not warn about the should syntax 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:123 247s 247s 1736) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:115 247s 247s 1737) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds `any_instance` to every class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:111 247s 247s 1738) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:36 247s 247s 1739) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:111 247s 247s 1740) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:115 247s 247s 1741) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:107 247s 247s 1742) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:123 247s 247s 1743) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:119 247s 247s 1744) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:80 247s 247s 1745) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:76 247s 247s 1746) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:97 247s 247s 1747) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:92 247s 247s 1748) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:88 247s 247s 1749) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:84 247s 247s 1750) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:58 247s 247s 1751) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:50 247s 247s 1752) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:62 247s 247s 1753) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:54 247s 247s 1754) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:66 247s 247s 1755) RSpec::Mocks::Configuration#when_declaring_verifying_double captures the supplied blocks 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/configuration_spec.rb:177 247s 247s 1756) Supporting Rails monkey patches works mocking any instance when Rails has monkey patched #with 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/integration/rails_support_spec.rb:37 247s 247s 1757) Supporting Rails monkey patches works when Rails has monkey patched #with 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/integration/rails_support_spec.rb:10 247s 247s 1758) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes itself properly 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:5 247s 247s 1759) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes passed matchers 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:9 247s 247s 1760) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when passed a composed matcher is passed and not satisfied 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:60 247s 247s 1761) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when not all the entries in the expected are present 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:56 247s 247s 1762) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:16 247s 247s 1763) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:20 247s 247s 1764) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, which includes nested arrays 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:28 247s 247s 1765) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:32 247s 247s 1766) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable when nested 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:48 247s 247s 1767) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in actual 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:36 247s 247s 1768) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:24 247s 247s 1769) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable with other matchers 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/array_including_matcher_spec.rb:40 247s 247s 1770) #null_object? defaults to false 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:120 247s 247s 1771) RSpec::Mocks::ExampleMethods works properly when extended onto an object that has previous extended `RSpec::Matchers` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/example_methods_spec.rb:25 247s 247s 1772) RSpec::Mocks::ExampleMethods works properly when extended onto an object 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/example_methods_spec.rb:21 247s 247s 1773) RSpec::Mocks::ExampleMethods works properly when extended onto an object that later extends `RSpec::Matchers` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/example_methods_spec.rb:31 247s 247s 1774) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/example_methods_spec.rb:4 247s 247s 1775) An instance double with the doubled class not loaded allows any instance method to be expected 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:25 247s 247s 1776) An instance double with the doubled class not loaded allows any instance method to be stubbed 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:19 247s 247s 1777) An instance double with the doubled class not loaded handles classes that are materialized after mocking 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:35 247s 247s 1778) An instance double with the doubled class not loaded includes the doubled module in errors for unexpected messages 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:12 247s 247s 1779) 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)` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:64 247s 247s 1780) 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')` 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:59 247s 247s 1781) An instance double with the doubled class not loaded for null objects returns self from any message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:45 247s 247s 1782) An instance double with the doubled class not loaded for null objects reports it responds to any message 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:49 247s 247s 1783) A partial class mock that has been subclassed cleans up stubs during #reset to prevent leakage onto subclasses between examples 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:278 247s 247s 1784) A partial class mock that has been subclassed stubbing a base class class method returns the value for the descendent class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:296 247s 247s 1785) A partial class mock that has been subclassed stubbing a base class class method returns the value for the stub on the base class 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/partial_double_spec.rb:292 247s 247s 1786) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:93 247s 247s 1787) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:100 247s 247s 1788) 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 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:106 247s 247s 1789) when using the :expect syntax still supports null object doubles 247s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 247s # ./spec/rspec/mocks/null_object_double_spec.rb:129 247s 247s Finished in 1.21 seconds (files took 0.95914 seconds to load) 247s 1789 examples, 0 failures, 1789 pending 247s 247s Randomized with seed 26408 247s 247s mv lib.off lib 247s cd - 247s 247s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 247s ∙ rspec-support ∙ 247s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 247s 247s cd rspec-support 247s /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/mutex_spec.rb spec/rspec/support/object_formatter_spec.rb spec/rspec/support/recursive_const_methods_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 247s mv lib lib.off 247s 247s Randomized with seed 44684 248s ..................................*.................................................................fatal: not a git repository (or any of the parent directories): .git 249s ...........................................*............................................................FF.F..F.F.F........F................................................................. 249s 249s Pending: (Failures listed here are expected and do not affect your suite's status) 249s 249s 1) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations 249s # No reason given 249s Failure/Error: 249s expect { 249s expect_warn_deprecation(/bar/) 249s }.to raise_error(/received: 0 times/) 249s 249s expected /received: 0 times/ but nothing was raised 249s # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' 249s # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' 249s 249s 2) RSpec::Support::ShellOut can shell out to ruby with the current load path 249s # 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 249s # ./spec/rspec/support/spec/shell_out_spec.rb:22 249s 249s Failures: 249s 249s 1) RSpec::Support::Differ#diff outputs unified diff of multi line strings 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\n@@ -1,2 +1,2 @@\n this is:\n- another string\n+ one string\n" (UTF-8) to be identical to 249s "\n@@ -1,3 +1,3 @@\n this is:\n- another string\n+ one string\n" (UTF-8) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:434:in `block (3 levels) in ' 249s 249s 2) RSpec::Support::Differ#diff outputs unified diff message of two objects 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\n@@ -1,4 +1,4 @@\n \n" (UTF-8) to be identical to 249s "\n@@ -1,5 +1,5 @@\n \n" (UTF-8) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:213:in `block (3 levels) in ' 249s 249s 3) RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\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 249s "\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) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:109:in `block (3 levels) in ' 249s 249s 4) RSpec::Support::Differ#diff outputs unified diff of two strings 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\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 249s "\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) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:61:in `block (3 levels) in ' 249s 249s 5) RSpec::Support::Differ#diff outputs unified diff message of two arrays 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\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 249s "\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) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:236:in `block (3 levels) in ' 249s 249s 6) RSpec::Support::Differ#diff splits items with newlines 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-c\\nd\n" (US-ASCII) to be identical to 249s "\n@@ -1,3 +1 @@\n-a\\nb\n-c\\nd\n" (UTF-8) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:447:in `block (3 levels) in ' 249s 249s 7) RSpec::Support::Differ#diff shows inner arrays on a single line 249s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 249s 249s expected 249s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-[\"c\\nd\"]\n" (US-ASCII) to be identical to 249s "\n@@ -1,3 +1 @@\n-a\\nb\n-[\"c\\nd\"]\n" (UTF-8) 249s The exact bytes are printed below for more detail: 249s [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] 249s [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] 249s # ./spec/rspec/support/differ_spec.rb:460:in `block (3 levels) in ' 249s 249s Finished in 1.49 seconds (files took 0.36289 seconds to load) 249s 289 examples, 7 failures, 2 pending 249s 249s Failed examples: 249s 249s rspec ./spec/rspec/support/differ_spec.rb:420 # RSpec::Support::Differ#diff outputs unified diff of multi line strings 249s rspec ./spec/rspec/support/differ_spec.rb:180 # RSpec::Support::Differ#diff outputs unified diff message of two objects 249s rspec ./spec/rspec/support/differ_spec.rb:64 # RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 249s rspec ./spec/rspec/support/differ_spec.rb:15 # RSpec::Support::Differ#diff outputs unified diff of two strings 249s rspec ./spec/rspec/support/differ_spec.rb:216 # RSpec::Support::Differ#diff outputs unified diff message of two arrays 249s rspec ./spec/rspec/support/differ_spec.rb:437 # RSpec::Support::Differ#diff splits items with newlines 249s rspec ./spec/rspec/support/differ_spec.rb:450 # RSpec::Support::Differ#diff shows inner arrays on a single line 249s 249s Randomized with seed 44684 249s 249s mv lib.off lib 249s cd - 249s Failed: rspec-expectations, rspec-support 250s autopkgtest [16:28:44]: test gem2deb-test-runner: -----------------------] 254s autopkgtest [16:28:48]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 254s gem2deb-test-runner FAIL non-zero exit status 1 258s autopkgtest [16:28:52]: @@@@@@@@@@@@@@@@@@@@ summary 258s gem2deb-test-runner FAIL non-zero exit status 1