0s autopkgtest [18:22:53]: starting date and time: 2025-11-17 18:22:53+0000 0s autopkgtest [18:22:53]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [18:22:53]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.eiejxumx/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-diff-lcs --apt-upgrade ruby-rspec --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-diff-lcs/1.6.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-5.secgroup --name adt-resolute-ppc64el-ruby-rspec-20251117-182253-juju-7f2275-prod-proposed-migration-environment-15-f18ad5c3-8a28-49c7-854a-4e0650ccfb05 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-ppc64el-ruby-rspec-20251117-182253-juju-7f2275-prod-proposed-migration-environment-15-f18ad5c3-8a28-49c7-854a-4e0650ccfb05 from image adt/ubuntu-resolute-ppc64el-server-20251117.img (UUID c6f5b741-c77a-45db-84cb-f00b40e77676)... 62s autopkgtest [18:23:55]: testbed dpkg architecture: ppc64el 62s autopkgtest [18:23:55]: testbed apt version: 3.1.11 62s autopkgtest [18:23:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 63s autopkgtest [18:23:56]: testbed release detected to be: None 63s autopkgtest [18:23:56]: updating testbed package index (apt update) 64s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 64s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 64s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 64s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 64s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 64s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 64s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 64s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 64s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [135 kB] 64s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 64s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [501 kB] 65s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [11.0 kB] 65s Fetched 1622 kB in 1s (1366 kB/s) 65s Reading package lists... 66s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 66s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 66s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 67s Reading package lists... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 68s Calculating upgrade... 68s The following packages will be upgraded: 68s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 68s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 3180 kB of archives. 68s After this operation, 118 kB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 68s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt1 ppc64el 1:4.5.1-1 [125 kB] 68s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libapt-pkg7.0 ppc64el 3.1.12 [1286 kB] 68s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el apt ppc64el 3.1.12 [1516 kB] 69s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el usbutils ppc64el 1:019-1 [91.5 kB] 69s dpkg-preconfigure: unable to re-open stdin: No such file or directory 69s Fetched 3180 kB in 1s (3389 kB/s) 69s (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 ... 81022 files and directories currently installed.) 69s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 69s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 69s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_ppc64el.deb ... 69s Unpacking libcrypt1:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 69s Setting up libcrypt1:ppc64el (1:4.5.1-1) ... 70s (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 ... 81022 files and directories currently installed.) 70s Preparing to unpack .../libapt-pkg7.0_3.1.12_ppc64el.deb ... 70s Unpacking libapt-pkg7.0:ppc64el (3.1.12) over (3.1.11) ... 70s Preparing to unpack .../apt_3.1.12_ppc64el.deb ... 70s Unpacking apt (3.1.12) over (3.1.11) ... 70s Preparing to unpack .../usbutils_1%3a019-1_ppc64el.deb ... 70s Unpacking usbutils (1:019-1) over (1:018-2) ... 70s Setting up usbutils (1:019-1) ... 70s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 70s Setting up libapt-pkg7.0:ppc64el (3.1.12) ... 70s Setting up apt (3.1.12) ... 71s Processing triggers for man-db (2.13.1-1) ... 74s Processing triggers for libc-bin (2.42-2ubuntu2) ... 74s autopkgtest [18:24:07]: upgrading testbed (apt dist-upgrade and autopurge) 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Calculating upgrade... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Solving dependencies... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s autopkgtest [18:24:09]: rebooting testbed after setup commands that affected boot 104s autopkgtest [18:24:36]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 106s autopkgtest [18:24:39]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec 110s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (dsc) [4082 B] 110s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [413 kB] 110s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [221 kB] 110s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [209 kB] 110s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [79.7 kB] 110s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [6953 B] 110s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [925 kB] 110s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (diff) [12.4 kB] 111s gpgv: Signature made Wed Feb 28 20:50:19 2024 UTC 111s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 111s gpgv: issuer "kanashiro@debian.org" 111s gpgv: Can't check signature: No public key 111s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec_3.13.0c0e0m0s1-2.dsc: no acceptable signature found 111s dpkg-source: warning: required removal of 'rspec' installed by original tarball 111s dpkg-source: warning: required removal of 'rspec-core' installed by original tarball 111s dpkg-source: warning: required removal of 'rspec-expectations' installed by original tarball 111s dpkg-source: warning: required removal of 'rspec-mocks' installed by original tarball 111s dpkg-source: warning: required removal of 'rspec-support' installed by original tarball 111s autopkgtest [18:24:44]: testing package ruby-rspec version 3.13.0c0e0m0s1-2 111s autopkgtest [18:24:44]: build not needed 112s autopkgtest [18:24:45]: test gem2deb-test-runner: preparing testbed 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Solving dependencies... 113s The following NEW packages will be installed: 113s coderay cucumber gem2deb-test-runner git git-man liberror-perl libjs-jquery 113s libruby libruby3.3 libxslt1.1 racc rake ruby ruby-aruba ruby-builder 113s ruby-childprocess ruby-coderay ruby-contracts ruby-csv ruby-cucumber-core 113s ruby-cucumber-wire ruby-did-you-mean ruby-diff-lcs ruby-fakefs ruby-ffi 113s ruby-flexmock ruby-gherkin ruby-json ruby-metaclass ruby-mini-portile2 113s ruby-minitest ruby-mocha ruby-multi-json ruby-multi-test ruby-net-telnet 113s ruby-nokogiri ruby-pkg-config ruby-power-assert ruby-rr ruby-rspec 113s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 113s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-thor ruby-thread-order 113s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 113s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 18.0 MB of archives. 113s After this operation, 86.4 MB of additional disk space will be used. 113s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 113s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-builder all 3.2.4-2 [17.1 kB] 113s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el rubygems-integration all 1.19 [5550 B] 113s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rake all 13.2.1-1 [45.8 kB] 113s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-csv all 3.3.4-1 [43.0 kB] 113s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-did-you-mean all 1.6.3-2 [14.8 kB] 113s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 113s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-ruby2-keywords all 0.0.5-1 [4280 B] 113s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-webrick all 1.9.1-1 [60.8 kB] 113s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-xmlrpc all 0.3.3-2 [24.8 kB] 113s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libruby3.3 ppc64el 3.3.8-2ubuntu2 [6368 kB] 115s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby3.3 ppc64el 3.3.8-2ubuntu2 [58.9 kB] 115s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libruby ppc64el 1:3.3 [5172 B] 115s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 115s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby ppc64el 1:3.3 [3666 B] 115s Get:16 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-gherkin all 4.0.0-4 [22.8 kB] 115s Get:17 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-cucumber-core all 1.5.0-3 [22.6 kB] 115s Get:18 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-cucumber-wire all 0.0.1-3 [7892 B] 115s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el ruby-diff-lcs all 1.6.2-1 [23.1 kB] 115s Get:20 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-multi-json all 1.15.0-1 [16.1 kB] 115s Get:21 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-multi-test all 1.1.0-1 [4540 B] 115s Get:22 http://ftpmaster.internal/ubuntu resolute/universe ppc64el cucumber all 2.4.0-5 [100 kB] 115s Get:23 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-minitest all 5.25.4-3 [48.8 kB] 115s Get:24 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-power-assert all 2.0.5-1 [12.0 kB] 115s Get:25 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-test-unit all 3.6.2-1 [67.0 kB] 115s Get:26 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gem2deb-test-runner ppc64el 2.2.5 [18.3 kB] 115s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el liberror-perl all 0.17030-1 [23.5 kB] 115s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el git-man all 1:2.51.0-1ubuntu1 [1179 kB] 115s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el git ppc64el 1:2.51.0-1ubuntu1 [7646 kB] 116s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxslt1.1 ppc64el 1.1.43-0.3 [190 kB] 116s Get:31 http://ftpmaster.internal/ubuntu resolute/universe ppc64el racc all 1.8.1-2 [71.5 kB] 116s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-ffi ppc64el 1.17.2+dfsg-1 [110 kB] 116s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-childprocess all 4.1.0-3ubuntu1 [23.8 kB] 116s Get:34 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-contracts all 0.17.2-1 [21.3 kB] 116s Get:35 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 116s Get:36 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 116s Get:37 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-thor all 1.4.0-1 [50.4 kB] 116s Get:38 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-aruba all 2.1.0-3 [44.4 kB] 116s Get:39 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-coderay all 1.1.3-8 [78.5 kB] 116s Get:40 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-fakefs all 3.0.4-1 [31.6 kB] 116s Get:41 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-flexmock all 3.0.2-1 [44.3 kB] 116s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-json ppc64el 2.15.2+dfsg-1 [76.8 kB] 116s Get:43 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-metaclass all 0.0.4-2 [4094 B] 116s Get:44 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 116s Get:45 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-mocha all 2.4.2-2 [40.0 kB] 116s Get:46 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-pkg-config all 1.5.9-1 [8710 B] 116s Get:47 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-nokogiri ppc64el 1.18.2+dfsg-1build1 [280 kB] 116s Get:48 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rr all 3.1.2-1 [33.1 kB] 116s Get:49 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 116s Get:50 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 116s Get:51 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 116s Get:52 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-thread-order all 1.1.1-1 [5812 B] 116s Get:53 http://ftpmaster.internal/ubuntu resolute/universe ppc64el coderay all 1.1.3-8 [9054 B] 116s Fetched 18.0 MB in 3s (5329 kB/s) 116s Selecting previously unselected package libjs-jquery. 116s (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 ... 81022 files and directories currently installed.) 116s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 116s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 116s Selecting previously unselected package ruby-builder. 116s Preparing to unpack .../01-ruby-builder_3.2.4-2_all.deb ... 116s Unpacking ruby-builder (3.2.4-2) ... 116s Selecting previously unselected package rubygems-integration. 116s Preparing to unpack .../02-rubygems-integration_1.19_all.deb ... 116s Unpacking rubygems-integration (1.19) ... 117s Selecting previously unselected package rake. 117s Preparing to unpack .../03-rake_13.2.1-1_all.deb ... 117s Unpacking rake (13.2.1-1) ... 117s Selecting previously unselected package ruby-csv. 117s Preparing to unpack .../04-ruby-csv_3.3.4-1_all.deb ... 117s Unpacking ruby-csv (3.3.4-1) ... 117s Selecting previously unselected package ruby-did-you-mean. 117s Preparing to unpack .../05-ruby-did-you-mean_1.6.3-2_all.deb ... 117s Unpacking ruby-did-you-mean (1.6.3-2) ... 117s Selecting previously unselected package ruby-net-telnet. 117s Preparing to unpack .../06-ruby-net-telnet_0.2.0-1_all.deb ... 117s Unpacking ruby-net-telnet (0.2.0-1) ... 117s Selecting previously unselected package ruby-ruby2-keywords. 117s Preparing to unpack .../07-ruby-ruby2-keywords_0.0.5-1_all.deb ... 117s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 117s Selecting previously unselected package ruby-webrick. 117s Preparing to unpack .../08-ruby-webrick_1.9.1-1_all.deb ... 117s Unpacking ruby-webrick (1.9.1-1) ... 117s Selecting previously unselected package ruby-xmlrpc. 117s Preparing to unpack .../09-ruby-xmlrpc_0.3.3-2_all.deb ... 117s Unpacking ruby-xmlrpc (0.3.3-2) ... 117s Selecting previously unselected package libruby3.3:ppc64el. 117s Preparing to unpack .../10-libruby3.3_3.3.8-2ubuntu2_ppc64el.deb ... 117s Unpacking libruby3.3:ppc64el (3.3.8-2ubuntu2) ... 117s Selecting previously unselected package ruby3.3. 117s Preparing to unpack .../11-ruby3.3_3.3.8-2ubuntu2_ppc64el.deb ... 117s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 117s Selecting previously unselected package libruby:ppc64el. 117s Preparing to unpack .../12-libruby_1%3a3.3_ppc64el.deb ... 117s Unpacking libruby:ppc64el (1:3.3) ... 117s Selecting previously unselected package ruby-rubygems. 117s Preparing to unpack .../13-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 117s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 117s Selecting previously unselected package ruby. 117s Preparing to unpack .../14-ruby_1%3a3.3_ppc64el.deb ... 117s Unpacking ruby (1:3.3) ... 117s Selecting previously unselected package ruby-gherkin. 117s Preparing to unpack .../15-ruby-gherkin_4.0.0-4_all.deb ... 117s Unpacking ruby-gherkin (4.0.0-4) ... 117s Selecting previously unselected package ruby-cucumber-core. 117s Preparing to unpack .../16-ruby-cucumber-core_1.5.0-3_all.deb ... 117s Unpacking ruby-cucumber-core (1.5.0-3) ... 117s Selecting previously unselected package ruby-cucumber-wire. 117s Preparing to unpack .../17-ruby-cucumber-wire_0.0.1-3_all.deb ... 117s Unpacking ruby-cucumber-wire (0.0.1-3) ... 117s Selecting previously unselected package ruby-diff-lcs. 117s Preparing to unpack .../18-ruby-diff-lcs_1.6.2-1_all.deb ... 117s Unpacking ruby-diff-lcs (1.6.2-1) ... 117s Selecting previously unselected package ruby-multi-json. 117s Preparing to unpack .../19-ruby-multi-json_1.15.0-1_all.deb ... 117s Unpacking ruby-multi-json (1.15.0-1) ... 117s Selecting previously unselected package ruby-multi-test. 117s Preparing to unpack .../20-ruby-multi-test_1.1.0-1_all.deb ... 117s Unpacking ruby-multi-test (1.1.0-1) ... 117s Selecting previously unselected package cucumber. 117s Preparing to unpack .../21-cucumber_2.4.0-5_all.deb ... 117s Unpacking cucumber (2.4.0-5) ... 117s Selecting previously unselected package ruby-minitest. 117s Preparing to unpack .../22-ruby-minitest_5.25.4-3_all.deb ... 117s Unpacking ruby-minitest (5.25.4-3) ... 117s Selecting previously unselected package ruby-power-assert. 117s Preparing to unpack .../23-ruby-power-assert_2.0.5-1_all.deb ... 117s Unpacking ruby-power-assert (2.0.5-1) ... 117s Selecting previously unselected package ruby-test-unit. 117s Preparing to unpack .../24-ruby-test-unit_3.6.2-1_all.deb ... 117s Unpacking ruby-test-unit (3.6.2-1) ... 117s Selecting previously unselected package gem2deb-test-runner. 117s Preparing to unpack .../25-gem2deb-test-runner_2.2.5_ppc64el.deb ... 117s Unpacking gem2deb-test-runner (2.2.5) ... 117s Selecting previously unselected package liberror-perl. 117s Preparing to unpack .../26-liberror-perl_0.17030-1_all.deb ... 117s Unpacking liberror-perl (0.17030-1) ... 117s Selecting previously unselected package git-man. 117s Preparing to unpack .../27-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 117s Unpacking git-man (1:2.51.0-1ubuntu1) ... 117s Selecting previously unselected package git. 117s Preparing to unpack .../28-git_1%3a2.51.0-1ubuntu1_ppc64el.deb ... 117s Unpacking git (1:2.51.0-1ubuntu1) ... 118s Selecting previously unselected package libxslt1.1:ppc64el. 118s Preparing to unpack .../29-libxslt1.1_1.1.43-0.3_ppc64el.deb ... 118s Unpacking libxslt1.1:ppc64el (1.1.43-0.3) ... 118s Selecting previously unselected package racc. 118s Preparing to unpack .../30-racc_1.8.1-2_all.deb ... 118s Unpacking racc (1.8.1-2) ... 118s Selecting previously unselected package ruby-ffi:ppc64el. 118s Preparing to unpack .../31-ruby-ffi_1.17.2+dfsg-1_ppc64el.deb ... 118s Unpacking ruby-ffi:ppc64el (1.17.2+dfsg-1) ... 118s Selecting previously unselected package ruby-childprocess. 118s Preparing to unpack .../32-ruby-childprocess_4.1.0-3ubuntu1_all.deb ... 118s Unpacking ruby-childprocess (4.1.0-3ubuntu1) ... 118s Selecting previously unselected package ruby-contracts. 118s Preparing to unpack .../33-ruby-contracts_0.17.2-1_all.deb ... 118s Unpacking ruby-contracts (0.17.2-1) ... 118s Selecting previously unselected package ruby-rspec-support. 118s Preparing to unpack .../34-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 118s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 118s Selecting previously unselected package ruby-rspec-expectations. 118s Preparing to unpack .../35-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 118s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 118s Selecting previously unselected package ruby-thor. 118s Preparing to unpack .../36-ruby-thor_1.4.0-1_all.deb ... 118s Unpacking ruby-thor (1.4.0-1) ... 118s Selecting previously unselected package ruby-aruba. 118s Preparing to unpack .../37-ruby-aruba_2.1.0-3_all.deb ... 118s Unpacking ruby-aruba (2.1.0-3) ... 118s Selecting previously unselected package ruby-coderay. 118s Preparing to unpack .../38-ruby-coderay_1.1.3-8_all.deb ... 118s Unpacking ruby-coderay (1.1.3-8) ... 118s Selecting previously unselected package ruby-fakefs. 118s Preparing to unpack .../39-ruby-fakefs_3.0.4-1_all.deb ... 118s Unpacking ruby-fakefs (3.0.4-1) ... 118s Selecting previously unselected package ruby-flexmock. 118s Preparing to unpack .../40-ruby-flexmock_3.0.2-1_all.deb ... 118s Unpacking ruby-flexmock (3.0.2-1) ... 118s Selecting previously unselected package ruby-json:ppc64el. 118s Preparing to unpack .../41-ruby-json_2.15.2+dfsg-1_ppc64el.deb ... 118s Unpacking ruby-json:ppc64el (2.15.2+dfsg-1) ... 118s Selecting previously unselected package ruby-metaclass. 118s Preparing to unpack .../42-ruby-metaclass_0.0.4-2_all.deb ... 118s Unpacking ruby-metaclass (0.0.4-2) ... 118s Selecting previously unselected package ruby-mini-portile2. 118s Preparing to unpack .../43-ruby-mini-portile2_2.8.7-1_all.deb ... 118s Unpacking ruby-mini-portile2 (2.8.7-1) ... 118s Selecting previously unselected package ruby-mocha. 118s Preparing to unpack .../44-ruby-mocha_2.4.2-2_all.deb ... 118s Unpacking ruby-mocha (2.4.2-2) ... 118s Selecting previously unselected package ruby-pkg-config. 118s Preparing to unpack .../45-ruby-pkg-config_1.5.9-1_all.deb ... 118s Unpacking ruby-pkg-config (1.5.9-1) ... 118s Selecting previously unselected package ruby-nokogiri. 118s Preparing to unpack .../46-ruby-nokogiri_1.18.2+dfsg-1build1_ppc64el.deb ... 118s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 118s Selecting previously unselected package ruby-rr. 118s Preparing to unpack .../47-ruby-rr_3.1.2-1_all.deb ... 118s Unpacking ruby-rr (3.1.2-1) ... 118s Selecting previously unselected package ruby-rspec-core. 118s Preparing to unpack .../48-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 118s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 118s Selecting previously unselected package ruby-rspec-mocks. 118s Preparing to unpack .../49-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 118s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 118s Selecting previously unselected package ruby-rspec. 118s Preparing to unpack .../50-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 118s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 118s Selecting previously unselected package ruby-thread-order. 118s Preparing to unpack .../51-ruby-thread-order_1.1.1-1_all.deb ... 118s Unpacking ruby-thread-order (1.1.1-1) ... 118s Selecting previously unselected package coderay. 118s Preparing to unpack .../52-coderay_1.1.3-8_all.deb ... 118s Unpacking coderay (1.1.3-8) ... 118s Setting up ruby-rr (3.1.2-1) ... 118s Setting up ruby-multi-json (1.15.0-1) ... 118s Setting up ruby-ruby2-keywords (0.0.5-1) ... 118s Setting up ruby-fakefs (3.0.4-1) ... 118s Setting up ruby-power-assert (2.0.5-1) ... 118s Setting up ruby-mini-portile2 (2.8.7-1) ... 118s Setting up ruby-thread-order (1.1.1-1) ... 118s Setting up rubygems-integration (1.19) ... 118s Setting up liberror-perl (0.17030-1) ... 118s Setting up ruby-minitest (5.25.4-3) ... 118s Setting up ruby-test-unit (3.6.2-1) ... 118s Setting up ruby-net-telnet (0.2.0-1) ... 118s Setting up ruby-csv (3.3.4-1) ... 118s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 118s Setting up ruby-contracts (0.17.2-1) ... 118s Setting up ruby-webrick (1.9.1-1) ... 118s Setting up ruby-flexmock (3.0.2-1) ... 118s Setting up ruby-multi-test (1.1.0-1) ... 118s Setting up ruby-builder (3.2.4-2) ... 118s Setting up libxslt1.1:ppc64el (1.1.43-0.3) ... 118s Setting up git-man (1:2.51.0-1ubuntu1) ... 118s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 118s Setting up ruby-did-you-mean (1.6.3-2) ... 118s Setting up ruby-xmlrpc (0.3.3-2) ... 118s Setting up git (1:2.51.0-1ubuntu1) ... 118s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 118s Setting up rake (13.2.1-1) ... 118s Setting up libruby3.3:ppc64el (3.3.8-2ubuntu2) ... 118s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 118s Setting up libruby:ppc64el (1:3.3) ... 118s Setting up ruby (1:3.3) ... 118s Setting up racc (1.8.1-2) ... 118s Setting up ruby-thor (1.4.0-1) ... 118s Setting up ruby-json:ppc64el (2.15.2+dfsg-1) ... 118s Setting up ruby-pkg-config (1.5.9-1) ... 118s Setting up ruby-coderay (1.1.3-8) ... 118s Setting up ruby-gherkin (4.0.0-4) ... 118s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 118s Setting up ruby-ffi:ppc64el (1.17.2+dfsg-1) ... 118s Setting up ruby-diff-lcs (1.6.2-1) ... 118s Setting up ruby-cucumber-wire (0.0.1-3) ... 118s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 118s Setting up ruby-metaclass (0.0.4-2) ... 118s Setting up ruby-cucumber-core (1.5.0-3) ... 118s Setting up gem2deb-test-runner (2.2.5) ... 118s Setting up coderay (1.1.3-8) ... 118s Setting up ruby-childprocess (4.1.0-3ubuntu1) ... 118s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 118s Setting up ruby-mocha (2.4.2-2) ... 118s Setting up cucumber (2.4.0-5) ... 118s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 118s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 118s Setting up ruby-aruba (2.1.0-3) ... 118s Processing triggers for man-db (2.13.1-1) ... 119s Processing triggers for libc-bin (2.42-2ubuntu2) ... 121s autopkgtest [18:24:54]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 121s autopkgtest [18:24:54]: test gem2deb-test-runner: [----------------------- 121s 121s ┌──────────────────────────────────────────────────────────────────────────────┐ 121s │ Checking Rubygems dependency resolution on ruby3.3 │ 121s └──────────────────────────────────────────────────────────────────────────────┘ 121s 121s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec\" 121s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-core\" 122s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-expectations\" 122s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-mocks\" 122s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rspec-support\" 122s 122s ┌──────────────────────────────────────────────────────────────────────────────┐ 122s │ Run tests for ruby3.3 from debian/ruby-tests.rb │ 122s └──────────────────────────────────────────────────────────────────────────────┘ 122s 122s RUBYLIB=. GEM_PATH= ruby3.3 debian/ruby-tests.rb 122s 122s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 122s ∙ rspec-core ∙ 122s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 122s 122s cd rspec-core 122s /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 122s mv lib lib.off 123s Run options: exclude {:ruby=>#} 123s 123s Randomized with seed 14797 134s .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*........................................................................................................*......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 134s 134s Pending: (Failures listed here are expected and do not affect your suite's status) 134s 134s 1) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string 134s # lib/mathn.rb is deprecated in Ruby 2.2 134s # ./spec/rspec/core/formatters/helpers_spec.rb:64 134s 134s 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually 134s # lib/mathn.rb is deprecated in Ruby 2.2 134s # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 134s 134s 3) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group 134s # Cannot maintain this and provide full `:example_group` backwards compatibility (see GH #1490):( 134s Failure/Error: expect(b[:description]).to eq("new description") 134s 134s expected: "new description" 134s got: "group" 134s 134s (compared using ==) 134s 134s Finished in 10.97 seconds (files took 0.72288 seconds to load) 134s 1869 examples, 0 failures, 3 pending 134s 134s Randomized with seed 14797 134s 134s mv lib.off lib 134s cd - 134s 134s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 134s ∙ rspec-expectations ∙ 134s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 134s 134s cd rspec-expectations 134s /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 134s mv lib lib.off 135s 135s Randomized with seed 36072 137s ................................................................................................................................................F.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F......................................................................................................................................................................................................................F..................................................F.F.FFF..F...............................F...F..........................F..........................FF.....********...............F..F.....F.F....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 137s 137s Pending: (Failures listed here are expected and do not affect your suite's status) 137s 137s 1) #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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:82 137s 137s 2) #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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:157 137s 137s 3) #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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:101 137s 137s 4) #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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:95 137s 137s 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 doesn't have a key and we expect nil 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:89 137s 137s 6) #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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:78 137s 137s 7) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff for fuzzy matchers 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:129 137s 137s 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 137s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 137s # ./spec/rspec/matchers/built_in/include_spec.rb:74 137s 137s Failures: 137s 137s 1) #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected 137s Failure/Error: 137s expect { 137s expect(person).to have_attributes(:name => correct_name, :age => wrong_age) 137s }.to fail_including(expected_diff) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:176:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 137s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 137s 137s 2) RSpec::Matchers::DSL::Matcher handles multiline string diffs 137s Failure/Error: expect(diff).to eq expected_diff 137s 137s expected: "Diff:\n@@ -1 +1 @@\n-line1\n+LINE1\n" 137s got: "Diff:\n@@ -1,2 +1,2 @@\n-line1\n+LINE1\nline2\n" 137s 137s (compared using ==) 137s 137s Diff: 137s 137s @@ -1,4 +1,5 @@ 137s Diff: 137s -@@ -1 +1 @@ 137s +@@ -1,2 +1,2 @@ 137s -line1 137s +LINE1 137s +line2 137s # ./spec/rspec/matchers/dsl_spec.rb:522:in `block (2 levels) in ' 137s 137s 3) RSpec::Matchers::BuiltIn::Compound when chaining many matchers together fails with complete diffs if its matchers are diffable 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to matcher 137s |bug 137s |squash 137s EOS 137s }.to fail do |error| 137s expect(error.message).to include(expected_failure) 137s end 137s 137s 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" 137s Diff: 137s @@ -1 +1,26 @@ 137s - 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 137s + expected "bug\nsquash" to include "bar" 137s + 137s +...and: 137s + 137s + expected "bug\nsquash" to include "buzz" 137s + 137s + ...or: 137s + 137s + expected "bug\nsquash" to include "foo" 137s +Diff for (include "bar"): 137s +@@ -1 +1,2 @@ 137s +-bar 137s ++bug 137s ++squash 137s + 137s +Diff for (include "buzz"): 137s +@@ -1 +1,2 @@ 137s +-buzz 137s ++bug 137s ++squash 137s + 137s +Diff for (include "foo"): 137s +@@ -1 +1,2 @@ 137s +-foo 137s ++bug 137s ++squash 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:931:in `block (3 levels) in ' 137s 137s 4) 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 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bar 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:409:in `block (7 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 137s 137s 5) 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 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bar 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:452:in `block (7 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 137s 137s 6) 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 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bug 137s EOS 137s }.to fail do |error| 137s expect(error.message).to include(expected_failure) 137s end 137s 137s 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" 137s Diff: 137s @@ -1 +1,16 @@ 137s - 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 137s + expected "baz\nbug" to include "bar" 137s + 137s +...and: 137s + 137s + expected "baz\nbug" to include "foo" 137s +Diff for (include "bar"): 137s +@@ -1 +1,2 @@ 137s +-bar 137s ++baz 137s ++bug 137s + 137s +Diff for (include "foo"): 137s +@@ -1 +1,2 @@ 137s +-foo 137s ++baz 137s ++bug 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:537:in `block (5 levels) in ' 137s 137s 7) 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 137s Failure/Error: 137s expect { 137s expect( 137s "HELLO\nWORLD" 137s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 137s }.to fail do |error| 137s expect(error.message).to include(expected_failure) 137s end 137s 137s 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" 137s Diff: 137s @@ -1 +1,18 @@ 137s - 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 137s + expected "hello\nworld" to eq downcase "bonjour\nmonde" 137s + 137s +...and: 137s + 137s + expected "hello\nworld" to eq downcase "hola\nmon" 137s +Diff for (eq downcase "bonjour\nmonde"): 137s +@@ -1,2 +1,2 @@ 137s +-bonjour 137s +-monde 137s ++hello 137s ++world 137s + 137s +Diff for (eq downcase "hola\nmon"): 137s +@@ -1,2 +1,2 @@ 137s +-hola 137s +-mon 137s ++hello 137s ++world 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:628:in `block (7 levels) in ' 137s 137s 8) 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 137s Failure/Error: 137s expect { 137s expect( 137s "HELLO\nWORLD" 137s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 137s }.to fail do |error| 137s expect(error.message).to include(expected_failure) 137s end 137s 137s 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" 137s Diff: 137s @@ -1 +1,18 @@ 137s - 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 137s + expected "HELLO\nWORLD" to eq downcase "bonjour\nmonde" 137s + 137s +...and: 137s + 137s + expected "HELLO\nWORLD" to eq downcase "hola\nmon" 137s +Diff for (eq downcase "bonjour\nmonde"): 137s +@@ -1,2 +1,2 @@ 137s +-bonjour 137s +-monde 137s ++hello 137s ++world 137s + 137s +Diff for (eq downcase "hola\nmon"): 137s +@@ -1,2 +1,2 @@ 137s +-hola 137s +-mon 137s ++hello 137s ++world 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:585:in `block (7 levels) in ' 137s 137s 9) 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 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bar 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:502:in `block (6 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 137s 137s 10) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when second matcher is diffable fails with a message containing diff for second matcher 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bug 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:833:in `block (5 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 137s 137s 11) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when first matcher is diffable fails with a message containing diff for first matcher 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bug 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:800:in `block (5 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 137s 137s 12) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when both matchers are diffable fails with a message containing diffs for both matcher 137s Failure/Error: 137s expect { 137s expect(dedent(<<-EOS)).to subject 137s |baz 137s |bug 137s EOS 137s }.to fail_including(expected_failure) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:869:in `block (5 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 137s 137s 13) #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 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s 137s 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 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s 137s 15) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s 137s 16) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff for fuzzy matchers 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s 137s 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 for fuzzy matchers 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 137s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 137s 137s 18) #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 137s Failure/Error: 137s expect { 137s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 137s }.to fail_including(failure_string) 137s 137s 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: 137s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 137s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 137s 137s 22 deprecations logged to /tmp/stderr20251117-2551-8y6xmp 137s 137s Finished in 2.47 seconds (files took 0.51027 seconds to load) 137s 2400 examples, 18 failures, 8 pending 137s 137s Failed examples: 137s 137s 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 137s rspec ./spec/rspec/matchers/dsl_spec.rb:499 # RSpec::Matchers::DSL::Matcher handles multiline string diffs 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 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 137s 137s Randomized with seed 36072 137s 137s mv lib.off lib 137s cd - 137s 137s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 137s ∙ rspec-mocks ∙ 137s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 137s 137s cd rspec-mocks 137s /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 137s mv lib lib.off 138s Run options: exclude {:ordered_and_vague_counts_unsupported=>true} 138s 138s Randomized with seed 21942 139s ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* 139s 139s Pending: (Failures listed here are expected and do not affect your suite's status) 139s 139s 1) Partially mocking an object that defines ==, after another mock has been defined does not raise an error when stubbing the object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:268 139s 139s 2) when using the :expect syntax still supports null object doubles 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:129 139s 139s 3) with default syntax configuration warns about unstubbing once, regardless of how many times it is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:541 139s 139s 4) with default syntax configuration warns about should not once, regardless of how many times it is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:487 139s 139s 5) with default syntax configuration includes the call site in the deprecation warning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:564 139s 139s 6) with default syntax configuration doesn't warn about stubbing after a reset and setting should 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:554 139s 139s 7) with default syntax configuration it warns about should once, regardless of how many times it is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:475 139s 139s 8) with default syntax configuration warns about stubbing once, regardless of how many times it is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:496 139s 139s 9) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:127 139s 139s 10) receive_message_chain with only the expect syntax enabled works with and_call_original 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:73 139s 139s 11) receive_message_chain with only the expect syntax enabled works with and_raise 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:85 139s 139s 12) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing a string) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:222 139s 139s 13) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:227 139s 139s 14) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:198 139s 139s 15) receive_message_chain with only the expect syntax enabled errors with a negative allowance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:8 139s 139s 16) receive_message_chain with only the expect syntax enabled errors with a negative any_instance allowance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:26 139s 139s 17) receive_message_chain with only the expect syntax enabled works with a {} block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:40 139s 139s 18) receive_message_chain with only the expect syntax enabled affects previously stubbed instances when `expect_any_instance_of` is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:175 139s 139s 19) receive_message_chain with only the expect syntax enabled works with a string of messages to chain 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:103 139s 139s 20) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:168 139s 139s 21) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols and a hash) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:232 139s 139s 22) receive_message_chain with only the expect syntax enabled can constrain the return value by the argument to the last call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:66 139s 139s 23) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:115 139s 139s 24) receive_message_chain with only the expect syntax enabled works with and_return 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:54 139s 139s 25) receive_message_chain with only the expect syntax enabled errors with a negative expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:14 139s 139s 26) receive_message_chain with only the expect syntax enabled errors with a negative any_instance expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:20 139s 139s 27) receive_message_chain with only the expect syntax enabled stubs already stubbed instances when using `allow_any_instance_of` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:159 139s 139s 28) receive_message_chain with only the expect syntax enabled works with allow_any_instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:151 139s 139s 29) receive_message_chain with only the expect syntax enabled works with and_yield 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:97 139s 139s 30) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages with an inline hash return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:121 139s 139s 31) receive_message_chain with only the expect syntax enabled passes when with expect_any_instance_of is used and the entire chain is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:183 139s 139s 32) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:135 139s 139s 33) receive_message_chain with only the expect syntax enabled does not raise when expect is used and the entire chain is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:143 139s 139s 34) receive_message_chain with only the expect syntax enabled works with and_throw 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:91 139s 139s 35) receive_message_chain with only the expect syntax enabled works with and_invoke 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:60 139s 139s 36) receive_message_chain with only the expect syntax enabled gives the { } block precedence over the do block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:46 139s 139s 37) receive_message_chain with only the expect syntax enabled works with a hash return as the last argument in the chain 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:109 139s 139s 38) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:190 139s 139s 39) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:79 139s 139s 40) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:206 139s 139s 41) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:214 139s 139s 42) receive_message_chain with only the expect syntax enabled works with a do block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:32 139s 139s 43) receive_message_chain when the expect and should syntaxes are enabled stubs the message correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:241 139s 139s 44) expection set on previously stubbed method fails if message is not received after expectation is set 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:2 139s 139s 45) expection set on previously stubbed method indicates the site of expectation in the stacktrace when outputing arguments of similar calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:43 139s 139s 46) expection set on previously stubbed method outputs arguments of similar calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:9 139s 139s 47) expection set on previously stubbed method handles concurrent validation of expectations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:26 139s 139s 48) expection set on previously stubbed method with argument constraint on stub distinguishes between individual values and arrays properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:84 139s 139s 49) expection set on previously stubbed method with argument constraint on stub matches specific args set on expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:68 139s 139s 50) expection set on previously stubbed method with argument constraint on stub fails if expectation's arg constraint is not met 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:76 139s 139s 51) expection set on previously stubbed method with argument constraint on stub matches any args if no arg constraint set on expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:60 139s 139s 52) expection set on previously stubbed method with argument constraint on stub distinguishes between duplicate individual values and arrays properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:95 139s 139s 53) A partial double shares message expectations with clone 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:160 139s 139s 54) A partial double allows a class and a subclass to both be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:100 139s 139s 55) A partial double can accept the string form of a message for a positive message expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:119 139s 139s 56) A partial double can accept the string form of a message for a negative message expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:124 139s 139s 57) A partial double allows `respond_to?` to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:46 139s 139s 58) A partial double allows `class` to be stubbed even when `any_instance` has already been used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:32 139s 139s 59) A partial double uses reports nil in the error message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:132 139s 139s 60) A partial double can accept an inner hash as a message argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:86 139s 139s 61) A partial double verifies the method was called when expecting a message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:112 139s 139s 62) A partial double can disallow messages from being received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:64 139s 139s 63) A partial double can create a positive message expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:95 139s 139s 64) A partial double clears message expectations when `dup`ed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:168 139s 139s 65) A partial double names the class in the failure message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:12 139s 139s 66) A partial double can expect a message and set a return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:74 139s 139s 67) A partial double does not create an any_instance recorder when a message is allowed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:6 139s 139s 68) A partial double does not conflict with @options in the object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:26 139s 139s 69) A partial double can accept a hash as a message argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:79 139s 139s 70) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:145 139s 139s 71) A partial double names the class in the failure message when expectation is on class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:19 139s 139s 72) Method visibility when using partial mocks keeps private methods private 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:324 139s 139s 73) Method visibility when using partial mocks keeps public methods public 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:318 139s 139s 74) Method visibility when using partial mocks keeps protected methods protected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:330 139s 139s 75) a message expectation with multiple invoke handlers and no specified count invokes procs in order 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:10 139s 139s 76) a message expectation with multiple invoke handlers and no specified count fails when there are too few calls (if there is no stub) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:25 139s 139s 77) a message expectation with multiple invoke handlers and no specified count falls back to a previously stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:17 139s 139s 78) a message expectation with multiple invoke handlers and no specified count fails when there are too many calls (if there is no stub) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:31 139s 139s 79) A partial class mock that has been subclassed cleans up stubs during #reset to prevent leakage onto subclasses between examples 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:278 139s 139s 80) A partial class mock that has been subclassed stubbing a base class class method returns the value for the stub on the base class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:292 139s 139s 81) A partial class mock that has been subclassed stubbing a base class class method returns the value for the descendent class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:296 139s 139s 82) RSpec::Mocks::TestDouble copies the `as_null_object` state when dup'd 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:34 139s 139s 83) RSpec::Mocks::TestDouble copies the `as_null_object` state when clone'd 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:34 139s 139s 84) RSpec::Mocks::TestDouble with syntax [:should, :expect] stubs the methods passed in the stubs hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:48 139s 139s 85) RSpec::Mocks::TestDouble with syntax [:expect] stubs the methods passed in the stubs hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:48 139s 139s 86) RSpec::Mocks::TestDouble with syntax [:should] stubs the methods passed in the stubs hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:48 139s 139s 87) RSpec::Mocks::TestDouble#freeze returns the instance of the test double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:27 139s 139s 88) RSpec::Mocks::TestDouble#freeze gives a warning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:7 139s 139s 89) RSpec::Mocks::TestDouble#freeze doesn't freeze the object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:17 139s 139s 90) RSpec::Mocks::TestDouble#freeze gives the correct call site for the warning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/test_double_spec.rb:12 139s 139s 91) RSpec::Mocks::Double responds to to_a as a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:306 139s 139s 92) RSpec::Mocks::Double has method_missing as private 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:7 139s 139s 93) RSpec::Mocks::Double hides internals in its inspect representation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:20 139s 139s 94) RSpec::Mocks::Double passes proc to stub block without an argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:326 139s 139s 95) RSpec::Mocks::Double reports line number of expectation of unreceived message after a message expectation after similar stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:87 139s 139s 96) RSpec::Mocks::Double raises a given instance of an exception with arguments other than the standard 'message' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:375 139s 139s 97) RSpec::Mocks::Double yields one arg to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:447 139s 139s 98) RSpec::Mocks::Double generates the correct error when an unfulfilled expectation uses an unused double as a `with` argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:38 139s 139s 99) RSpec::Mocks::Double throws when told to 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:393 139s 139s 100) RSpec::Mocks::Double yields single value 3 times consecutively 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:491 139s 139s 101) RSpec::Mocks::Double temporarily replaces a method stub on a non-double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:611 139s 139s 102) RSpec::Mocks::Double uses 'Double' in failure messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:15 139s 139s 103) RSpec::Mocks::Double does not require a different signature to replace a method stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:596 139s 139s 104) RSpec::Mocks::Double can yield multiple times when told to do so 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:643 139s 139s 105) RSpec::Mocks::Double returns nil if no return value is set and there is no previously stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:210 139s 139s 106) RSpec::Mocks::Double yields 0 args to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:430 139s 139s 107) RSpec::Mocks::Double does not respond_to? method_missing (because it's private) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:11 139s 139s 108) RSpec::Mocks::Double does not mess with the stub's yielded values when also doubleed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:635 139s 139s 109) RSpec::Mocks::Double fails on no args if any args received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:409 139s 139s 110) RSpec::Mocks::Double fails when calling yielding method with invalid kw args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:528 139s 139s 111) RSpec::Mocks::Double yields many args to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:465 139s 139s 112) RSpec::Mocks::Double is able to raise from method calling yielding double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:559 139s 139s 113) RSpec::Mocks::Double passes when not receiving message specified as not to be received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:98 139s 139s 114) RSpec::Mocks::Double allows parameter as return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:197 139s 139s 115) RSpec::Mocks::Double allows string representation of methods in constructor 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:47 139s 139s 116) RSpec::Mocks::Double raises an error when a previously stubbed method has a negative expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:605 139s 139s 117) RSpec::Mocks::Double returns the stubbed value when no new value specified 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:621 139s 139s 118) RSpec::Mocks::Double assigns stub return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:653 139s 139s 119) RSpec::Mocks::Double does not get confused when a positive expectation is used with a string and symbol message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:187 139s 139s 120) RSpec::Mocks::Double passes proc to stub block with an argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:331 139s 139s 121) RSpec::Mocks::Double is wrappable in an array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:290 139s 139s 122) RSpec::Mocks::Double raises exception if args don't match when method called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:216 139s 139s 123) RSpec::Mocks::Double restores objects to their original state on rspec_reset 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:580 139s 139s 124) RSpec::Mocks::Double raises a given instance of an exception 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:362 139s 139s 125) RSpec::Mocks::Double does not raise when told to if args dont match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:386 139s 139s 126) RSpec::Mocks::Double does not get confused when a negative expectation is used with a string and symbol message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:178 139s 139s 127) RSpec::Mocks::Double warns when `and_return` is called on a negative expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:109 139s 139s 128) RSpec::Mocks::Double yields two values 3 times consecutively 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:510 139s 139s 129) RSpec::Mocks::Double is able to double send 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:553 139s 139s 130) RSpec::Mocks::Double fails when calling yielding method with wrong arity 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:520 139s 139s 131) RSpec::Mocks::Double fails when receiving message specified as not to be received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:130 139s 139s 132) RSpec::Mocks::Double clears expectations after verify 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:571 139s 139s 133) RSpec::Mocks::Double reports line number of expectation of unreceived message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:77 139s 139s 134) RSpec::Mocks::Double raises RuntimeError by default 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:342 139s 139s 135) RSpec::Mocks::Double responds to to_ary as a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:302 139s 139s 136) RSpec::Mocks::Double returns value from block by default 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:423 139s 139s 137) RSpec::Mocks::Double raises an exception of a given type with a message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:357 139s 139s 138) RSpec::Mocks::Double fails when calling yielding method without block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:546 139s 139s 139) RSpec::Mocks::Double returns the stubbed value when stubbed with args and no new value specified 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:628 139s 139s 140) RSpec::Mocks::Double fails if unexpected method called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:264 139s 139s 141) RSpec::Mocks::Double returns the previously stubbed value if no return value is set 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:203 139s 139s 142) RSpec::Mocks::Double fails if expectation block fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:280 139s 139s 143) RSpec::Mocks::Double allows `send` to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:71 139s 139s 144) RSpec::Mocks::Double fails right away when method defined as never is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:336 139s 139s 145) RSpec::Mocks::Double raises an exception of a given type without an error message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:352 139s 139s 146) RSpec::Mocks::Double raises RuntimeError with a message by default 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:347 139s 139s 147) RSpec::Mocks::Double passes when receiving message specified as not to be received with different args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:123 139s 139s 148) RSpec::Mocks::Double fails when calling yielding method consecutively with wrong arity 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:536 139s 139s 149) RSpec::Mocks::Double allows `class` to be stubbed even when `any_instance` has already been used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:60 139s 139s 150) RSpec::Mocks::Double yields single value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:483 139s 139s 151) RSpec::Mocks::Double yields 0 args multiple times to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:438 139s 139s 152) RSpec::Mocks::Double raises exception if args don't match when method called even when using null_object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:243 139s 139s 153) RSpec::Mocks::Double fails when array arguments do not match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:150 139s 139s 154) RSpec::Mocks::Double yields one arg 3 times consecutively to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:455 139s 139s 155) RSpec::Mocks::Double uses block for expectation if provided 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:270 139s 139s 156) RSpec::Mocks::Double prevents confusing double-negative expressions involving `never` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:103 139s 139s 157) RSpec::Mocks::Double passes proc to expectation block with an argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:321 139s 139s 158) RSpec::Mocks::Double fails when args are expected but none are received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:416 139s 139s 159) RSpec::Mocks::Double allows setter methods to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:52 139s 139s 160) RSpec::Mocks::Double raises exception if args don't match when method called even when the method is stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:234 139s 139s 161) RSpec::Mocks::Double yields many args 3 times consecutively to blocks that take a variable number of arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:473 139s 139s 162) RSpec::Mocks::Double fails when receiving message specified as not to be received with args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:140 139s 139s 163) RSpec::Mocks::Double is wrappable in an array when a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:296 139s 139s 164) RSpec::Mocks::Double does not get string vs symbol messages confused 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:31 139s 139s 165) RSpec::Mocks::Double does not blow up when resetting standard object methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:25 139s 139s 166) RSpec::Mocks::Double temporarily replaces a method stub on a double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:587 139s 139s 167) RSpec::Mocks::Double ignores args on any args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:400 139s 139s 168) RSpec::Mocks::Double yields two values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:501 139s 139s 169) RSpec::Mocks::Double passes proc to expectation block without an argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:316 139s 139s 170) RSpec::Mocks::Double == sends '== self' to the comparison object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:752 139s 139s 171) RSpec::Mocks::Double double created with no name does respond to initially stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:744 139s 139s 172) RSpec::Mocks::Double double created with no name does not use a name in a failure message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:739 139s 139s 173) RSpec::Mocks::Double string representation generated by #to_s does not contain < because that might lead to invalid HTML in some situations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:722 139s 139s 174) RSpec::Mocks::Double#to_str should not respond to #to_str to avoid being coerced to strings by the runtime 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:730 139s 139s 175) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:224 139s 139s 176) RSpec::Mocks::Double a double message receiving a block calls the block after #ordered 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:710 139s 139s 177) RSpec::Mocks::Double a double message receiving a block calls the block after #twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:693 139s 139s 178) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:668 139s 139s 179) RSpec::Mocks::Double a double message receiving a block calls the block after #once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:685 139s 139s 180) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` after a similar stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:676 139s 139s 181) RSpec::Mocks::Double a double message receiving a block calls the block after #times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:702 139s 139s 182) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:253 139s 139s 183) RSpec::Mocks::Double with with a block with non-matching args fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:815 139s 139s 184) RSpec::Mocks::Double with with a block with matching args returns the result of the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:808 139s 139s 185) RSpec::Mocks::Double with with args with non-matching doubles as_null_object fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:794 139s 139s 186) RSpec::Mocks::Double with with args with non-matching args fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:772 139s 139s 187) RSpec::Mocks::Double with with args with non-matching doubles fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:782 139s 139s 188) RSpec::Mocks::Double with with args with matching args passes 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:765 139s 139s 189) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:170 139s 139s 190) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/double_spec.rb:162 139s 139s 191) unstubbing with `and_call_original` does not remove any expectations with the same method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:47 139s 139s 192) unstubbing with `and_call_original` removes all stubs with the supplied method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:38 139s 139s 193) unstubbing with `and_call_original` replaces the stubbed method with the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:30 139s 139s 194) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a parent and child class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 139s 139s 195) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a grandparent and grandchild class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 139s 139s 196) unstubbing with `and_call_original` when partial doubles are verified handles keyword arguments correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:97 139s 139s 197) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 139s 139s 198) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 139s 139s 199) a double receiving to_ary double without as_null_object doesn't respond to to_a 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:44 139s 139s 200) a double receiving to_ary double without as_null_object doesn't respond to to_ary 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:40 139s 139s 201) a double receiving to_ary double without as_null_object can be overridden with a stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:3 139s 139s 202) a double receiving to_ary double without as_null_object supports Array#flatten 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:13 139s 139s 203) a double receiving to_ary double without as_null_object responds when overridden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:8 139s 139s 204) a double receiving to_ary double without as_null_object raises 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:48 139s 139s 205) a double receiving to_ary double as_null_object responds when overridden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:8 139s 139s 206) a double receiving to_ary double as_null_object does respond to to_a 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:27 139s 139s 207) a double receiving to_ary double as_null_object can be overridden with a stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:3 139s 139s 208) a double receiving to_ary double as_null_object supports Array#flatten 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:13 139s 139s 209) a double receiving to_ary double as_null_object does respond to to_ary 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:23 139s 139s 210) a double receiving to_ary double as_null_object returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/to_ary_spec.rb:31 139s 139s 211) Combining implementation instructions can combine and_yield and and_raise 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:85 139s 139s 212) Combining implementation instructions can combine and_yield and and_return 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:4 139s 139s 213) Combining implementation instructions can combine and_call_original, with, and_return 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:173 139s 139s 214) Combining implementation instructions warns when the inner implementation block is overridden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:160 139s 139s 215) Combining implementation instructions does not warn about overriding the stub when `:with` is chained off the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:165 139s 139s 216) Combining implementation instructions can combine and_yield, a block implementation and and_raise 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:94 139s 139s 217) Combining implementation instructions can combine and_yield, a block implementation and and_throw 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:115 139s 139s 218) Combining implementation instructions can combine and_yield and and_throw 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:106 139s 139s 219) Combining implementation instructions raises an error if `and_call_original` is followed by any other instructions 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:181 139s 139s 220) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:137 139s 139s 221) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:132 139s 139s 222) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:142 139s 139s 223) Combining implementation instructions a double that already has a terminal block action allows the block action to be overridden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:152 139s 139s 224) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `with` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:31 139s 139s 225) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `exactly` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:37 139s 139s 226) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_most` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:49 139s 139s 227) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `times` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:55 139s 139s 228) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `twice` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:67 139s 139s 229) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `ordered` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:78 139s 139s 230) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `stub` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:25 139s 139s 231) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_least` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:43 139s 139s 232) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `once` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:61 139s 139s 233) Supporting Rails monkey patches works mocking any instance when Rails has monkey patched #with 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/integration/rails_support_spec.rb:37 139s 139s 234) Supporting Rails monkey patches works when Rails has monkey patched #with 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/integration/rails_support_spec.rb:10 139s 139s 235) A method stub with args complains if also mocked w/ different args AND called w/ a 3rd set of args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:546 139s 139s 236) A method stub with args uses the correct stubbed response when responding to a mock expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:555 139s 139s 237) A method stub with args complains if called with no arg 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:528 139s 139s 238) A method stub with args does not complain if also mocked w/ different args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:540 139s 139s 239) A method stub with args complains if called with other arg 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:534 139s 139s 240) A method stub with args does not complain if not called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:521 139s 139s 241) A method stub with args does not complain if called with arg 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:524 139s 139s 242) and_return when a block is passed raises ArgumentError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_return_spec.rb:7 139s 139s 243) and_return when no argument is passed raises ArgumentError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_return_spec.rb:15 139s 139s 244) .allow_message does not set an expectation that the message will be received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:31 139s 139s 245) .allow_message supports block implementations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:26 139s 139s 246) .allow_message does not get confused when the string and symbol message form are both used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:36 139s 139s 247) .allow_message sets up message allowance with params and return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:16 139s 139s 248) .allow_message sets up basic message allowance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:6 139s 139s 249) .allow_message when target cannot be proxied raises ArgumentError with message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:47 139s 139s 250) RSpec::Mocks.with_temporary_scope returns the result of the passed block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:212 139s 139s 251) RSpec::Mocks.with_temporary_scope does not verify if an error occurs before the block completes 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:202 139s 139s 252) RSpec::Mocks.with_temporary_scope tears down even if an error occurs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:189 139s 139s 253) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:142 139s 139s 254) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:137 139s 139s 255) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const allows the stubbed constants to be used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:133 139s 139s 256) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double allows the stubbed double to be used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:107 139s 139s 257) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:117 139s 139s 258) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double does not allow the double to be used in the examples 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:111 139s 139s 259) RSpec::Mocks.with_temporary_scope in a before(:all) with an unmet mock expectation fails with a mock expectation error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:158 139s 139s 260) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:177 139s 139s 261) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub allows the stub to be used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:173 139s 139s 262) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:183 139s 139s 263) RSpec::Mocks.verify delegates to the space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:42 139s 139s 264) RSpec::Mocks behaves like library wide checks issues no warnings when loaded 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # 139s 139s 265) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # 139s 139s 266) RSpec::Mocks behaves like library wide checks issues no warnings when the spec files are loaded 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # 139s 139s 267) RSpec::Mocks behaves like library wide checks has no malformed whitespace 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # 139s 139s 268) RSpec::Mocks.teardown resets method stubs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:54 139s 139s 269) RSpec::Mocks.teardown does not put rspec-mocks into an inconsistent state when called extra times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:61 139s 139s 270) RSpec::Mocks.setup starts a new space scope that is later removed by .teardown 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:76 139s 139s 271) RSpec::Mocks.configuration returns a memoized configuration instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:89 139s 139s 272) RSpec::Mocks when there is a `let` declaration that overrides an argument matcher allows the `let` definition to win 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks_spec.rb:229 139s 139s 273) only stashing the original method keeps the original method intact after multiple expectations are added on the same method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stash_spec.rb:12 139s 139s 274) when the should syntax is enabled on a non-default syntax host continues to warn about the should syntax 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:574 139s 139s 275) a double stubbed with multiple return values can still set a message expectation with a single return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:10 139s 139s 276) #any_instance when a class overrides Object#method stubs the method correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1300 139s 139s 277) #any_instance when a class overrides Object#method mocks the method correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1305 139s 139s 278) #any_instance chain yields the value specified 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:47 139s 139s 279) #any_instance when directed at a method defined on a superclass mocks the method correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1286 139s 139s 280) #any_instance when directed at a method defined on a superclass stubs the method correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1281 139s 139s 281) #any_instance when resetting post-verification adds an instance to the current space when stubbed method is invoked 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1169 139s 139s 282) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1159 139s 139s 283) #any_instance when resetting post-verification existing method with expectations ensures that the next spec does not see that expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1147 139s 139s 284) #any_instance when resetting post-verification existing method with expectations private methods cleans up the backed up method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1106 139s 139s 285) #any_instance when resetting post-verification existing method with expectations private methods ensures that the restored method behaves as it originally did 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1114 139s 139s 286) #any_instance when resetting post-verification existing method with expectations private methods restores a stubbed private method after the spec is run 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1110 139s 139s 287) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1121 139s 139s 288) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1126 139s 139s 289) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1136 139s 139s 290) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1141 139s 139s 291) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1056 139s 139s 292) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1065 139s 139s 293) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1049 139s 139s 294) #any_instance when resetting post-verification existing method with stubbing private methods cleans up the backed up method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1083 139s 139s 295) #any_instance when resetting post-verification existing method with stubbing private methods ensures that the restored method behaves as it originally did 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1091 139s 139s 296) #any_instance when resetting post-verification existing method with stubbing private methods restores a stubbed private method after the spec is run 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1087 139s 139s 297) #any_instance when used after the test has finished restores the original behaviour, even if the expectation fails 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1331 139s 139s 298) #any_instance when used after the test has finished does not restore a stubbed method not originally implemented in the class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1323 139s 139s 299) #any_instance when used after the test has finished restores the original behavior of a stubbed method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1312 139s 139s 300) #any_instance expect_any_instance_of(...).not_to receive passes if only a different method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:472 139s 139s 301) #any_instance expect_any_instance_of(...).not_to receive affects previously stubbed instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:477 139s 139s 302) #any_instance expect_any_instance_of(...).not_to receive passes if no method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:468 139s 139s 303) #any_instance expect_any_instance_of(...).not_to receive fails if the method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:460 139s 139s 304) #any_instance expect_any_instance_of(...).not_to receive prevents confusing double-negative expressions involving `never` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:512 139s 139s 305) #any_instance expect_any_instance_of(...).not_to receive when used in combination with should_receive passes if only the expected message is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:504 139s 139s 306) #any_instance expect_any_instance_of(...).not_to receive with constraints passes if the method is called with different parameters 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:497 139s 139s 307) #any_instance expect_any_instance_of(...).not_to receive with constraints fails if the method is called with the specified parameters 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:490 139s 139s 308) #any_instance setting a message expectation does not set the expectation on every instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:547 139s 139s 309) #any_instance setting a message expectation does not modify the return value of stubs set on an instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:555 139s 139s 310) #any_instance setting a message expectation works with a BasicObject subclass that mixes in Kernel 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:782 139s 139s 311) #any_instance setting a message expectation works with a SimpleDelegator subclass 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:792 139s 139s 312) #any_instance setting a message expectation properly notifies any instance recorders when they are created after the object's mock proxy 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:585 139s 139s 313) #any_instance setting a message expectation handles inspect accessing expected methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:523 139s 139s 314) #any_instance setting a message expectation does not modify the return value of stubs set on an instance of a subclass 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:563 139s 139s 315) #any_instance setting a message expectation properly notifies any instance recorders at multiple levels of hierarchy when a directly stubbed object receives a message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:572 139s 139s 316) #any_instance setting a message expectation affects previously stubbed instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:538 139s 139s 317) #any_instance setting a message expectation with argument matching is not affected by the invocation of existing methods on other instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:824 139s 139s 318) #any_instance setting a message expectation with argument matching fails when arguments do not match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:831 139s 139s 319) #any_instance setting a message expectation with argument matching returns the expected value when arguments match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:807 139s 139s 320) #any_instance setting a message expectation with argument matching fails when the arguments match but different instances are used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:813 139s 139s 321) #any_instance setting a message expectation when an instance has been directly stubbed fails when a second instance to receive the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:622 139s 139s 322) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:595 139s 139s 323) #any_instance setting a message expectation when the class has a prepended module prevents mocking a method that is defined on the prepended module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:602 139s 139s 324) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if no instance is created 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:669 139s 139s 325) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:684 139s 139s 326) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:661 139s 139s 327) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:676 139s 139s 328) #any_instance setting a message expectation with an expectation is set on a method which does not exist returns the expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:656 139s 139s 329) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:713 139s 139s 330) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:724 139s 139s 331) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:700 139s 139s 332) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:694 139s 139s 333) #any_instance setting a message expectation with an expectation is set on a method that exists returns the expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:734 139s 139s 334) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:754 139s 139s 335) #any_instance setting a message expectation with an expectation is set on a method that exists fails if no instance is created 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:747 139s 139s 336) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:739 139s 139s 337) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:763 139s 139s 338) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:769 139s 139s 339) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:636 139s 139s 340) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:645 139s 139s 341) #any_instance setting a message expectation message count the 'exactly(n)' constraint passes for n invocations where n = 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:933 139s 139s 342) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n > 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:948 139s 139s 343) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n < 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:939 139s 139s 344) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias fails for 2 invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:924 139s 139s 345) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias passes for 1 invocation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:918 139s 139s 346) #any_instance setting a message expectation message count the 'twice' constraint passes for two invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:875 139s 139s 347) #any_instance setting a message expectation message count the 'twice' constraint fails for more than two invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:881 139s 139s 348) #any_instance setting a message expectation message count the 'once' constraint fails when an instance is declared but there are no invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:856 139s 139s 349) #any_instance setting a message expectation message count the 'once' constraint passes for one invocation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:844 139s 139s 350) #any_instance setting a message expectation message count the 'once' constraint fails when no instances are declared 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:849 139s 139s 351) #any_instance setting a message expectation message count the 'once' constraint fails for more than one invocation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:864 139s 139s 352) #any_instance setting a message expectation message count the 'never' constraint fails on the first invocation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1008 139s 139s 353) #any_instance setting a message expectation message count the 'never' constraint passes for 0 invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1003 139s 139s 354) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations fails when the other expectations are not met 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1022 139s 139s 355) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations passes when the other expectations are met 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1016 139s 139s 356) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n = 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:958 139s 139s 357) #any_instance setting a message expectation message count the 'at_least(n)' constraint fails for n invocations where n < 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:964 139s 139s 358) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n > 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:973 139s 139s 359) #any_instance setting a message expectation message count the 'thrice' constraint fails for more than three invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:898 139s 139s 360) #any_instance setting a message expectation message count the 'thrice' constraint passes for three invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:892 139s 139s 361) #any_instance setting a message expectation message count the 'thrice' constraint fails for less than three invocations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:906 139s 139s 362) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n = 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:981 139s 139s 363) #any_instance setting a message expectation message count the 'at_most(n)' constraint fails for n invocations where n > 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:993 139s 139s 364) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n < 3 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:987 139s 139s 365) #any_instance setting a message expectation when the class has an included module allows mocking a method that is defined on the module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:612 139s 139s 366) #any_instance when stubbing does not suppress an exception when a method that doesn't exist is invoked 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:91 139s 139s 367) #any_instance when stubbing with a block stubs a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:335 139s 139s 368) #any_instance when stubbing with a block returns the same computed value for calls on different instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:340 139s 139s 369) #any_instance when stubbing with argument matching returns the stubbed value when arguments match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:229 139s 139s 370) #any_instance when stubbing with argument matching fails the spec with an expectation error when the arguments do not match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:235 139s 139s 371) #any_instance when stubbing with #and_yield yields the value specified 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:291 139s 139s 372) #any_instance when stubbing when the class has a prepended module prevents stubbing a method that is defined on the prepended module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:188 139s 139s 373) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:203 139s 139s 374) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:196 139s 139s 375) #any_instance when stubbing when the class has a prepended module allows stubbing a method that is not defined on the prepended module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:181 139s 139s 376) #any_instance when stubbing with multiple stubs stubs a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:248 139s 139s 377) #any_instance when stubbing with multiple stubs returns the same value for calls on different instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:254 139s 139s 378) #any_instance when stubbing multiple methods allows multiple methods to be stubbed in a single invocation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:97 139s 139s 379) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given symbols representing the methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:105 139s 139s 380) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:127 139s 139s 381) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:115 139s 139s 382) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:120 139s 139s 383) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:110 139s 139s 384) #any_instance when stubbing with #and_call_original and competing #with can combine and_call_original, with, and_return 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:301 139s 139s 385) #any_instance when stubbing aliased methods tracks aliased method calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:213 139s 139s 386) #any_instance when stubbing behaves as 'every instance' handles stubbing on super and subclasses 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:157 139s 139s 387) #any_instance when stubbing behaves as 'every instance' handles stubbing on a sub class when a super class is stubbed differently 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:163 139s 139s 388) #any_instance when stubbing behaves as 'every instance' handles method restoration on subclasses 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:172 139s 139s 389) #any_instance when stubbing behaves as 'every instance' handles freeze and duplication correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:150 139s 139s 390) #any_instance when stubbing behaves as 'every instance' stubs every instance in the spec 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:138 139s 139s 391) #any_instance when stubbing behaves as 'every instance' stubs instance created before any_instance was called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:144 139s 139s 392) #any_instance when stubbing core ruby objects works with the non-standard constructor '' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:385 139s 139s 393) #any_instance when stubbing core ruby objects works with the non-standard constructor class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:396 139s 139s 394) #any_instance when stubbing core ruby objects works with the non-standard constructor "" 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:380 139s 139s 395) #any_instance when stubbing core ruby objects works uniformly across *everything* 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:365 139s 139s 396) #any_instance when stubbing core ruby objects works with the non-standard constructor [] 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:370 139s 139s 397) #any_instance when stubbing core ruby objects works with the non-standard constructor {} 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:375 139s 139s 398) #any_instance when stubbing core ruby objects works with the non-standard constructor module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:390 139s 139s 399) #any_instance when stubbing with #and_raise can stub a method that exists 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:316 139s 139s 400) #any_instance when stubbing with #and_raise can stub a method that doesn't exist 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:311 139s 139s 401) #any_instance when stubbing with #and_return returns the same object for calls on different instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:271 139s 139s 402) #any_instance when stubbing with #and_return can change how instances responds in the middle of an example 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:278 139s 139s 403) #any_instance when stubbing with #and_return can stub a method that exists 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:266 139s 139s 404) #any_instance when stubbing with #and_return can stub a method that doesn't exist 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:261 139s 139s 405) #any_instance when stubbing when partially mocking objects resets partially mocked objects correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:349 139s 139s 406) #any_instance when stubbing with #and_throw can stub a method that exists 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:328 139s 139s 407) #any_instance when stubbing with #and_throw can stub a method that doesn't exist 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:323 139s 139s 408) #any_instance unstubbing using `and_call_original` removes all stubs with the supplied method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:411 139s 139s 409) #any_instance unstubbing using `and_call_original` does not remove any expectations with the same method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:444 139s 139s 410) #any_instance unstubbing using `and_call_original` replaces the stubbed method with the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:405 139s 139s 411) #any_instance unstubbing using `and_call_original` removes stubs even if they have already been invoked 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:418 139s 139s 412) #any_instance unstubbing using `and_call_original` removes stubs from sub class after Invocation when super class was originally stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:427 139s 139s 413) #any_instance unstubbing using `and_call_original` removes any stubs set directly on an instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:436 139s 139s 414) #any_instance unstubbing using `and_call_original` does not get confused about string vs symbol usage for the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:452 139s 139s 415) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1231 139s 139s 416) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1240 139s 139s 417) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1194 139s 139s 418) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1185 139s 139s 419) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance expectation doesn't effect with 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1207 139s 139s 420) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1213 139s 139s 421) #any_instance when used in conjunction with a `dup` doesn't bomb if the object doesn't support `dup` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1259 139s 139s 422) #any_instance when used in conjunction with a `dup` doesn't fail when dup accepts parameters 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1266 139s 139s 423) #any_instance when used in conjunction with a `dup` doesn't cause an infinite loop 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:1250 139s 139s 424) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:83 139s 139s 425) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:78 139s 139s 426) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_return' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:55 139s 139s 427) #any_instance invocation order when stubbing allows chaining 'and_yield' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:71 139s 139s 428) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_raise' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:59 139s 139s 429) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_yield' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:63 139s 139s 430) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_throw' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance_spec.rb:67 139s 139s 431) expect(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:81 139s 139s 432) expect(...).to receive_messages(:a => 1, :b => 2) fails with a sensible message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:87 139s 139s 433) expect(...).to receive_messages(:a => 1, :b => 2) fails with the correct location 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:93 139s 139s 434) expect(...).to receive_messages(:a => 1, :b => 2) provides a matcher description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:101 139s 139s 435) expect(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 139s 139s 436) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 139s 139s 437) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 139s 139s 438) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:112 139s 139s 439) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 139s 139s 440) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 139s 139s 441) Failure notification includes the line of future expectation in the notification for an unreceived message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:16 139s 139s 442) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:24 139s 139s 443) Failure notification uses the rspec-support notifier to support `aggregate_failures` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:8 139s 139s 444) Failure notification when using `aggregate_failures` failing negative expectations are only notified once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:58 139s 139s 445) Failure notification when using `aggregate_failures` spy failures for unreceived messages are reported correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:34 139s 139s 446) Failure notification when using `aggregate_failures` spy failures for messages received with unexpected args are reported correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/failure_notification_spec.rb:45 139s 139s 447) MockExpectationError is not caught by StandardError rescue blocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_expectation_error_spec.rb:12 139s 139s 448) Reraising eager raises during the verify step does not reraise when a double receives a message that hasn't been allowed/expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:4 139s 139s 449) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:42 139s 139s 450) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:27 139s 139s 451) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:20 139s 139s 452) Reraising eager raises during the verify step when a negative expectation receives a call reraises during verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:12 139s 139s 453) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:89 139s 139s 454) Reraising eager raises during the verify step when an expectation is called with the wrong arguments reraises during verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:81 139s 139s 455) Reraising eager raises during the verify step when an expectation with a count is exceeded reraises during verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:63 139s 139s 456) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:72 139s 139s 457) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:99 139s 139s 458) a message expectation with multiple return values specifying at_least less than the number of values uses the last return value for subsequent calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:74 139s 139s 459) a message expectation with multiple return values specifying at_least less than the number of values fails when called less than the specified number 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:81 139s 139s 460) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:96 139s 139s 461) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:89 139s 139s 462) A class double with the doubled class not loaded trying to raise a class_double raises a TypeError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:25 139s 139s 463) A class double with the doubled class not loaded allows any method to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:19 139s 139s 464) A class double with the doubled class not loaded includes the double name in errors for unexpected messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:12 139s 139s 465) A class double with the doubled class not loaded when stubbing a private module method can mock private module methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:46 139s 139s 466) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:60 139s 139s 467) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:65 139s 139s 468) Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:94 139s 139s 469) Test doubles format well in failure messages `double` avoids sending `instance_variable_get` to the double as it may be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:39 139s 139s 470) Test doubles format well in failure messages `double` without a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:34 139s 139s 471) Test doubles format well in failure messages `double` with a name formats the name as a symbol if that was how it was provided 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:28 139s 139s 472) Test doubles format well in failure messages `double` with a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:24 139s 139s 473) Test doubles format well in failure messages `class_double(SomeClass)` with a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:68 139s 139s 474) Test doubles format well in failure messages `class_double(SomeClass)` without a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:74 139s 139s 475) Test doubles format well in failure messages `object_double([])` with a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:82 139s 139s 476) Test doubles format well in failure messages `object_double([])` without a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:88 139s 139s 477) Test doubles format well in failure messages `instance_double(SomeClass)` avoids sending `instance_variable_get` to the double as it may be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:59 139s 139s 478) Test doubles format well in failure messages `instance_double(SomeClass)` with a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:48 139s 139s 479) Test doubles format well in failure messages `instance_double(SomeClass)` without a name # 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/formatting_spec.rb:54 139s 139s 480) Constant Mutating #stub_const requires a string argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:221 139s 139s 481) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 482) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 483) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 484) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 485) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:72 139s 139s 486) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:58 139s 139s 487) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:64 139s 139s 488) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:72 139s 139s 489) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:58 139s 139s 490) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:64 139s 139s 491) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 492) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 493) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 494) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 495) Constant Mutating #stub_const for an unloaded deeply nested constant removes the root constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:398 139s 139s 496) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 497) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 498) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 499) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 500) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:64 139s 139s 501) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:58 139s 139s 502) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:72 139s 139s 503) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 504) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 505) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 506) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 507) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:72 139s 139s 508) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:58 139s 139s 509) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:64 139s 139s 510) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be transferred to a stub module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:238 139s 139s 511) Constant Mutating #stub_const for a loaded unnested constant removes the transferred constants on reset 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:247 139s 139s 512) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:282 139s 139s 513) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer a nested constant that is not defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:313 139s 139s 514) Constant Mutating #stub_const for a loaded unnested constant does not transfer nested constants that are inherited from a superclass 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:256 139s 139s 515) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:298 139s 139s 516) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be selectively transferred to a stub module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:274 139s 139s 517) Constant Mutating #stub_const for a loaded unnested constant raises an error when asked to transfer a nested inherited constant 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:264 139s 139s 518) Constant Mutating #stub_const for a loaded unnested constant can be stubbed multiple times but still restores the original value properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:228 139s 139s 519) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:64 139s 139s 520) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:72 139s 139s 521) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:58 139s 139s 522) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:332 139s 139s 523) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:342 139s 139s 524) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:347 139s 139s 525) Constant Mutating #stub_const for an unloaded nested constant removes the root constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:387 139s 139s 526) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 527) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 528) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 529) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 530) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 531) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 532) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 533) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 534) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:409 139s 139s 535) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:418 139s 139s 536) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 537) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing allows it to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 538) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing returns the stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 539) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 540) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:427 139s 139s 541) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:110 139s 139s 542) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:120 139s 139s 543) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:116 139s 139s 544) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:105 139s 139s 545) Constant Mutating #hide_const can be hidden multiple times but still restores the original value properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:193 139s 139s 546) Constant Mutating #hide_const allows a constant to be hidden, then stubbed, restoring it to its original value properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:202 139s 139s 547) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:134 139s 139s 548) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:145 139s 139s 549) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:139 139s 139s 550) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding allows it to be hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:82 139s 139s 551) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:87 139s 139s 552) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:93 139s 139s 553) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:87 139s 139s 554) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:93 139s 139s 555) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding allows it to be hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:82 139s 139s 556) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant does not hide the top-level constant 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:166 139s 139s 557) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:145 139s 139s 558) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:139 139s 139s 559) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:134 139s 139s 560) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:145 139s 139s 561) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:139 139s 139s 562) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:134 139s 139s 563) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding resets the constant when rspec clear its mocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:87 139s 139s 564) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding allows it to be hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:82 139s 139s 565) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:93 139s 139s 566) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding returns nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:93 139s 139s 567) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:87 139s 139s 568) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:82 139s 139s 569) RSpec::Mocks::InstanceMethodStasher only stashes methods directly defined on the given class, not its ancestors 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:45 139s 139s 570) RSpec::Mocks::InstanceMethodStasher does not unnecessarily create obfuscated aliased methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:58 139s 139s 571) RSpec::Mocks::InstanceMethodStasher undefines the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:67 139s 139s 572) RSpec::Mocks::InstanceMethodStasher stashes the current implementation of an instance method so it can be temporarily replaced 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:18 139s 139s 573) RSpec::Mocks::InstanceMethodStasher stashes private instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:32 139s 139s 574) allow(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:35 139s 139s 575) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 139s 139s 576) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 139s 139s 577) allow(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 139s 139s 578) PartialDoubleUsingMocksDirectly fails when message is received with incorrect args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:35 139s 139s 579) PartialDoubleUsingMocksDirectly fails when expected message is not received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:28 139s 139s 580) PartialDoubleUsingMocksDirectly passes when expected message is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:43 139s 139s 581) PartialDoubleUsingMocksDirectly passes when message is received with correct args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:49 139s 139s 582) PartialDoubleUsingMocksDirectly restores the original method if it existed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:55 139s 139s 583) PartialDoubleUsingMocksDirectly with a class method handled by method_missing restores the original behavior 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:74 139s 139s 584) PartialDoubleUsingMocksDirectly with an instance method handled by method_missing restores the original behavior 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:64 139s 139s 585) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 139s 139s 586) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 139s 139s 587) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 139s 139s 588) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 139s 139s 589) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 139s 139s 590) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 139s 139s 591) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 139s 139s 592) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 139s 139s 593) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 139s 139s 594) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 139s 139s 595) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 139s 139s 596) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 139s 139s 597) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 139s 139s 598) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 139s 139s 599) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 139s 139s 600) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 139s 139s 601) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 139s 139s 602) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 139s 139s 603) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 139s 139s 604) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 139s 139s 605) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 139s 139s 606) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 139s 139s 607) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 139s 139s 608) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 139s 139s 609) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 139s 139s 610) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 139s 139s 611) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 139s 139s 612) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 139s 139s 613) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 139s 139s 614) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 139s 139s 615) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 139s 139s 616) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 139s 139s 617) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 139s 139s 618) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 139s 139s 619) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 139s 139s 620) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 139s 139s 621) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 139s 139s 622) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 139s 139s 623) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 139s 139s 624) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 139s 139s 625) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 139s 139s 626) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 139s 139s 627) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 139s 139s 628) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 139s 139s 629) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 139s 139s 630) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 139s 139s 631) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 139s 139s 632) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 139s 139s 633) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 139s 139s 634) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 139s 139s 635) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 139s 139s 636) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 139s 139s 637) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 139s 139s 638) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 139s 139s 639) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 139s 139s 640) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 139s 139s 641) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 139s 139s 642) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 139s 139s 643) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 644) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 645) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 139s 139s 646) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 139s 139s 647) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 139s 139s 648) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 649) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 650) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 651) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 652) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 139s 139s 653) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 139s 139s 654) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 139s 139s 655) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 656) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 657) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 658) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 659) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 660) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 661) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 662) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 139s 139s 663) RSpec::Mocks::Matchers::Receive has a description before being matched 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:636 139s 139s 664) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like resets partial mocks cleanly removes the method double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 139s 139s 665) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 139s 139s 666) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 139s 139s 667) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation provides a useful matcher description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 139s 139s 668) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 139s 139s 669) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:493 139s 139s 670) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 139s 139s 671) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 139s 139s 672) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 139s 139s 673) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 139s 139s 674) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 139s 139s 675) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 139s 139s 676) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 139s 139s 677) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 139s 139s 678) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 139s 139s 679) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 139s 139s 680) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 139s 139s 681) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 139s 139s 682) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 139s 139s 683) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 139s 139s 684) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 139s 139s 685) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 139s 139s 686) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 139s 139s 687) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 139s 139s 688) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:502 139s 139s 689) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 139s 139s 690) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 139s 139s 691) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 139s 139s 692) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 139s 139s 693) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at most when the ordering is correct 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:568 139s 139s 694) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with exact receive counts when the ordering is correct 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:524 139s 139s 695) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts does not result in infinite recursion when `respond_to?` is stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:590 139s 139s 696) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at least when the ordering is correct 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:546 139s 139s 697) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts fails with exact receive counts when the ordering is incorrect 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:533 139s 139s 698) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance does not expect the message to be received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 139s 139s 699) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 139s 139s 700) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 139s 139s 701) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 139s 139s 702) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 139s 139s 703) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 139s 139s 704) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 139s 139s 705) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 139s 139s 706) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 139s 139s 707) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 139s 139s 708) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 139s 139s 709) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 139s 139s 710) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 139s 139s 711) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 139s 139s 712) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 139s 139s 713) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 139s 139s 714) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 139s 139s 715) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 139s 139s 716) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 139s 139s 717) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 139s 139s 718) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 139s 139s 719) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 139s 139s 720) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations cannot use `expect` with another matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:696 139s 139s 721) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations can toggle the available syntax 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:704 139s 139s 722) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 139s 139s 723) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 139s 139s 724) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 139s 139s 725) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 139s 139s 726) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 139s 139s 727) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 139s 139s 728) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:611 139s 139s 729) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation provides a useful matcher description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 139s 139s 730) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 139s 139s 731) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 139s 139s 732) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 139s 139s 733) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 139s 139s 734) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 139s 139s 735) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 139s 139s 736) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 139s 139s 737) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 139s 139s 738) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 139s 139s 739) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 139s 139s 740) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 139s 139s 741) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 139s 139s 742) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 139s 139s 743) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 139s 139s 744) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 139s 139s 745) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 139s 139s 746) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 139s 139s 747) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 139s 139s 748) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 139s 139s 749) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 139s 139s 750) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 139s 139s 751) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 139s 139s 752) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first can use `expect` with any matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:730 139s 139s 753) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:736 139s 139s 754) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 139s 139s 755) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 139s 139s 756) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 139s 139s 757) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 139s 139s 758) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 139s 139s 759) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last can use `expect` with any matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:758 139s 139s 760) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 139s 139s 761) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 139s 139s 762) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 139s 139s 763) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 139s 139s 764) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 139s 139s 765) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 139s 139s 766) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 139s 139s 767) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 139s 139s 768) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 139s 139s 769) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation allows the caller to constrain the received arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 139s 139s 770) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 139s 139s 771) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation supports `to_not` as an alias for `not_to` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 139s 139s 772) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation prevents confusing double-negative expressions involving `never` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 139s 139s 773) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 139s 139s 774) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about allow(Klass.any_instance).to receive... 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:9 139s 139s 775) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the allow warning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:14 139s 139s 776) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about expect(Klass.any_instance).to receive... 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:19 139s 139s 777) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the expect warning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:26 139s 139s 778) RSpec::Mocks::Matchers::Receive allow(...).not_to receive behaves like an expect syntax negative allowance is disabled since this expression is confusing 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 139s 139s 779) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like resets partial mocks cleanly removes the method double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 139s 139s 780) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 139s 139s 781) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 139s 139s 782) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 139s 139s 783) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 139s 139s 784) RSpec::Mocks::Matchers::Receive allow(...).to receive ordered with receive counts is not supported 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:417 139s 139s 785) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance does not expect the message to be received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 139s 139s 786) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 139s 139s 787) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 139s 139s 788) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 139s 139s 789) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 139s 139s 790) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 139s 139s 791) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 139s 139s 792) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 139s 139s 793) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does support inherited matchers 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 139s 139s 794) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 139s 139s 795) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not support other matchers 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 139s 139s 796) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 139s 139s 797) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 139s 139s 798) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 139s 139s 799) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 139s 139s 800) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 139s 139s 801) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 139s 139s 802) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 139s 139s 803) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 139s 139s 804) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 139s 139s 805) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 139s 139s 806) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:451 139s 139s 807) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:446 139s 139s 808) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:439 139s 139s 809) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_spec.rb:431 139s 139s 810) a message expectation with multiple return values with a specified count equal to the number of values returns values in order to consecutive calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:60 139s 139s 811) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:49 139s 139s 812) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) updates stubs on instances with existing stubs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:55 139s 139s 813) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 139s 139s 814) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 139s 139s 815) A class double with the doubled class loaded verifies arguments for null objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:115 139s 139s 816) A class double with the doubled class loaded can replace existing constants for the duration of the test 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:81 139s 139s 817) A class double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:50 139s 139s 818) A class double with the doubled class loaded correctly verifies expectations when constant is removed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:99 139s 139s 819) A class double with the doubled class loaded only allows class methods that exist to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:12 139s 139s 820) A class double with the doubled class loaded allows dynamically defined class method mocks with arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:64 139s 139s 821) A class double with the doubled class loaded only allows defined methods for null objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:108 139s 139s 822) A class double with the doubled class loaded only allows class methods that exist to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:20 139s 139s 823) A class double with the doubled class loaded gives a descriptive error message for NoMethodError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:43 139s 139s 824) A class double with the doubled class loaded doesn't suggest `instance_double` when a non-instance method is stubbed' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:38 139s 139s 825) A class double with the doubled class loaded allows dynamically defined class method stubs with arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:57 139s 139s 826) A class double with the doubled class loaded can transfer nested constants to the double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:92 139s 139s 827) A class double with the doubled class loaded allows dynamically defined class methods to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:71 139s 139s 828) A class double with the doubled class loaded validates `with` args against the method signature when stubbing a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:123 139s 139s 829) A class double with the doubled class loaded suggests using `instance_double` when an instance method is stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:33 139s 139s 830) A class double with the doubled class loaded allows class to be specified by constant 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:76 139s 139s 831) A class double with the doubled class loaded when given an anonymous class properly verifies 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:184 139s 139s 832) A class double with the doubled class loaded when given a class that has an overridden `#name` method can still stub the const 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:197 139s 139s 833) A class double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:193 139s 139s 834) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:217 139s 139s 835) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:211 139s 139s 836) A class double with the doubled class loaded when `.new` is stubbed uses the method signature from `#initialize` for arg verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:135 139s 139s 837) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:142 139s 139s 838) A class double with the doubled class loaded when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:154 139s 139s 839) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:167 139s 139s 840) #allow_message_expectations_on_nil doesnt error when marshalled 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:85 139s 139s 841) #allow_message_expectations_on_nil does not affect subsequent examples 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:70 139s 139s 842) RSpec::Mocks::Space raises ArgumentError with message if object is symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:241 139s 139s 843) RSpec::Mocks::Space only adds an instance once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:120 139s 139s 844) RSpec::Mocks::Space can be diffed in a failure when it has references to an error generator via a proxy 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:229 139s 139s 845) RSpec::Mocks::Space tracks proxies in parent and child space separately 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:108 139s 139s 846) RSpec::Mocks::Space#constant_mutator_for returns the mutator for the given const name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:182 139s 139s 847) RSpec::Mocks::Space#constant_mutator_for can still return a mutator from a parent context 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:192 139s 139s 848) RSpec::Mocks::Space#ensure_registered can still return a proxy from a parent context 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:147 139s 139s 849) RSpec::Mocks::Space#ensure_registered does not store a parent's proxy in the child space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:154 139s 139s 850) RSpec::Mocks::Space#ensure_registered returns the proxy for the given object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:138 139s 139s 851) RSpec::Mocks::Space#reset_all allows Array#reverse to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:61 139s 139s 852) RSpec::Mocks::Space#reset_all resets all mocks within 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:50 139s 139s 853) RSpec::Mocks::Space#proxies_of(klass) returns proxies 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:69 139s 139s 854) RSpec::Mocks::Space#proxies_of(klass) looks in the parent space for matching proxies 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:97 139s 139s 855) RSpec::Mocks::Space#proxies_of(klass) returns only the proxies whose object is an instance of the given class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:86 139s 139s 856) RSpec::Mocks::Space#registered? returns false if not registered in this or a parent space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:176 139s 139s 857) RSpec::Mocks::Space#registered? returns true if registered in a parent space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:171 139s 139s 858) RSpec::Mocks::Space#registered? returns true if registered in this space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:166 139s 139s 859) RSpec::Mocks::Space#any_instance_recorder_for can still return a recorder from a parent context 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:212 139s 139s 860) RSpec::Mocks::Space#any_instance_recorder_for returns the recorder for the given class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:206 139s 139s 861) RSpec::Mocks::Space#any_instance_recorder_for does not store a parent's proxy in the child space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:219 139s 139s 862) RSpec::Mocks::Space#proxy_for does not store a parent's proxy in the child space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:154 139s 139s 863) RSpec::Mocks::Space#proxy_for returns the proxy for the given object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:138 139s 139s 864) RSpec::Mocks::Space#proxy_for can still return a proxy from a parent context 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:147 139s 139s 865) RSpec::Mocks::Space#verify_all does not reset the proxies (as that should be delayed until reset_all) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:39 139s 139s 866) RSpec::Mocks::Space#verify_all verifies all any_instance recorders within 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:25 139s 139s 867) RSpec::Mocks::Space#verify_all verifies all mocks within 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/space_spec.rb:9 139s 139s 868) Verified double naming object_spy behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 869) Verified double naming object_spy behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 870) Verified double naming object_spy behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 871) Verified double naming class_double behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 872) Verified double naming class_double behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 873) Verified double naming class_double behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 874) Verified double naming instance_double behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 875) Verified double naming instance_double behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 876) Verified double naming instance_double behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 877) Verified double naming class_spy behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 878) Verified double naming class_spy behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 879) Verified double naming class_spy behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 880) Verified double naming object_double behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 881) Verified double naming object_double behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 882) Verified double naming object_double behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 883) Verified double naming instance_spy behaves like a named verifying double when no name is given 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 139s 139s 884) Verified double naming instance_spy behaves like a named verifying double when a name is given as a symbol 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 139s 139s 885) Verified double naming instance_spy behaves like a named verifying double when a name is given as a string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 139s 139s 886) argument matchers matching instance_of handles non matching instances nicely 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:87 139s 139s 887) argument matchers matching instance_of accepts float as instance_of(Float) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:62 139s 139s 888) argument matchers matching instance_of does NOT accept float as instance_of(Numeric) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:67 139s 139s 889) argument matchers matching instance_of does NOT accept integer as instance_of(Numeric) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:72 139s 139s 890) argument matchers matching instance_of rejects non string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:82 139s 139s 891) argument matchers matching instance_of rejects non numeric 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:77 139s 139s 892) argument matchers matching anything accepts string as anything 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:96 139s 139s 893) argument matchers matching anything doesn't accept no arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:101 139s 139s 894) argument matchers matching anything handles non matching instances nicely 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:106 139s 139s 895) argument matchers matching array_including fails array_including when arg doesn't contain all elements 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:295 139s 139s 896) argument matchers matching array_including fails array_including when args aren't array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:288 139s 139s 897) argument matchers matching array_including matches array with array_including same array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:278 139s 139s 898) argument matchers matching array_including matches array with array_including using fuzzymatcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:283 139s 139s 899) argument matchers matching duck_type rejects goose when expecting a duck 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:123 139s 139s 900) argument matchers matching duck_type matches duck type with one method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:113 139s 139s 901) argument matchers matching duck_type matches duck type with two methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:118 139s 139s 902) argument matchers matching array_excluding matches array_excluding when using the fuzzy matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:323 139s 139s 903) argument matchers matching array_excluding fails array_excluding when is the same array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:309 139s 139s 904) argument matchers matching array_excluding fails array_excluding when arg contains some elements 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:316 139s 139s 905) argument matchers matching array_excluding fails array_excluding when using the fuzzy matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:328 139s 139s 906) argument matchers matching array_excluding matches array with array_excluding different array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:304 139s 139s 907) argument matchers matching boolean rejects non boolean 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:21 139s 139s 908) argument matchers matching boolean accepts false as boolean 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:16 139s 139s 909) argument matchers matching boolean accepts true as boolean 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:11 139s 139s 910) argument matchers matching handling non-matcher arguments matches a class against an instance of itself 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:468 139s 139s 911) argument matchers matching handling non-matcher arguments matches a class against itself 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:458 139s 139s 912) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:422 139s 139s 913) argument matchers matching handling non-matcher arguments fails a class against an object of a different type 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:473 139s 139s 914) argument matchers matching handling non-matcher arguments matches string against regexp 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:397 139s 139s 915) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted regexp 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:412 139s 139s 916) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted string 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:407 139s 139s 917) argument matchers matching handling non-matcher arguments fails with sensible message when args respond to #description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:484 139s 139s 918) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is blank 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:498 139s 139s 919) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is nil 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:491 139s 139s 920) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:429 139s 139s 921) argument matchers matching handling non-matcher arguments matches regexp against regexp 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:402 139s 139s 922) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:444 139s 139s 923) argument matchers matching handling non-matcher arguments fails a class against an unrelated class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:463 139s 139s 924) argument matchers matching handling non-matcher arguments fails with zero arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:478 139s 139s 925) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong keys 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:451 139s 139s 926) argument matchers matching handling non-matcher arguments matches against a hash submitted and received by value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:417 139s 139s 927) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:373 139s 139s 928) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:378 139s 139s 929) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:383 139s 139s 930) argument matchers matching kind_of handles non matching kinds nicely 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:40 139s 139s 931) argument matchers matching kind_of accepts fixnum as kind_of(Numeric) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:30 139s 139s 932) argument matchers matching kind_of matches arguments that have defined `kind_of?` to return true 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:47 139s 139s 933) argument matchers matching kind_of accepts float as kind_of(Numeric) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:35 139s 139s 934) argument matchers matching kind_of handles a class thats overridden === 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:53 139s 139s 935) argument matchers matching hash_excluding handles non matching instances nicely 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:269 139s 139s 936) argument matchers matching hash_excluding matches hash with hash_excluding same hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:264 139s 139s 937) argument matchers matching no_args matches no args against no_args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:230 139s 139s 938) argument matchers matching no_args fails no_args with one arg 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:235 139s 139s 939) argument matchers matching no_args when passed with other arguments immediately signals that this is invalid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:241 139s 139s 940) argument matchers matching handling arbitrary matchers matches any arbitrary object using #=== 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:337 139s 139s 941) argument matchers matching handling arbitrary matchers fails when given an arbitrary object that returns false from #=== 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:352 139s 139s 942) argument matchers matching handling arbitrary matchers matches against a Matcher 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:345 139s 139s 943) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:151 139s 139s 944) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:155 139s 139s 945) argument matchers matching any_args as the last of three args does not match a call of no args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:167 139s 139s 946) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:159 139s 139s 947) argument matchers matching any_args as the last of three args does not match a call where the first two args do not match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:163 139s 139s 948) argument matchers matching any_args as the only arg passed to `with` matches many args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:143 139s 139s 949) argument matchers matching any_args as the only arg passed to `with` matches no args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:135 139s 139s 950) argument matchers matching any_args as the only arg passed to `with` matches one arg 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:139 139s 139s 951) argument matchers matching any_args as the middle of three args does not match a call of no args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:215 139s 139s 952) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:203 139s 139s 953) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:211 139s 139s 954) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:207 139s 139s 955) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:199 139s 139s 956) argument matchers matching any_args when passed twice immediately signals that this is invalid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:221 139s 139s 957) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:179 139s 139s 958) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:175 139s 139s 959) argument matchers matching any_args as the first of three args does not match a call of no args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:191 139s 139s 960) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:183 139s 139s 961) argument matchers matching any_args as the first of three args does not match a call where the last two args do not match 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:187 139s 139s 962) argument matchers matching hash_including matches hash with hash_including same hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:250 139s 139s 963) argument matchers matching hash_including fails hash_including with missing key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/argument_matchers_spec.rb:255 139s 139s 964) RSpec::Mocks::AnyInstance::MessageChains knows if a method has an expectation set on it 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:12 139s 139s 965) RSpec::Mocks::AnyInstance::MessageChains knows if a method does not have an expectation set on it 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:7 139s 139s 966) RSpec::Mocks::AnyInstance::MessageChains can remove all stub chains 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:18 139s 139s 967) RSpec::Mocks::AnyInstance::MessageChains creating stub chains understands how to add a stub chain for a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:28 139s 139s 968) RSpec::Mocks::AnyInstance::MessageChains creating stub chains allows multiple stub chains for a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:33 139s 139s 969) #as_null_object sets the object to null_object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:113 139s 139s 970) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a test double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:6 139s 139s 971) RSpec::Mocks::MessageExpectation has a nice string representation for a message expectation constrained by `with` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:18 139s 139s 972) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a partial double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:12 139s 139s 973) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes itself properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:5 139s 139s 974) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes passed matchers 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:9 139s 139s 975) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:32 139s 139s 976) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:24 139s 139s 977) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:16 139s 139s 978) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in actual 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:36 139s 139s 979) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable when nested 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:48 139s 139s 980) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable with other matchers 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:40 139s 139s 981) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, which includes nested arrays 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:28 139s 139s 982) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:20 139s 139s 983) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when passed a composed matcher is passed and not satisfied 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:60 139s 139s 984) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when not all the entries in the expected are present 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/array_including_matcher_spec.rb:56 139s 139s 985) stub implementation with no args execs the block when called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:5 139s 139s 986) stub implementation with one arg execs the block with that arg when called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:13 139s 139s 987) stub implementation with variable args execs the block when called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_implementation_spec.rb:21 139s 139s 988) Diffs printed when arguments don't match with a non matcher object prints a diff with hash args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:81 139s 139s 989) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:46 139s 139s 990) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:90 139s 139s 991) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:21 139s 139s 992) Diffs printed when arguments don't match with a non matcher object does not print a diff when single line arguments are mismatched 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:12 139s 139s 993) Diffs printed when arguments don't match with a non matcher object prints a diff with array args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:241 139s 139s 994) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:33 139s 139s 995) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:68 139s 139s 996) Diffs printed when arguments don't match with a non matcher object prints a diff of the args lists for multiple mismatched string arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:57 139s 139s 997) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:251 139s 139s 998) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:133 139s 139s 999) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:117 139s 139s 1000) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:102 139s 139s 1001) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:201 139s 139s 1002) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:174 139s 139s 1003) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:187 139s 139s 1004) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:287 139s 139s 1005) Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/diffing_spec.rb:270 139s 139s 1006) the spy family of methods object_spy takes an instance and a hash of method names and return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:105 139s 139s 1007) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:39 139s 139s 1008) the spy family of methods object_spy behaves like a verifying spy with a foo method responds to methods on the verified object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:27 139s 139s 1009) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:45 139s 139s 1010) the spy family of methods object_spy behaves like a verifying spy with a foo method records called methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:35 139s 139s 1011) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:31 139s 139s 1012) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:84 139s 139s 1013) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:27 139s 139s 1014) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:45 139s 139s 1015) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:39 139s 139s 1016) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:31 139s 139s 1017) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:35 139s 139s 1018) the spy family of methods instance_spy when passing a class object takes a class and a hash of method names and return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:66 139s 139s 1019) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:39 139s 139s 1020) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method records called methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:35 139s 139s 1021) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:45 139s 139s 1022) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:31 139s 139s 1023) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:27 139s 139s 1024) the spy family of methods spy responds to arbitrary methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:5 139s 139s 1025) the spy family of methods spy takes a name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:9 139s 139s 1026) the spy family of methods spy takes a hash of method names and return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:17 139s 139s 1027) the spy family of methods spy records called methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:13 139s 139s 1028) the spy family of methods spy takes a name and a hash of method names and return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:21 139s 139s 1029) the spy family of methods class_spy takes a class and a hash of method names and return values 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:123 139s 139s 1030) the spy family of methods class_spy behaves like a verifying spy with a foo method responds to methods on the verified object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:27 139s 139s 1031) the spy family of methods class_spy behaves like a verifying spy with a foo method records called methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:35 139s 139s 1032) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:45 139s 139s 1033) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:31 139s 139s 1034) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/spy_spec.rb:39 139s 139s 1035) After a test double has been torn down for an object_double disallows being turned into a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:47 139s 139s 1036) After a test double has been torn down for an object_double disallows stubbing new message chains 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:35 139s 139s 1037) After a test double has been torn down for an object_double disallows previously stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:19 139s 139s 1038) After a test double has been torn down for an object_double disallows stubbing new methods (with receive) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:23 139s 139s 1039) After a test double has been torn down for an object_double disallows being checked for nullness 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:51 139s 139s 1040) After a test double has been torn down for an object_double disallows stubbing new methods (with receive_messages) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:29 139s 139s 1041) After a test double has been torn down for an object_double disallows previously mocked methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:15 139s 139s 1042) After a test double has been torn down for an object_double disallows mocking new methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:41 139s 139s 1043) After a test double has been torn down for a class_double disallows previously stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:19 139s 139s 1044) After a test double has been torn down for a class_double disallows being turned into a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:47 139s 139s 1045) After a test double has been torn down for a class_double disallows stubbing new message chains 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:35 139s 139s 1046) After a test double has been torn down for a class_double disallows mocking new methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:41 139s 139s 1047) After a test double has been torn down for a class_double disallows being checked for nullness 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:51 139s 139s 1048) After a test double has been torn down for a class_double disallows previously mocked methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:15 139s 139s 1049) After a test double has been torn down for a class_double disallows stubbing new methods (with receive) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:23 139s 139s 1050) After a test double has been torn down for a class_double disallows stubbing new methods (with receive_messages) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:29 139s 139s 1051) After a test double has been torn down for a plain double disallows stubbing new message chains 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:35 139s 139s 1052) After a test double has been torn down for a plain double disallows previously stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:19 139s 139s 1053) After a test double has been torn down for a plain double disallows being turned into a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:47 139s 139s 1054) After a test double has been torn down for a plain double disallows mocking new methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:41 139s 139s 1055) After a test double has been torn down for a plain double disallows being checked for nullness 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:51 139s 139s 1056) After a test double has been torn down for a plain double disallows stubbing new methods (with receive) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:23 139s 139s 1057) After a test double has been torn down for a plain double disallows stubbing new methods (with receive_messages) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:29 139s 139s 1058) After a test double has been torn down for a plain double disallows previously mocked methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:15 139s 139s 1059) After a test double has been torn down for an instance_double disallows stubbing new message chains 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:35 139s 139s 1060) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:23 139s 139s 1061) After a test double has been torn down for an instance_double disallows mocking new methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:41 139s 139s 1062) After a test double has been torn down for an instance_double disallows being turned into a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:47 139s 139s 1063) After a test double has been torn down for an instance_double disallows previously mocked methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:15 139s 139s 1064) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive_messages) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:29 139s 139s 1065) After a test double has been torn down for an instance_double disallows being checked for nullness 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:51 139s 139s 1066) After a test double has been torn down for an instance_double disallows previously stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/expiration_spec.rb:19 139s 139s 1067) #once passes when called once with specified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:14 139s 139s 1068) #once fails when not called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:42 139s 139s 1069) #once passes when called once with unspecified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:20 139s 139s 1070) #once fails fast when called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:34 139s 139s 1071) #once passes when called once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:8 139s 139s 1072) #once fails when called with wrong args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:26 139s 139s 1073) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:50 139s 139s 1074) #once when called with negative expectation raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/once_counts_spec.rb:73 139s 139s 1075) Loading rspec/mocks/standalone exposes the RSpec::Mocks API on `main` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/standalone_spec.rb:7 139s 139s 1076) Loading rspec/mocks/standalone does not infect other objects with the RSpec::Mocks API 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/standalone_spec.rb:20 139s 139s 1077) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate other objects before serialization 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/marshal_extension_spec.rb:24 139s 139s 1078) Marshal extensions #dump when rspec-mocks has been fully initialized applying and unapplying patch is idempotent 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/marshal_extension_spec.rb:36 139s 139s 1079) Marshal extensions #dump when rspec-mocks has been fully initialized duplicates objects with stubbed or mocked implementations before serialization 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/marshal_extension_spec.rb:17 139s 139s 1080) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate nil before serialization 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/marshal_extension_spec.rb:31 139s 139s 1081) Marshal extensions #dump outside the per-test lifecycle does not duplicate the object before serialization 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/marshal_extension_spec.rb:58 139s 139s 1082) a double acting as a null object can be interpolated in a string as an integer 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:96 139s 139s 1083) a double acting as a null object allows expected message with different args first 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:84 139s 139s 1084) a double acting as a null object allows explicit expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:42 139s 139s 1085) a double acting as a null object allows explicit stubs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:37 139s 139s 1086) a double acting as a null object does not allow null objects to be used outside of examples 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:104 139s 139s 1087) a double acting as a null object says it responds to everything 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:33 139s 139s 1088) a double acting as a null object fails verification when explicit exception not met 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:62 139s 139s 1089) a double acting as a null object returns an explicitly stubbed value from an expectation with no implementation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:56 139s 139s 1090) a double acting as a null object allows expected message with different args second 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:90 139s 139s 1091) a double acting as a null object allows unexpected message sends using `__send__` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:79 139s 139s 1092) a double acting as a null object returns a string from `to_str` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:47 139s 139s 1093) a double acting as a null object continues to return self from an explicit expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:51 139s 139s 1094) a double acting as a null object allows unexpected message sends using `send` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:74 139s 139s 1095) a double acting as a null object ignores unexpected methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:69 139s 139s 1096) A chained method stub does not get confused by symbol vs string usage for the messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:6 139s 139s 1097) A chained method stub handles private instance methods (like Object#select) in the middle of a chain 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:160 139s 139s 1098) A chained method stub returns expected value from two chains with shared messages at the beginning 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:152 139s 139s 1099) A chained method stub returns expected value when chain is a dot separated string, like stub_chain('msg1.msg2.msg3') 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:147 139s 139s 1100) A chained method stub returns expected value from chaining four method calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:96 139s 139s 1101) A chained method stub with four methods in chain using a block returns the correct value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:75 139s 139s 1102) A chained method stub with four methods in chain using a hash returns the value of the key/value pair 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:82 139s 139s 1103) A chained method stub with four methods in chain using and_return returns expected value from chaining two method calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:68 139s 139s 1104) A chained method stub with four methods in chain using a hash with a string key returns the value of the key/value pair 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:89 139s 139s 1105) A chained method stub with one method in chain using a hash returns the value of the key/value pair 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:30 139s 139s 1106) A chained method stub with one method in chain using and_return returns expected value from chaining only one method call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:16 139s 139s 1107) A chained method stub with one method in chain using a block returns the correct value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:23 139s 139s 1108) A chained method stub with two methods in chain accepts any number of arguments to the stubbed messages in the chain 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:38 139s 139s 1109) A chained method stub with two methods in chain using a hash returns the value of the key/value pair 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:59 139s 139s 1110) A chained method stub with two methods in chain using and_return returns expected value from chaining two method calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:45 139s 139s 1111) A chained method stub with two methods in chain using a block returns the correct value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:52 139s 139s 1112) A chained method stub with messages shared across multiple chains using => value starting with the same message returns expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:126 139s 139s 1113) A chained method stub with messages shared across multiple chains using => value starting with different messages returns expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:136 139s 139s 1114) A chained method stub with messages shared across multiple chains using and_return starting with the different messages returns expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:114 139s 139s 1115) A chained method stub with messages shared across multiple chains using and_return starting with the same message returns expected value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_chain_spec.rb:104 139s 139s 1116) Method visibility for verified doubles for a class double (when the class is loaded) can allow a private instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 139s 139s 1117) Method visibility for verified doubles for a class double (when the class is loaded) can expect a private instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 139s 139s 1118) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when allowing a protected method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 139s 139s 1119) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility on a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 139s 139s 1120) Method visibility for verified doubles for a class double (when the class is loaded) can expect a protected instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 139s 139s 1121) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when expecting a protected method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 139s 139s 1122) Method visibility for verified doubles for a class double (when the class is loaded) can allow a protected instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 139s 139s 1123) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility on a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 139s 139s 1124) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when expecting a private method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 139s 139s 1125) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when allowing a private method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 139s 139s 1126) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when allowing a protected method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 139s 139s 1127) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when expecting a private method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 139s 139s 1128) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when allowing a private method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 139s 139s 1129) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a private instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 139s 139s 1130) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a private instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 139s 139s 1131) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when expecting a protected method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 139s 139s 1132) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility on a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 139s 139s 1133) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a protected instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 139s 139s 1134) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility on a null object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 139s 139s 1135) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a protected instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 139s 139s 1136) RSpec::Mocks::Configuration adds stub and should_receive to the given modules 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:12 139s 139s 1137) RSpec::Mocks::Configuration#when_declaring_verifying_double captures the supplied blocks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:177 139s 139s 1138) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:36 139s 139s 1139) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:92 139s 139s 1140) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:80 139s 139s 1141) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:88 139s 139s 1142) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:84 139s 139s 1143) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:76 139s 139s 1144) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:97 139s 139s 1145) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:123 139s 139s 1146) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:115 139s 139s 1147) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:107 139s 139s 1148) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:111 139s 139s 1149) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:119 139s 139s 1150) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:66 139s 139s 1151) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:54 139s 139s 1152) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:62 139s 139s 1153) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:58 139s 139s 1154) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:50 139s 139s 1155) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:36 139s 139s 1156) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:115 139s 139s 1157) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:119 139s 139s 1158) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds `any_instance` to every class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:111 139s 139s 1159) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] does not warn about the should syntax 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:123 139s 139s 1160) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds the should methods to every object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:107 139s 139s 1161) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes `any_instance` from every class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:54 139s 139s 1162) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:66 139s 139s 1163) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes the should methods from every object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:50 139s 139s 1164) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:58 139s 139s 1165) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect reports that the syntax is :expect 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:62 139s 139s 1166) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should does not warn about the should syntax 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:92 139s 139s 1167) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds `any_instance` to every class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:80 139s 139s 1168) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should reports that the syntax is :should 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:88 139s 139s 1169) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:97 139s 139s 1170) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds the should methods to every object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:76 139s 139s 1171) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/configuration_spec.rb:84 139s 139s 1172) An object double does not allow transferring constants to an object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:45 139s 139s 1173) An object double can replace a constant by name and verify instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:17 139s 139s 1174) An object double is not a module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:58 139s 139s 1175) An object double validates `with` args against the method signature when stubbing a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:62 139s 139s 1176) An object double can replace an unloaded constant 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:8 139s 139s 1177) An object double does not allow as_stubbed_constant for real objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:52 139s 139s 1178) An object double can create a double that matches the interface of any arbitrary object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:32 139s 139s 1179) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double(ConstName)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:129 139s 139s 1180) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double('ConstName')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:124 139s 139s 1181) An object double when an unloaded object constant has previously been stubbed with an object treats it as being unloaded for `object_double('ConstName')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:106 139s 139s 1182) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:111 139s 139s 1183) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:90 139s 139s 1184) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:96 139s 139s 1185) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:78 139s 139s 1186) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:72 139s 139s 1187) Using a partial mock on a proxy object does not confuse the proxy and the proxied object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:241 139s 139s 1188) Using a partial mock on a proxy object works properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:236 139s 139s 1189) #twice passes when called twice with unspecified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:22 139s 139s 1190) #twice passes when called twice with specified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:15 139s 139s 1191) #twice fails fast when call count is higher than expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:29 139s 139s 1192) #twice fails when call count is lower than expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:38 139s 139s 1193) #twice passes when called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:8 139s 139s 1194) #twice fails when called with wrong args on the first call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:46 139s 139s 1195) #twice fails when called with wrong args on the second call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:54 139s 139s 1196) #twice when called with negative expectation raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:89 139s 139s 1197) #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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/twice_counts_spec.rb:64 139s 139s 1198) a message expectation with multiple invoke handlers with a specified count equal to the number of values returns values in order to consecutive calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:47 139s 139s 1199) a message expectation with multiple return values and no specified count fails when there are too many calls (if there is no stub) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:44 139s 139s 1200) a message expectation with multiple return values and no specified count falls back to a previously stubbed value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:30 139s 139s 1201) a message expectation with multiple return values and no specified count fails when there are too few calls (if there is no stub) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:38 139s 139s 1202) a message expectation with multiple return values and no specified count returns values in order 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:23 139s 139s 1203) Using the legacy should syntax #any_instance can mock a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:242 139s 139s 1204) Using the legacy should syntax #any_instance affects previously stubbed instances when stubbing a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:255 139s 139s 1205) Using the legacy should syntax #any_instance can get method objects for the fluent interface 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:248 139s 139s 1206) Using the legacy should syntax #any_instance raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1207) Using the legacy should syntax #any_instance affects previously stubbed instances when mocking a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:263 139s 139s 1208) Using the legacy should syntax #any_instance adds a class to the current space 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:231 139s 139s 1209) Using the legacy should syntax #any_instance can stub a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:237 139s 139s 1210) Using the legacy should syntax #any_instance invocation order #stub_chain raises an error if 'stub_chain' follows 'and_return' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:303 139s 139s 1211) Using the legacy should syntax #any_instance invocation order #stub_chain affects previously stubbed instances 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:324 139s 139s 1212) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:308 139s 139s 1213) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:313 139s 139s 1214) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:318 139s 139s 1215) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_raise' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:281 139s 139s 1216) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_return' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:277 139s 139s 1217) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'stub' follows 'with' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:273 139s 139s 1218) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_yield' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:285 139s 139s 1219) Using the legacy should syntax #any_instance invocation order #stub behaves as 'every instance' handles `unstub` on subclasses 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:293 139s 139s 1220) Using the legacy should syntax #any_instance invocation order #should_not_receive prevents confusing double-negative expressions involving `never` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:382 139s 139s 1221) Using the legacy should syntax #any_instance invocation order #should_not_receive fails if the method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:341 139s 139s 1222) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if only a different method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:353 139s 139s 1223) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if no method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:349 139s 139s 1224) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints fails if the method is called with the specified parameters 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:359 139s 139s 1225) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints passes if the method is called with different parameters 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:367 139s 139s 1226) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:374 139s 139s 1227) Using the legacy should syntax #any_instance invocation order #unstub removes stubs even if they have already been invoked 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:403 139s 139s 1228) Using the legacy should syntax #any_instance invocation order #unstub does not remove message expectations set directly on an instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:427 139s 139s 1229) Using the legacy should syntax #any_instance invocation order #unstub removes stubs from sub class after Invocation when super class was originally stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:411 139s 139s 1230) Using the legacy should syntax #any_instance invocation order #unstub removes stubs set directly on an instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:419 139s 139s 1231) Using the legacy should syntax #any_instance invocation order #unstub does not remove any expectations with the same method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:435 139s 139s 1232) Using the legacy should syntax #any_instance invocation order #unstub raises a MockExpectationError if the method has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:443 139s 139s 1233) Using the legacy should syntax #any_instance invocation order #unstub replaces the stubbed method with the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:390 139s 139s 1234) Using the legacy should syntax #any_instance invocation order #unstub does not get confused about string vs symbol usage for the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:449 139s 139s 1235) Using the legacy should syntax #any_instance invocation order #unstub removes all stubs with the supplied method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:396 139s 139s 1236) Using the legacy should syntax #any_instance invocation order #should_receive raises an error if 'should_receive' follows 'with' 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:335 139s 139s 1237) Using the legacy should syntax #stub_chain raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1238) Using the legacy should syntax #stub_chain can stub a sequence of messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:61 139s 139s 1239) Using the legacy should syntax #unstub raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1240) Using the legacy should syntax #unstub restores the correct implementations when stubbed and unstubbed on a parent and child class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:111 139s 139s 1241) Using the legacy should syntax #unstub removes all stubs with the supplied method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:92 139s 139s 1242) Using the legacy should syntax #unstub does not remove any expectations with the same method name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:101 139s 139s 1243) Using the legacy should syntax #unstub replaces the stubbed method with the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:84 139s 139s 1244) Using the legacy should syntax #unstub raises a MockExpectationError if the method has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:124 139s 139s 1245) Using the legacy should syntax #received_message? answers true for received_message? when message received with correct args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:18 139s 139s 1246) Using the legacy should syntax #received_message? answers false for received_message? when no messages received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:9 139s 139s 1247) Using the legacy should syntax #received_message? answers false for received_message? when message received with incorrect args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:23 139s 139s 1248) Using the legacy should syntax #received_message? answers true for received_message? when message received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:13 139s 139s 1249) Using the legacy should syntax #should_not_receive returns a negative message expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:190 139s 139s 1250) Using the legacy should syntax #should_not_receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1251) Using the legacy should syntax #should_not_receive fails when the message is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:194 139s 139s 1252) Using the legacy should syntax #should_not_receive does not fail on verification if the message is not received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:201 139s 139s 1253) Using the legacy should syntax #stub supports options 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:30 139s 139s 1254) Using the legacy should syntax #stub sets up a canned response 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:40 139s 139s 1255) Using the legacy should syntax #stub raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1256) Using the legacy should syntax #stub returns `nil` from all terminal actions to discourage further configuration 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:34 139s 139s 1257) Using the legacy should syntax #stub can stub multiple messages using a hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:46 139s 139s 1258) Using the legacy should syntax #should_receive does not fail on verification if the message is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:139 139s 139s 1259) Using the legacy should syntax #should_receive fails on verification if the message is not received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:133 139s 139s 1260) Using the legacy should syntax #should_receive can set a canned response 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:146 139s 139s 1261) Using the legacy should syntax #should_receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1262) Using the legacy should syntax #should_receive with an options hash reports the file and line submitted with :expected_from 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:159 139s 139s 1263) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message after a similar stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:178 139s 139s 1264) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/should_syntax_spec.rb:170 139s 139s 1265) and_invoke when calling passed callables passes the arguments into the callable 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_invoke_spec.rb:35 139s 139s 1266) and_invoke when no argument is passed raises ArgumentError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_invoke_spec.rb:15 139s 139s 1267) and_invoke when a non-callable are passed in any position raises ArgumentError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_invoke_spec.rb:24 139s 139s 1268) and_invoke when a block is passed raises ArgumentError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_invoke_spec.rb:7 139s 139s 1269) at_most passes when at_most(n) is called less than n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:21 139s 139s 1270) at_most fails fast when at_most(:twice) and is called three times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:108 139s 139s 1271) at_most passes when at_most(:twice) is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:56 139s 139s 1272) at_most fails fast when at_most(n) times method is called n plus 1 times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:81 139s 139s 1273) at_most passes when at_most(n) is called exactly n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:14 139s 139s 1274) at_most passes when at_most(:twice) is called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:49 139s 139s 1275) at_most fails fast when at_most(n) times method is called n plus 1 time 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:91 139s 139s 1276) at_most passes when at_most(:once) is called once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:32 139s 139s 1277) at_most passes when at_most(n) is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:27 139s 139s 1278) at_most fails fast when at_most(:thrice) and is called four times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:117 139s 139s 1279) at_most passes when at_most(:thrice) is called thrice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:67 139s 139s 1280) at_most passes when at_most(:once) is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:38 139s 139s 1281) at_most passes when at_most(n) is called exactly 1 time 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:8 139s 139s 1282) at_most fails fast when at_most(:once) and is called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:100 139s 139s 1283) at_most passes when at_most(:twice) is called once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:43 139s 139s 1284) at_most returns the value given by a block when at_most(:once) method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:75 139s 139s 1285) at_most passes when at_most(:thrice) is called less than three times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:61 139s 139s 1286) at_most when called with negative expectation raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_most_spec.rb:128 139s 139s 1287) a double _not_ acting as a null object says it does not respond to messages it doesn't understand 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:8 139s 139s 1288) a double _not_ acting as a null object raises an error when interpolated in a string as an integer 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:17 139s 139s 1289) a double _not_ acting as a null object says it responds to messages it does understand 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:12 139s 139s 1290) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 139s 139s 1291) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 139s 139s 1292) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 139s 139s 1293) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 139s 139s 1294) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 139s 139s 1295) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 139s 139s 1296) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received generates a useful description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 139s 139s 1297) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 139s 139s 1298) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 139s 139s 1299) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 139s 139s 1300) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 139s 139s 1301) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 139s 139s 1302) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 139s 139s 1303) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 139s 139s 1304) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 139s 139s 1305) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 139s 139s 1306) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 139s 139s 1307) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 139s 139s 1308) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 139s 139s 1309) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 139s 139s 1310) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 139s 139s 1311) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 139s 139s 1312) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 139s 139s 1313) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 139s 139s 1314) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 139s 139s 1315) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 139s 139s 1316) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 139s 139s 1317) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 139s 139s 1318) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 139s 139s 1319) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 139s 139s 1320) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 139s 139s 1321) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 139s 139s 1322) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 139s 139s 1323) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 139s 139s 1324) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 139s 139s 1325) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 139s 139s 1326) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 139s 139s 1327) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 139s 139s 1328) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 139s 139s 1329) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 139s 139s 1330) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 139s 139s 1331) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 139s 139s 1332) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 139s 139s 1333) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 139s 139s 1334) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 139s 139s 1335) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 139s 139s 1336) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 139s 139s 1337) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 139s 139s 1338) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 139s 139s 1339) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 139s 139s 1340) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 139s 139s 1341) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 139s 139s 1342) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 139s 139s 1343) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 139s 139s 1344) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 139s 139s 1345) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available allow(...).to have_received fails because it's nonsensical 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 139s 139s 1346) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1347) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1348) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 139s 139s 1349) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1350) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 139s 139s 1351) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 139s 139s 1352) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 139s 139s 1353) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1354) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1355) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 139s 139s 1356) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 139s 139s 1357) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 139s 139s 1358) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 139s 139s 1359) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 139s 139s 1360) Constructing a verifying double can only be named with a string or a module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:162 139s 139s 1361) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of class doubles for unloaded constants 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:155 139s 139s 1362) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of instance doubles for unloaded constants 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:149 139s 139s 1363) Constructing a verifying double object doubles declares the class to verifying double callbacks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:131 139s 139s 1364) Constructing a verifying double instance doubles can be constructed with a struct 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:24 139s 139s 1365) Constructing a verifying double instance doubles allows anonymous constants to be looked up and declared to verifying double callbacks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:40 139s 139s 1366) Constructing a verifying double instance doubles allows classes to be customised 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:52 139s 139s 1367) Constructing a verifying double instance doubles allows named constants to be looked up and declared to verifying double callbacks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:29 139s 139s 1368) Constructing a verifying double instance doubles cannot be constructed with a non-module object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:18 139s 139s 1369) Constructing a verifying double instance doubles any_instance calls the callback for allow_any_instance_of 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:85 139s 139s 1370) Constructing a verifying double instance doubles any_instance should not call the callback if verify_partial_doubles is off 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:93 139s 139s 1371) Constructing a verifying double instance doubles any_instance calls the callback for expect_any_instance_of 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:77 139s 139s 1372) Constructing a verifying double class doubles cannot be constructed with a non-module object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:104 139s 139s 1373) Constructing a verifying double class doubles declares named modules to verifying double callbacks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:110 139s 139s 1374) Constructing a verifying double class doubles declares anonymous modules to verifying double callbacks 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:119 139s 139s 1375) An instance double with the doubled class loaded allows keyword arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:87 139s 139s 1376) An instance double with the doubled class loaded only allows instance methods that exist to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:20 139s 139s 1377) An instance double with the doubled class loaded gives a descriptive error message for NoMethodError 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:49 139s 139s 1378) An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:43 139s 139s 1379) An instance double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:79 139s 139s 1380) An instance double with the doubled class loaded only allows instance methods that exist to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:12 139s 139s 1381) An instance double with the doubled class loaded checks the arity of stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:70 139s 139s 1382) An instance double with the doubled class loaded does not allow dynamic methods to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:57 139s 139s 1383) An instance double with the doubled class loaded allows class to be specified by constant 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:149 139s 139s 1384) An instance double with the doubled class loaded checks that stubbed methods with required keyword args are invoked with the required arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:133 139s 139s 1385) An instance double with the doubled class loaded validates `with` args against the method signature when stubbing a method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:142 139s 139s 1386) An instance double with the doubled class loaded doesn't suggest `class_double` when a non-class method is stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:38 139s 139s 1387) An instance double with the doubled class loaded suggests using `class_double` when a class method is stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:33 139s 139s 1388) An instance double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:171 139s 139s 1389) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:126 139s 139s 1390) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:106 139s 139s 1391) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:93 139s 139s 1392) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:115 139s 139s 1393) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:100 139s 139s 1394) An instance double with the doubled class loaded for null objects reports what public messages it responds to accurately 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:200 139s 139s 1395) An instance double with the doubled class loaded for null objects only allows defined methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:181 139s 139s 1396) An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:223 139s 139s 1397) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:210 139s 139s 1398) An instance double with the doubled class loaded for null objects includes the double's name in a private method error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:194 139s 139s 1399) An instance double with the doubled class loaded for null objects verifies arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:188 139s 139s 1400) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:157 139s 139s 1401) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:163 139s 139s 1402) an expectation set on nil issues a warning with file and line number information 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:4 139s 139s 1403) an expectation set on nil does not issue a warning when expectations are set to be allowed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:24 139s 139s 1404) an expectation set on nil does not call #nil? on a double extra times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:60 139s 139s 1405) an expectation set on nil issues a warning when the expectation is negative 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:15 139s 139s 1406) an expectation set on nil configured to disallow expectations on nil raises an error when expectations on nil are disallowed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:53 139s 139s 1407) an expectation set on nil configured to allow expectation on nil does not issue a warning when expectations are set to be allowed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:38 139s 139s 1408) .expect_message sets up basic message expectation, verifies as called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:73 139s 139s 1409) .expect_message fails if never is specified and the message is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:66 139s 139s 1410) .expect_message sets up basic message expectation, verifies as uncalled 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:56 139s 139s 1411) .expect_message accepts a block implementation for the expected message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:85 139s 139s 1412) .expect_message does not get confused when the string and symbol message form are both used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:91 139s 139s 1413) .expect_message sets up message expectation with params and return value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:79 139s 139s 1414) .expect_message when target cannot be proxied raises ArgumentError with message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:102 139s 139s 1415) RSpec::Mocks::Double#and_yield with eval context as block argument evaluates the supplied block as it is read 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:21 139s 139s 1416) RSpec::Mocks::Double#and_yield with eval context as block argument passes an eval context object to the supplied block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:29 139s 139s 1417) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:35 139s 139s 1418) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:66 139s 139s 1419) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:52 139s 139s 1420) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:84 139s 139s 1421) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments can yield to a block that uses `super` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:128 139s 139s 1422) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:139 139s 139s 1423) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:103 139s 139s 1424) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:114 139s 139s 1425) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_yield_spec.rb:7 139s 139s 1426) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:529 139s 139s 1427) when verify_partial_doubles configuration option is set allows stubbing and calls the stubbed implementation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:572 139s 139s 1428) when verify_partial_doubles configuration option is set avoids deadlocks when a proxy is accessed from within a `before_verifying_doubles` callback 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:443 139s 139s 1429) when verify_partial_doubles configuration option is set verifies arity range when receiving a message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:556 139s 139s 1430) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an allowance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:432 139s 139s 1431) when verify_partial_doubles configuration option is set does not allow a non-existing method to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:487 139s 139s 1432) when verify_partial_doubles configuration option is set allows valid methods to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:375 139s 139s 1433) when verify_partial_doubles configuration option is set does not allow missing methods to be called on any_instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:547 139s 139s 1434) when verify_partial_doubles configuration option is set can be temporarily supressed and nested 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:398 139s 139s 1435) when verify_partial_doubles configuration option is set allows private methods to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:380 139s 139s 1436) when verify_partial_doubles configuration option is set does not allow a spy on unimplemented method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:491 139s 139s 1437) when verify_partial_doubles configuration option is set can be temporarily supressed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:385 139s 139s 1438) when verify_partial_doubles configuration option is set allows valid methods to be expected on any_instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:507 139s 139s 1439) when verify_partial_doubles configuration option is set verifies arity range when matching arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:497 139s 139s 1440) when verify_partial_doubles configuration option is set allows the mock to raise an error with yield 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:566 139s 139s 1441) when verify_partial_doubles configuration option is set temporarily supressing partial doubles does not affect normal verifying doubles 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:413 139s 139s 1442) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:421 139s 139s 1443) when verify_partial_doubles configuration option is set allows a method defined with method_missing to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:502 139s 139s 1444) when verify_partial_doubles configuration option is set does not allow a non-existing method to be called on any_instance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:541 139s 139s 1445) when verify_partial_doubles configuration option is set allows private methods to be expected on any_instance expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:512 139s 139s 1446) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double allowance 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:517 139s 139s 1447) when verify_partial_doubles configuration option is set for a class can be temporarily supressed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:474 139s 139s 1448) when verify_partial_doubles configuration option is set for a class only runs the `before_verifying_doubles` callback for the class (not for superclasses) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:462 139s 139s 1449) when verify_partial_doubles configuration option is set when `.new` is stubbed uses the method signature from `#initialize` for arg verification 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:582 139s 139s 1450) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:626 139s 139s 1451) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:611 139s 139s 1452) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:640 139s 139s 1453) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:599 139s 139s 1454) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:588 139s 139s 1455) a double declaration with a block handed to: expect(...).to receive works when a multi-return stub has already been set 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:9 139s 139s 1456) a double declaration with a block handed to: expect(...).to receive returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:3 139s 139s 1457) a double declaration with a block handed to: once returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:53 139s 139s 1458) a double declaration with a block handed to: with returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:38 139s 139s 1459) a double declaration with a block handed to: with returns the value of executing the block with given argument 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:44 139s 139s 1460) a double declaration with a block handed to: allow(...).to receive returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:19 139s 139s 1461) a double declaration with a block handed to: allow(...).to receive forwards all given args to the block, even when it receives a block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:27 139s 139s 1462) a double declaration with a block handed to: twice returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:53 139s 139s 1463) a double declaration with a block handed to: times returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:71 139s 139s 1464) a double declaration with a block handed to: ordered returns the value of executing the block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/block_return_value_spec.rb:62 139s 139s 1465) OrderGroup #consume returns the first ordered? expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/order_group_spec.rb:18 139s 139s 1466) OrderGroup #consume keeps returning ordered? expectation until all are returned 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/order_group_spec.rb:21 139s 139s 1467) a message expectation with multiple invoke handlers specifying at_least less than the number of values uses the last return value for subsequent calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:60 139s 139s 1468) a message expectation with multiple invoke handlers specifying at_least less than the number of values fails when called less than the specified number 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:67 139s 139s 1469) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:82 139s 139s 1470) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:75 139s 139s 1471) PreciseCounts passes if exactly n times method is called exactly n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:34 139s 139s 1472) PreciseCounts fails fast when exactly n times method is called more than n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:17 139s 139s 1473) PreciseCounts fails when exactly n times method is called less than n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:8 139s 139s 1474) PreciseCounts fails when exactly n times method is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:27 139s 139s 1475) PreciseCounts returns the value given by a block when the exactly once method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:42 139s 139s 1476) PreciseCounts passes multiple calls with different args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:48 139s 139s 1477) PreciseCounts passes multiple calls with different args and counts 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/precise_counts_spec.rb:56 139s 139s 1478) #null_object? defaults to false 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/null_object_double_spec.rb:120 139s 139s 1479) RSpec::Mocks::ErrorGenerator formatting arguments formats time objects with increased precision 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:31 139s 139s 1480) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that do not define description does not use the object's description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:62 139s 139s 1481) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects on default method stub error message display starts in new line 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:79 139s 139s 1482) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that define description uses the object's description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:52 139s 139s 1483) RSpec::Mocks::ErrorGenerator formatting arguments on non-matcher objects that define #description does not use the object's description 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:42 139s 139s 1484) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/error_generator_spec.rb:15 139s 139s 1485) at_least fails when called less than n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:13 139s 139s 1486) at_least passes when at least n times method is called exactly n times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:54 139s 139s 1487) at_least passes when at least n times method is called n plus 1 times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:63 139s 139s 1488) at_least passes when at least once method is called once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:73 139s 139s 1489) at_least prefers its own return value over a stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:139 139s 139s 1490) at_least passes when at least twice method is called three times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:86 139s 139s 1491) at_least fails when at least thrice method is called less than three times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:45 139s 139s 1492) at_least fails if method is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:6 139s 139s 1493) at_least passes when at least twice method is called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:94 139s 139s 1494) at_least fails when at least twice method is called once 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:30 139s 139s 1495) at_least fails when at least twice method is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:38 139s 139s 1496) at_least uses a stub value if no value set 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:132 139s 139s 1497) at_least returns the value given by a block when the at least once method is called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:118 139s 139s 1498) at_least passes when at least once method is called twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:79 139s 139s 1499) at_least passes when at least thrice method is called three times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:101 139s 139s 1500) at_least passes when at least thrice method is called four times 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:109 139s 139s 1501) at_least fails when at least once method is never called 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:23 139s 139s 1502) at_least when sent with 0 outputs a removal message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:125 139s 139s 1503) at_least when called with negative expectation raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/at_least_spec.rb:147 139s 139s 1504) Using a reopened file object as a partial mock allows `write` to be stubbed and reset 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/partial_double_spec.rb:199 139s 139s 1505) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher describes itself properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:6 139s 139s 1506) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches an empty hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:23 139s 139s 1507) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without any of the specified keys 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:27 139s 139s 1508) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:11 139s 139s 1509) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches against classes inheriting from Hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:31 139s 139s 1510) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key, given as anything() 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:19 139s 139s 1511) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash with the specified key, but different value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:15 139s 139s 1512) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:49 139s 139s 1513) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key/value pair 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:45 139s 139s 1514) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one of the specified keys 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:53 139s 139s 1515) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with a specified key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:41 139s 139s 1516) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a non-hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:37 139s 139s 1517) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one key/value pair included 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:61 139s 139s 1518) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with some of the specified keys 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:57 139s 139s 1519) #thrice fails when called with wrong args on the third call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:61 139s 139s 1520) #thrice fails fast when call count is higher than expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:28 139s 139s 1521) #thrice fails when called with wrong args on the second call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:52 139s 139s 1522) #thrice passes when called thrice with unspecified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:20 139s 139s 1523) #thrice passes when called thrice with specified args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:14 139s 139s 1524) #thrice passes when called thrice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:8 139s 139s 1525) #thrice fails when called with wrong args on the first call 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:44 139s 139s 1526) #thrice fails when call count is lower than expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:36 139s 139s 1527) #thrice when called with negative expectation raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/thrice_counts_spec.rb:72 139s 139s 1528) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:122 139s 139s 1529) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:116 139s 139s 1530) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_return_value_spec.rb:109 139s 139s 1531) Methods added to every object limits the number of methods that get added to all objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/methods_spec.rb:13 139s 139s 1532) A method stub overrides a pre-existing stub 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:501 139s 139s 1533) A method stub throws when told to 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:486 139s 139s 1534) A method stub is cleared when stubbed object when `dup`ed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:83 139s 139s 1535) A method stub throws with argument when told to 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:491 139s 139s 1536) A method stub instructs an instance to respond_to the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:39 139s 139s 1537) A method stub yields a specified object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:462 139s 139s 1538) A method stub remains private when it stubs a private class method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:93 139s 139s 1539) A method stub ignores when expected message is received with no args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:49 139s 139s 1540) A method stub handles multiple stubbed methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:72 139s 139s 1541) A method stub overrides a pre-existing method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:496 139s 139s 1542) A method stub is retained when stubbed object is `clone`d 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:78 139s 139s 1543) A method stub remains private when it stubs a private instance method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:88 139s 139s 1544) A method stub ignores when expected message is not received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:65 139s 139s 1545) A method stub keeps returning last value in consecutive calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:453 139s 139s 1546) A method stub instructs a class object to respond_to the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:44 139s 139s 1547) A method stub yields a specified object and return another specified object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:479 139s 139s 1548) A method stub returns values in order to consecutive calls 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:446 139s 139s 1549) A method stub yields multiple times with multiple calls to and_yield 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:470 139s 139s 1550) A method stub ignores when message is received with args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:57 139s 139s 1551) A method stub allows a stub and an expectation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:507 139s 139s 1552) A method stub stubbing with prepend reuses our prepend module so as not to keep mutating the ancestors 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:199 139s 139s 1553) A method stub stubbing with prepend does not unnecessarily prepend a module when stubbing a method on a module extended onto itself 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:178 139s 139s 1554) A method stub stubbing with prepend handles stubbing prepended methods on a class's singleton class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:151 139s 139s 1555) A method stub stubbing with prepend does not unnecessarily prepend a module when the prepended module does not override the stubbed method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:168 139s 139s 1556) A method stub stubbing with prepend handles stubbing prepended methods on an object's singleton class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:158 139s 139s 1557) A method stub stubbing with prepend does not unnecessarily prepend a module when the module was included 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:189 139s 139s 1558) A method stub stubbing with prepend handles stubbing prepended methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:143 139s 139s 1559) A method stub stubbing with prepend when a module with a method override is prepended after reset can still be stubbed again 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:231 139s 139s 1560) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:214 139s 139s 1561) A method stub #rspec_reset restores existing instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:259 139s 139s 1562) A method stub #rspec_reset restores existing singleton methods with the appropriate context 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:266 139s 139s 1563) A method stub #rspec_reset correctly restores the visibility of methods whose visibility has been tweaked on the singleton class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:334 139s 139s 1564) A method stub #rspec_reset does not remove existing methods that have been stubbed twice 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:325 139s 139s 1565) A method stub #rspec_reset restores existing aliased module_function methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:299 139s 139s 1566) A method stub #rspec_reset correctly handles stubbing inherited mixed in class methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:353 139s 139s 1567) A method stub #rspec_reset restores existing private class methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:318 139s 139s 1568) A method stub #rspec_reset restores existing private instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:285 139s 139s 1569) A method stub #rspec_reset removes stubbed methods that didn't exist 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:253 139s 139s 1570) A method stub #rspec_reset restores existing class methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:292 139s 139s 1571) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores non-prepended instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:408 139s 139s 1572) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended class methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:416 139s 139s 1573) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended object singleton methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:431 139s 139s 1574) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended instance methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:400 139s 139s 1575) A method stub using `with` determines which value is returned 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:99 139s 139s 1576) A method stub using `with` allows differing arities 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:107 139s 139s 1577) A method stub when the stubbed method is called does not call any methods on the passed args, since that could mutate them 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:117 139s 139s 1578) A method stub using `and_return` returns declared value when message is received 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stub_spec.rb:32 139s 139s 1579) negative expectation failure expect_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:146 139s 139s 1580) negative expectation failure expect(...).to_not receive_messages(:a => 1, :b => 2) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:139 139s 139s 1581) negative expectation failure allow_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:132 139s 139s 1582) negative expectation failure allow(...).to_not receive_messages(:a => 1, :b => 2) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:125 139s 139s 1583) when a class method is aliased on a subclass and the method is mocked restores the original aliased public method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/stash_spec.rb:26 139s 139s 1584) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes passed matchers 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:10 139s 139s 1585) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes itself properly 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:6 139s 139s 1586) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches the same hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:17 139s 139s 1587) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches against classes inheriting from Hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:25 139s 139s 1588) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches a hash with extra stuff 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:21 139s 139s 1589) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers can match against arbitrary objects that implement #=== 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:38 139s 139s 1590) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches an int against anything() 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:30 139s 139s 1591) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches a string against anything() 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:34 139s 139s 1592) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches a string against a given key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:52 139s 139s 1593) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if more keys are present 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:48 139s 139s 1594) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if the key is present 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:44 139s 139s 1595) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:56 139s 139s 1596) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:64 139s 139s 1597) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:60 139s 139s 1598) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with an incorrect value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:91 139s 139s 1599) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:79 139s 139s 1600) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match when values are nil but keys are different 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:95 139s 139s 1601) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:75 139s 139s 1602) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match an empty hash with a given key 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:83 139s 139s 1603) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key when one pair is matching 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:87 139s 139s 1604) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a non-hash 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:71 139s 139s 1605) Expected argument verification (when `#with` is called) when doubling an unloaded class allows any arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:11 139s 139s 1606) Expected argument verification (when `#with` is called) when doubling a loaded class does not cover required args when `any_args` is not used 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:97 139s 139s 1607) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:66 139s 139s 1608) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:58 139s 139s 1609) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:72 139s 139s 1610) 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` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:86 139s 139s 1611) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:80 139s 139s 1612) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:119 139s 139s 1613) 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) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:128 139s 139s 1614) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:134 139s 139s 1615) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:150 139s 139s 1616) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:29 139s 139s 1617) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:45 139s 139s 1618) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:37 139s 139s 1619) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:111 139s 139s 1620) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:105 139s 139s 1621) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/example_methods_spec.rb:4 139s 139s 1622) RSpec::Mocks::ExampleMethods works properly when extended onto an object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/example_methods_spec.rb:21 139s 139s 1623) RSpec::Mocks::ExampleMethods works properly when extended onto an object that has previous extended `RSpec::Matchers` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/example_methods_spec.rb:25 139s 139s 1624) RSpec::Mocks::ExampleMethods works properly when extended onto an object that later extends `RSpec::Matchers` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/example_methods_spec.rb:31 139s 139s 1625) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:514 139s 139s 1626) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:510 139s 139s 1627) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:515 139s 139s 1628) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:512 139s 139s 1629) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:513 139s 139s 1630) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it was previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:511 139s 139s 1631) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:509 139s 139s 1632) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:539 139s 139s 1633) RSpec::Mocks::Constant.original for a previously undefined hidden constant returns nil for the original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:542 139s 139s 1634) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:537 139s 139s 1635) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it was previously undefined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:538 139s 139s 1636) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:540 139s 139s 1637) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:541 139s 139s 1638) RSpec::Mocks::Constant.original for a previously undefined hidden constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:536 139s 139s 1639) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:523 139s 139s 1640) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:524 139s 139s 1641) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it was not previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:525 139s 139s 1642) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:527 139s 139s 1643) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:526 139s 139s 1644) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:528 139s 139s 1645) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice returns nil for the original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:529 139s 139s 1646) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:552 139s 139s 1647) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:550 139s 139s 1648) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:554 139s 139s 1649) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:553 139s 139s 1650) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:549 139s 139s 1651) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it was previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:551 139s 139s 1652) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:555 139s 139s 1653) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:488 139s 139s 1654) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:484 139s 139s 1655) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:487 139s 139s 1656) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant returns nil for the original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:489 139s 139s 1657) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it was not previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:485 139s 139s 1658) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:483 139s 139s 1659) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:486 139s 139s 1660) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it was not previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:472 139s 139s 1661) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:475 139s 139s 1662) RSpec::Mocks::Constant.original for a previously undefined stubbed constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:470 139s 139s 1663) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:474 139s 139s 1664) RSpec::Mocks::Constant.original for a previously undefined stubbed constant returns nil for the original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:476 139s 139s 1665) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:473 139s 139s 1666) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:471 139s 139s 1667) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) returns nil for its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:582 139s 139s 1668) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) exposes the provided string as the name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:576 139s 139s 1669) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:581 139s 139s 1670) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:579 139s 139s 1671) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates the name is invalid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:577 139s 139s 1672) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it was not previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:578 139s 139s 1673) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:580 139s 139s 1674) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:495 139s 139s 1675) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:498 139s 139s 1676) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:496 139s 139s 1677) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it was not previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:497 139s 139s 1678) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:500 139s 139s 1679) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant returns nil for the original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:501 139s 139s 1680) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:499 139s 139s 1681) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:569 139s 139s 1682) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:568 139s 139s 1683) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:566 139s 139s 1684) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:567 139s 139s 1685) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:564 139s 139s 1686) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it was previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:565 139s 139s 1687) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:563 139s 139s 1688) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it was previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:446 139s 139s 1689) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:450 139s 139s 1690) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:448 139s 139s 1691) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:449 139s 139s 1692) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:445 139s 139s 1693) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:444 139s 139s 1694) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:447 139s 139s 1695) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates the name is valid 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:458 139s 139s 1696) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its name 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:457 139s 139s 1697) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been mutated 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:460 139s 139s 1698) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its original value 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:463 139s 139s 1699) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has not been hidden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:462 139s 139s 1700) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it was previously defined 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:459 139s 139s 1701) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mutate_const_spec.rb:461 139s 139s 1702) Serialization of mocked objects marshals the same with and without stubbing 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/serialization_spec.rb:84 139s 139s 1703) Serialization of mocked objects without YAML loaded does not add #to_yaml to the stubbed object 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/serialization_spec.rb:77 139s 139s 1704) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/serialization_spec.rb:43 139s 139s 1705) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/serialization_spec.rb:47 139s 139s 1706) An instance double with the doubled class not loaded handles classes that are materialized after mocking 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:35 139s 139s 1707) An instance double with the doubled class not loaded allows any instance method to be stubbed 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:19 139s 139s 1708) An instance double with the doubled class not loaded includes the doubled module in errors for unexpected messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:12 139s 139s 1709) An instance double with the doubled class not loaded allows any instance method to be expected 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:25 139s 139s 1710) An instance double with the doubled class not loaded for null objects returns self from any message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:45 139s 139s 1711) An instance double with the doubled class not loaded for null objects reports it responds to any message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:49 139s 139s 1712) 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')` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:59 139s 139s 1713) 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)` 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:64 139s 139s 1714) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:100 139s 139s 1715) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:93 139s 139s 1716) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:106 139s 139s 1717) and_call_original on a partial double works for aliased methods 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:225 139s 139s 1718) and_call_original on a partial double works for methods added through an extended module 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:111 139s 139s 1719) and_call_original on a partial double passes the received message through to the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:65 139s 139s 1720) and_call_original on a partial double warns when you override an existing implementation 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:90 139s 139s 1721) and_call_original on a partial double errors when you pass through the wrong number of args 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:82 139s 139s 1722) and_call_original on a partial double ignores prior declared stubs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:70 139s 139s 1723) and_call_original on a partial double works for class methods defined on a grandparent class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:207 139s 139s 1724) and_call_original on a partial double works for method added through an extended module onto a class's ancestor 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:117 139s 139s 1725) and_call_original on a partial double works for class methods defined on a superclass 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:188 139s 139s 1726) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:133 139s 139s 1727) and_call_original on a partial double passes args and blocks through to the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:76 139s 139s 1728) and_call_original on a partial double works for class methods defined on the Class class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:213 139s 139s 1729) and_call_original on a partial double works for instance methods defined on the object's class's superclass 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:218 139s 139s 1730) and_call_original on a partial double works for methods that accept keyword arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:237 139s 139s 1731) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:124 139s 139s 1732) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:271 139s 139s 1733) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:266 139s 139s 1734) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:195 139s 139s 1735) and_call_original on a partial double when a method that exists has been stubbed previously restores the original behavior 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:46 139s 139s 1736) and_call_original on a partial double for singleton methods works 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:97 139s 139s 1737) and_call_original on a partial double for singleton methods works for SimpleDelegator subclasses 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:103 139s 139s 1738) and_call_original on a partial double when a non-existent method has been stubbed previously restores the original NameError behavior 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:54 139s 139s 1739) and_call_original on a partial double on an object that defines method_missing works when the method_missing definition handles the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:295 139s 139s 1740) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:305 139s 139s 1741) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:312 139s 139s 1742) and_call_original on a partial double on an object that defines method_missing works for an any_instance partial mock 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:300 139s 139s 1743) and_call_original on a partial double when using any_instance works for instance methods defined on the superclass of the class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:176 139s 139s 1744) and_call_original on a partial double when using any_instance works for instance methods that use required keyword arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:168 139s 139s 1745) and_call_original on a partial double when using any_instance works for instance methods that use double splat 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:149 139s 139s 1746) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:182 139s 139s 1747) and_call_original on a partial double when using any_instance works for instance methods defined on the class 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:143 139s 139s 1748) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:154 139s 139s 1749) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments with an argument supplied 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:159 139s 139s 1750) and_call_original on a partial double that overrides #method works for a singleton method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:349 139s 139s 1751) and_call_original on a partial double that overrides #method still works even though #method has been overridden 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:344 139s 139s 1752) and_call_original on a pure test double raises an error even if the double object responds to the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_call_original_spec.rb:362 139s 139s 1753) ordering supports duplicate messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:100 139s 139s 1754) ordering passes when messages are received in order 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:16 139s 139s 1755) ordering fails when messages are received out of order (3rd message 1st) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:46 139s 139s 1756) ordering fails when messages are received out of order (3rd message 2nd) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:56 139s 139s 1757) ordering passes when messages are received in order 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:7 139s 139s 1758) ordering fails when messages are out of order across objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:66 139s 139s 1759) ordering passes when messages are received in order across objects 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:27 139s 139s 1760) ordering fails when messages are received out of order (2nd message 1st) 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:38 139s 139s 1761) ordering ignores order of non ordered messages 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/mock_ordering_spec.rb:80 139s 139s 1762) Using rspec-mocks features in before(:all) blocks allow(...).to receive_message_chain raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1763) Using rspec-mocks features in before(:all) blocks #hide_const(for an undefined const) raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1764) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) does not hide the const 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/before_all_spec.rb:30 139s 139s 1765) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1766) Using rspec-mocks features in before(:all) blocks #expect_any_instance_of(...).to receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1767) Using rspec-mocks features in before(:all) blocks #stub_const raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1768) Using rspec-mocks features in before(:all) blocks #stub_const does not stub the const 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/before_all_spec.rb:10 139s 139s 1769) Using rspec-mocks features in before(:all) blocks #allow(...).to receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1770) Using rspec-mocks features in before(:all) blocks #expect(...).to receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1771) Using rspec-mocks features in before(:all) blocks #allow_any_instance_of(...).to receive raises an error with a useful message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/support/before_all_shared_example_group.rb:11 139s 139s 1772) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 139s 139s 1773) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 139s 139s 1774) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 139s 139s 1775) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 139s 139s 1776) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 139s 139s 1777) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 139s 139s 1778) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 139s 139s 1779) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 139s 139s 1780) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the original method 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 139s 139s 1781) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 139s 139s 1782) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along any supplied block 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 139s 139s 1783) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 139s 139s 1784) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 139s 139s 1785) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original ignores previous stubs 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 139s 139s 1786) 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 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 139s 139s 1787) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the message arguments 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 139s 139s 1788) and_wrap_original on a pure test double raises an error 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:92 139s 139s 1789) and_wrap_original on a pure test double raises an error even if the double object responds to the message 139s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 139s # ./spec/rspec/mocks/and_wrap_original_spec.rb:100 139s 139s Finished in 0.53607 seconds (files took 0.56024 seconds to load) 139s 1789 examples, 0 failures, 1789 pending 139s 139s Randomized with seed 21942 139s 139s mv lib.off lib 139s cd - 139s 139s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 139s ∙ rspec-support ∙ 139s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 139s 139s cd rspec-support 139s /usr/bin/ruby3.3 -S rspec spec/rspec/support/comparable_version_spec.rb spec/rspec/support/deprecation_helpers_spec.rb spec/rspec/support/differ_spec.rb spec/rspec/support/directory_maker_spec.rb spec/rspec/support/encoded_string_spec.rb spec/rspec/support/fuzzy_matcher_spec.rb spec/rspec/support/matcher_definition_spec.rb spec/rspec/support/method_signature_verifier_spec.rb spec/rspec/support/mutex_spec.rb spec/rspec/support/object_formatter_spec.rb spec/rspec/support/recursive_const_methods_spec.rb spec/rspec/support/reentrant_mutex_spec.rb spec/rspec/support/ruby_features_spec.rb spec/rspec/support/source/node_spec.rb spec/rspec/support/source/token_spec.rb spec/rspec/support/source_spec.rb spec/rspec/support/spec/in_sub_process_spec.rb spec/rspec/support/spec/shell_out_spec.rb spec/rspec/support/spec/stderr_splitter_spec.rb spec/rspec/support/spec/with_isolated_std_err_spec.rb spec/rspec/support/warnings_spec.rb spec/rspec/support/with_keywords_when_needed_spec.rb spec/rspec/support_spec.rb 139s mv lib lib.off 139s 139s Randomized with seed 63665 140s .................................................................................................................................................................................................................................................................................................................................*...............................*............................................................fatal: not a git repository (or any of the parent directories): .git 140s ...............................................F...F.F....F..F.F..F............................................................................... 140s 140s Pending: (Failures listed here are expected and do not affect your suite's status) 140s 140s 1) RSpec::Support::ShellOut can shell out to ruby with the current load path 140s # 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 140s # ./spec/rspec/support/spec/shell_out_spec.rb:22 140s 140s 2) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations 140s # No reason given 140s Failure/Error: 140s expect { 140s expect_warn_deprecation(/bar/) 140s }.to raise_error(/received: 0 times/) 140s 140s expected /received: 0 times/ but nothing was raised 140s # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' 140s # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' 140s 140s Failures: 140s 140s 1) RSpec::Support::Differ#diff outputs unified diff of multi line strings 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\n@@ -1,2 +1,2 @@\n this is:\n- another string\n+ one string\n" (UTF-8) to be identical to 140s "\n@@ -1,3 +1,3 @@\n this is:\n- another string\n+ one string\n" (UTF-8) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:434:in `block (3 levels) in ' 140s 140s 2) RSpec::Support::Differ#diff shows inner arrays on a single line 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-[\"c\\nd\"]\n" (US-ASCII) to be identical to 140s "\n@@ -1,3 +1 @@\n-a\\nb\n-[\"c\\nd\"]\n" (UTF-8) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:460:in `block (3 levels) in ' 140s 140s 3) RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\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 140s "\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) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:109:in `block (3 levels) in ' 140s 140s 4) RSpec::Support::Differ#diff outputs unified diff message of two arrays 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\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 140s "\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) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:236:in `block (3 levels) in ' 140s 140s 5) RSpec::Support::Differ#diff outputs unified diff message of two objects 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\n@@ -1,4 +1,4 @@\n \n" (UTF-8) to be identical to 140s "\n@@ -1,5 +1,5 @@\n \n" (UTF-8) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:213:in `block (3 levels) in ' 140s 140s 6) RSpec::Support::Differ#diff splits items with newlines 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-c\\nd\n" (US-ASCII) to be identical to 140s "\n@@ -1,3 +1 @@\n-a\\nb\n-c\\nd\n" (UTF-8) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:447:in `block (3 levels) in ' 140s 140s 7) RSpec::Support::Differ#diff outputs unified diff of two strings 140s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 140s 140s expected 140s "\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 140s "\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) 140s The exact bytes are printed below for more detail: 140s [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] 140s [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] 140s # ./spec/rspec/support/differ_spec.rb:61:in `block (3 levels) in ' 140s 140s Finished in 1 second (files took 0.23817 seconds to load) 140s 560 examples, 7 failures, 2 pending 140s 140s Failed examples: 140s 140s rspec ./spec/rspec/support/differ_spec.rb:420 # RSpec::Support::Differ#diff outputs unified diff of multi line strings 140s rspec ./spec/rspec/support/differ_spec.rb:450 # RSpec::Support::Differ#diff shows inner arrays on a single line 140s rspec ./spec/rspec/support/differ_spec.rb:64 # RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 140s rspec ./spec/rspec/support/differ_spec.rb:216 # RSpec::Support::Differ#diff outputs unified diff message of two arrays 140s rspec ./spec/rspec/support/differ_spec.rb:180 # RSpec::Support::Differ#diff outputs unified diff message of two objects 140s rspec ./spec/rspec/support/differ_spec.rb:437 # RSpec::Support::Differ#diff splits items with newlines 140s rspec ./spec/rspec/support/differ_spec.rb:15 # RSpec::Support::Differ#diff outputs unified diff of two strings 140s 140s Randomized with seed 63665 140s 140s mv lib.off lib 140s cd - 140s Failed: rspec-expectations, rspec-support 141s autopkgtest [18:25:14]: test gem2deb-test-runner: -----------------------] 142s autopkgtest [18:25:15]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 142s gem2deb-test-runner FAIL non-zero exit status 1 142s autopkgtest [18:25:15]: @@@@@@@@@@@@@@@@@@@@ summary 142s gem2deb-test-runner FAIL non-zero exit status 1