0s autopkgtest [16:28:43]: starting date and time: 2025-11-17 16:28:43+0000 0s autopkgtest [16:28:43]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:28:43]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.i6pg1_ml/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-3.secgroup --name adt-resolute-arm64-ruby-rspec-20251117-162843-juju-7f2275-prod-proposed-migration-environment-2-86ae8b1f-f1dc-4655-9ebe-d2745906da87 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-ruby-rspec-20251117-162843-juju-7f2275-prod-proposed-migration-environment-2-86ae8b1f-f1dc-4655-9ebe-d2745906da87 from image adt/ubuntu-resolute-arm64-server-20251117.img (UUID 1cd33fbb-18df-4c5a-b8f0-2dcb25269485)... 72s autopkgtest [16:29:55]: testbed dpkg architecture: arm64 72s autopkgtest [16:29:55]: testbed apt version: 3.1.11 72s autopkgtest [16:29:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 73s autopkgtest [16:29:56]: testbed release detected to be: None 74s autopkgtest [16:29:57]: updating testbed package index (apt update) 74s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 74s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 75s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 75s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 75s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [839 kB] 75s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 75s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.5 kB] 75s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 75s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [149 kB] 75s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [3084 B] 75s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [107 kB] 75s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [324 B] 75s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [557 kB] 75s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [17.3 kB] 75s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [12.5 kB] 75s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 76s Fetched 1888 kB in 1s (1597 kB/s) 77s Reading package lists... 79s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 79s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 79s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 79s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 80s Reading package lists... 80s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Calculating upgrade... 82s The following packages will be upgraded: 82s usbutils 82s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 81.7 kB of archives. 82s After this operation, 0 B of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 usbutils arm64 1:019-1 [81.7 kB] 83s dpkg-preconfigure: unable to re-open stdin: No such file or directory 83s Fetched 81.7 kB in 0s (263 kB/s) 84s (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 ... 88137 files and directories currently installed.) 84s Preparing to unpack .../usbutils_1%3a019-1_arm64.deb ... 84s Unpacking usbutils (1:019-1) over (1:018-2) ... 84s Setting up usbutils (1:019-1) ... 84s Processing triggers for man-db (2.13.1-1) ... 86s autopkgtest [16:30:09]: upgrading testbed (apt dist-upgrade and autopurge) 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Calculating upgrade... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Solving dependencies... 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 94s autopkgtest [16:30:17]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 94s autopkgtest [16:30:17]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec 100s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (dsc) [4082 B] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [413 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [221 kB] 100s Get:4 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [209 kB] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [79.7 kB] 100s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [6953 B] 100s Get:7 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (tar) [925 kB] 100s Get:8 http://ftpmaster.internal/ubuntu resolute/universe ruby-rspec 3.13.0c0e0m0s1-2 (diff) [12.4 kB] 100s gpgv: Signature made Wed Feb 28 20:50:19 2024 UTC 100s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 100s gpgv: issuer "kanashiro@debian.org" 100s gpgv: Can't check signature: No public key 100s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec_3.13.0c0e0m0s1-2.dsc: no acceptable signature found 100s dpkg-source: warning: required removal of 'rspec' installed by original tarball 100s dpkg-source: warning: required removal of 'rspec-core' installed by original tarball 100s dpkg-source: warning: required removal of 'rspec-expectations' installed by original tarball 100s dpkg-source: warning: required removal of 'rspec-mocks' installed by original tarball 100s dpkg-source: warning: required removal of 'rspec-support' installed by original tarball 101s autopkgtest [16:30:24]: testing package ruby-rspec version 3.13.0c0e0m0s1-2 102s autopkgtest [16:30:25]: build not needed 106s autopkgtest [16:30:29]: test gem2deb-test-runner: preparing testbed 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Solving dependencies... 108s The following NEW packages will be installed: 108s coderay cucumber gem2deb-test-runner git git-man liberror-perl libjs-jquery 108s libruby libruby3.3 libxslt1.1 racc rake ruby ruby-aruba ruby-builder 108s ruby-childprocess ruby-coderay ruby-contracts ruby-csv ruby-cucumber-core 108s ruby-cucumber-wire ruby-did-you-mean ruby-diff-lcs ruby-fakefs ruby-ffi 108s ruby-flexmock ruby-gherkin ruby-json ruby-metaclass ruby-mini-portile2 108s ruby-minitest ruby-mocha ruby-multi-json ruby-multi-test ruby-net-telnet 108s ruby-nokogiri ruby-pkg-config ruby-power-assert ruby-rr ruby-rspec 108s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 108s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-thor ruby-thread-order 108s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 108s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 14.4 MB of archives. 108s After this operation, 76.2 MB of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 109s Get:2 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-builder all 3.2.4-2 [17.1 kB] 109s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 rubygems-integration all 1.19 [5550 B] 109s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rake all 13.2.1-1 [45.8 kB] 109s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-csv all 3.3.4-1 [43.0 kB] 109s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 109s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 109s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-ruby2-keywords all 0.0.5-1 [4280 B] 109s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-webrick all 1.9.1-1 [60.8 kB] 109s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 109s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libruby3.3 arm64 3.3.8-2ubuntu2 [5971 kB] 110s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby3.3 arm64 3.3.8-2ubuntu2 [59.1 kB] 110s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libruby arm64 1:3.3 [5164 B] 110s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 110s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby arm64 1:3.3 [3668 B] 110s Get:16 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-gherkin all 4.0.0-4 [22.8 kB] 110s Get:17 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-cucumber-core all 1.5.0-3 [22.6 kB] 110s Get:18 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-cucumber-wire all 0.0.1-3 [7892 B] 110s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 ruby-diff-lcs all 1.6.2-1 [23.1 kB] 110s Get:20 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-multi-json all 1.15.0-1 [16.1 kB] 110s Get:21 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-multi-test all 1.1.0-1 [4540 B] 110s Get:22 http://ftpmaster.internal/ubuntu resolute/universe arm64 cucumber all 2.4.0-5 [100 kB] 110s Get:23 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-minitest all 5.25.4-3 [48.8 kB] 110s Get:24 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-power-assert all 2.0.5-1 [12.0 kB] 110s Get:25 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-test-unit all 3.6.2-1 [67.0 kB] 110s Get:26 http://ftpmaster.internal/ubuntu resolute/universe arm64 gem2deb-test-runner arm64 2.2.5 [18.3 kB] 111s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 liberror-perl all 0.17030-1 [23.5 kB] 111s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 git-man all 1:2.51.0-1ubuntu1 [1179 kB] 111s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 git arm64 1:2.51.0-1ubuntu1 [4431 kB] 111s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libxslt1.1 arm64 1.1.43-0.3 [172 kB] 111s Get:31 http://ftpmaster.internal/ubuntu resolute/universe arm64 racc all 1.8.1-2 [71.5 kB] 111s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-ffi arm64 1.17.2+dfsg-1 [101 kB] 111s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-childprocess all 4.1.0-3ubuntu1 [23.8 kB] 111s Get:34 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-contracts all 0.17.2-1 [21.3 kB] 111s Get:35 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 111s Get:36 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 111s Get:37 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-thor all 1.4.0-1 [50.4 kB] 111s Get:38 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-aruba all 2.1.0-3 [44.4 kB] 111s Get:39 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-coderay all 1.1.3-8 [78.5 kB] 111s Get:40 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-fakefs all 3.0.4-1 [31.6 kB] 111s Get:41 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-flexmock all 3.0.2-1 [44.3 kB] 111s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 ruby-json arm64 2.15.2+dfsg-1 [69.4 kB] 111s Get:43 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-metaclass all 0.0.4-2 [4094 B] 111s Get:44 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 111s Get:45 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-mocha all 2.4.2-2 [40.0 kB] 111s Get:46 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-pkg-config all 1.5.9-1 [8710 B] 111s Get:47 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-nokogiri arm64 1.18.2+dfsg-1build1 [266 kB] 111s Get:48 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rr all 3.1.2-1 [33.1 kB] 111s Get:49 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 111s Get:50 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 111s Get:51 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 111s Get:52 http://ftpmaster.internal/ubuntu resolute/universe arm64 ruby-thread-order all 1.1.1-1 [5812 B] 111s Get:53 http://ftpmaster.internal/ubuntu resolute/universe arm64 coderay all 1.1.3-8 [9054 B] 112s Fetched 14.4 MB in 4s (4052 kB/s) 112s Selecting previously unselected package libjs-jquery. 112s (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 ... 88137 files and directories currently installed.) 112s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 112s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 112s Selecting previously unselected package ruby-builder. 112s Preparing to unpack .../01-ruby-builder_3.2.4-2_all.deb ... 112s Unpacking ruby-builder (3.2.4-2) ... 112s Selecting previously unselected package rubygems-integration. 112s Preparing to unpack .../02-rubygems-integration_1.19_all.deb ... 112s Unpacking rubygems-integration (1.19) ... 112s Selecting previously unselected package rake. 113s Preparing to unpack .../03-rake_13.2.1-1_all.deb ... 113s Unpacking rake (13.2.1-1) ... 113s Selecting previously unselected package ruby-csv. 113s Preparing to unpack .../04-ruby-csv_3.3.4-1_all.deb ... 113s Unpacking ruby-csv (3.3.4-1) ... 113s Selecting previously unselected package ruby-did-you-mean. 113s Preparing to unpack .../05-ruby-did-you-mean_1.6.3-2_all.deb ... 113s Unpacking ruby-did-you-mean (1.6.3-2) ... 113s Selecting previously unselected package ruby-net-telnet. 113s Preparing to unpack .../06-ruby-net-telnet_0.2.0-1_all.deb ... 113s Unpacking ruby-net-telnet (0.2.0-1) ... 113s Selecting previously unselected package ruby-ruby2-keywords. 113s Preparing to unpack .../07-ruby-ruby2-keywords_0.0.5-1_all.deb ... 113s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 113s Selecting previously unselected package ruby-webrick. 113s Preparing to unpack .../08-ruby-webrick_1.9.1-1_all.deb ... 113s Unpacking ruby-webrick (1.9.1-1) ... 113s Selecting previously unselected package ruby-xmlrpc. 113s Preparing to unpack .../09-ruby-xmlrpc_0.3.3-2_all.deb ... 113s Unpacking ruby-xmlrpc (0.3.3-2) ... 113s Selecting previously unselected package libruby3.3:arm64. 113s Preparing to unpack .../10-libruby3.3_3.3.8-2ubuntu2_arm64.deb ... 113s Unpacking libruby3.3:arm64 (3.3.8-2ubuntu2) ... 113s Selecting previously unselected package ruby3.3. 113s Preparing to unpack .../11-ruby3.3_3.3.8-2ubuntu2_arm64.deb ... 113s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 113s Selecting previously unselected package libruby:arm64. 113s Preparing to unpack .../12-libruby_1%3a3.3_arm64.deb ... 113s Unpacking libruby:arm64 (1:3.3) ... 113s Selecting previously unselected package ruby-rubygems. 114s Preparing to unpack .../13-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 114s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 114s Selecting previously unselected package ruby. 114s Preparing to unpack .../14-ruby_1%3a3.3_arm64.deb ... 114s Unpacking ruby (1:3.3) ... 114s Selecting previously unselected package ruby-gherkin. 114s Preparing to unpack .../15-ruby-gherkin_4.0.0-4_all.deb ... 114s Unpacking ruby-gherkin (4.0.0-4) ... 114s Selecting previously unselected package ruby-cucumber-core. 114s Preparing to unpack .../16-ruby-cucumber-core_1.5.0-3_all.deb ... 114s Unpacking ruby-cucumber-core (1.5.0-3) ... 114s Selecting previously unselected package ruby-cucumber-wire. 114s Preparing to unpack .../17-ruby-cucumber-wire_0.0.1-3_all.deb ... 114s Unpacking ruby-cucumber-wire (0.0.1-3) ... 114s Selecting previously unselected package ruby-diff-lcs. 114s Preparing to unpack .../18-ruby-diff-lcs_1.6.2-1_all.deb ... 114s Unpacking ruby-diff-lcs (1.6.2-1) ... 114s Selecting previously unselected package ruby-multi-json. 114s Preparing to unpack .../19-ruby-multi-json_1.15.0-1_all.deb ... 114s Unpacking ruby-multi-json (1.15.0-1) ... 114s Selecting previously unselected package ruby-multi-test. 114s Preparing to unpack .../20-ruby-multi-test_1.1.0-1_all.deb ... 114s Unpacking ruby-multi-test (1.1.0-1) ... 114s Selecting previously unselected package cucumber. 114s Preparing to unpack .../21-cucumber_2.4.0-5_all.deb ... 114s Unpacking cucumber (2.4.0-5) ... 114s Selecting previously unselected package ruby-minitest. 114s Preparing to unpack .../22-ruby-minitest_5.25.4-3_all.deb ... 114s Unpacking ruby-minitest (5.25.4-3) ... 114s Selecting previously unselected package ruby-power-assert. 114s Preparing to unpack .../23-ruby-power-assert_2.0.5-1_all.deb ... 114s Unpacking ruby-power-assert (2.0.5-1) ... 114s Selecting previously unselected package ruby-test-unit. 114s Preparing to unpack .../24-ruby-test-unit_3.6.2-1_all.deb ... 114s Unpacking ruby-test-unit (3.6.2-1) ... 114s Selecting previously unselected package gem2deb-test-runner. 114s Preparing to unpack .../25-gem2deb-test-runner_2.2.5_arm64.deb ... 114s Unpacking gem2deb-test-runner (2.2.5) ... 114s Selecting previously unselected package liberror-perl. 114s Preparing to unpack .../26-liberror-perl_0.17030-1_all.deb ... 114s Unpacking liberror-perl (0.17030-1) ... 115s Selecting previously unselected package git-man. 115s Preparing to unpack .../27-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 115s Unpacking git-man (1:2.51.0-1ubuntu1) ... 115s Selecting previously unselected package git. 115s Preparing to unpack .../28-git_1%3a2.51.0-1ubuntu1_arm64.deb ... 115s Unpacking git (1:2.51.0-1ubuntu1) ... 115s Selecting previously unselected package libxslt1.1:arm64. 115s Preparing to unpack .../29-libxslt1.1_1.1.43-0.3_arm64.deb ... 115s Unpacking libxslt1.1:arm64 (1.1.43-0.3) ... 115s Selecting previously unselected package racc. 115s Preparing to unpack .../30-racc_1.8.1-2_all.deb ... 115s Unpacking racc (1.8.1-2) ... 115s Selecting previously unselected package ruby-ffi:arm64. 115s Preparing to unpack .../31-ruby-ffi_1.17.2+dfsg-1_arm64.deb ... 115s Unpacking ruby-ffi:arm64 (1.17.2+dfsg-1) ... 115s Selecting previously unselected package ruby-childprocess. 115s Preparing to unpack .../32-ruby-childprocess_4.1.0-3ubuntu1_all.deb ... 115s Unpacking ruby-childprocess (4.1.0-3ubuntu1) ... 115s Selecting previously unselected package ruby-contracts. 115s Preparing to unpack .../33-ruby-contracts_0.17.2-1_all.deb ... 115s Unpacking ruby-contracts (0.17.2-1) ... 115s Selecting previously unselected package ruby-rspec-support. 115s Preparing to unpack .../34-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 115s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 115s Selecting previously unselected package ruby-rspec-expectations. 115s Preparing to unpack .../35-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 115s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 115s Selecting previously unselected package ruby-thor. 115s Preparing to unpack .../36-ruby-thor_1.4.0-1_all.deb ... 115s Unpacking ruby-thor (1.4.0-1) ... 116s Selecting previously unselected package ruby-aruba. 116s Preparing to unpack .../37-ruby-aruba_2.1.0-3_all.deb ... 116s Unpacking ruby-aruba (2.1.0-3) ... 116s Selecting previously unselected package ruby-coderay. 116s Preparing to unpack .../38-ruby-coderay_1.1.3-8_all.deb ... 116s Unpacking ruby-coderay (1.1.3-8) ... 116s Selecting previously unselected package ruby-fakefs. 116s Preparing to unpack .../39-ruby-fakefs_3.0.4-1_all.deb ... 116s Unpacking ruby-fakefs (3.0.4-1) ... 116s Selecting previously unselected package ruby-flexmock. 116s Preparing to unpack .../40-ruby-flexmock_3.0.2-1_all.deb ... 116s Unpacking ruby-flexmock (3.0.2-1) ... 116s Selecting previously unselected package ruby-json:arm64. 116s Preparing to unpack .../41-ruby-json_2.15.2+dfsg-1_arm64.deb ... 116s Unpacking ruby-json:arm64 (2.15.2+dfsg-1) ... 116s Selecting previously unselected package ruby-metaclass. 116s Preparing to unpack .../42-ruby-metaclass_0.0.4-2_all.deb ... 116s Unpacking ruby-metaclass (0.0.4-2) ... 116s Selecting previously unselected package ruby-mini-portile2. 116s Preparing to unpack .../43-ruby-mini-portile2_2.8.7-1_all.deb ... 116s Unpacking ruby-mini-portile2 (2.8.7-1) ... 116s Selecting previously unselected package ruby-mocha. 116s Preparing to unpack .../44-ruby-mocha_2.4.2-2_all.deb ... 116s Unpacking ruby-mocha (2.4.2-2) ... 116s Selecting previously unselected package ruby-pkg-config. 116s Preparing to unpack .../45-ruby-pkg-config_1.5.9-1_all.deb ... 116s Unpacking ruby-pkg-config (1.5.9-1) ... 116s Selecting previously unselected package ruby-nokogiri. 116s Preparing to unpack .../46-ruby-nokogiri_1.18.2+dfsg-1build1_arm64.deb ... 116s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 116s Selecting previously unselected package ruby-rr. 116s Preparing to unpack .../47-ruby-rr_3.1.2-1_all.deb ... 116s Unpacking ruby-rr (3.1.2-1) ... 116s Selecting previously unselected package ruby-rspec-core. 116s Preparing to unpack .../48-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-rspec-mocks. 117s Preparing to unpack .../49-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 117s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 117s Selecting previously unselected package ruby-rspec. 117s Preparing to unpack .../50-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 117s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 117s Selecting previously unselected package ruby-thread-order. 117s Preparing to unpack .../51-ruby-thread-order_1.1.1-1_all.deb ... 117s Unpacking ruby-thread-order (1.1.1-1) ... 117s Selecting previously unselected package coderay. 117s Preparing to unpack .../52-coderay_1.1.3-8_all.deb ... 117s Unpacking coderay (1.1.3-8) ... 117s Setting up ruby-rr (3.1.2-1) ... 117s Setting up ruby-multi-json (1.15.0-1) ... 117s Setting up ruby-ruby2-keywords (0.0.5-1) ... 117s Setting up ruby-fakefs (3.0.4-1) ... 117s Setting up ruby-power-assert (2.0.5-1) ... 117s Setting up ruby-mini-portile2 (2.8.7-1) ... 117s Setting up ruby-thread-order (1.1.1-1) ... 117s Setting up rubygems-integration (1.19) ... 117s Setting up liberror-perl (0.17030-1) ... 117s Setting up ruby-minitest (5.25.4-3) ... 117s Setting up ruby-test-unit (3.6.2-1) ... 117s Setting up ruby-net-telnet (0.2.0-1) ... 117s Setting up ruby-csv (3.3.4-1) ... 117s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 117s Setting up ruby-contracts (0.17.2-1) ... 117s Setting up ruby-webrick (1.9.1-1) ... 117s Setting up ruby-flexmock (3.0.2-1) ... 117s Setting up ruby-multi-test (1.1.0-1) ... 117s Setting up ruby-builder (3.2.4-2) ... 117s Setting up libxslt1.1:arm64 (1.1.43-0.3) ... 117s Setting up git-man (1:2.51.0-1ubuntu1) ... 117s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 117s Setting up ruby-did-you-mean (1.6.3-2) ... 117s Setting up ruby-xmlrpc (0.3.3-2) ... 117s Setting up git (1:2.51.0-1ubuntu1) ... 117s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 117s Setting up rake (13.2.1-1) ... 117s Setting up libruby3.3:arm64 (3.3.8-2ubuntu2) ... 117s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 117s Setting up libruby:arm64 (1:3.3) ... 117s Setting up ruby (1:3.3) ... 117s Setting up racc (1.8.1-2) ... 117s Setting up ruby-thor (1.4.0-1) ... 117s Setting up ruby-json:arm64 (2.15.2+dfsg-1) ... 117s Setting up ruby-pkg-config (1.5.9-1) ... 117s Setting up ruby-coderay (1.1.3-8) ... 117s Setting up ruby-gherkin (4.0.0-4) ... 117s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 117s Setting up ruby-ffi:arm64 (1.17.2+dfsg-1) ... 117s Setting up ruby-diff-lcs (1.6.2-1) ... 117s Setting up ruby-cucumber-wire (0.0.1-3) ... 117s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 117s Setting up ruby-metaclass (0.0.4-2) ... 117s Setting up ruby-cucumber-core (1.5.0-3) ... 117s Setting up gem2deb-test-runner (2.2.5) ... 117s Setting up coderay (1.1.3-8) ... 117s Setting up ruby-childprocess (4.1.0-3ubuntu1) ... 117s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 117s Setting up ruby-mocha (2.4.2-2) ... 117s Setting up cucumber (2.4.0-5) ... 117s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 117s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 117s Setting up ruby-aruba (2.1.0-3) ... 117s Processing triggers for man-db (2.13.1-1) ... 118s Processing triggers for libc-bin (2.42-2ubuntu2) ... 121s autopkgtest [16:30:44]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 121s autopkgtest [16:30:44]: 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 124s Run options: exclude {:ruby=>#} 124s 124s Randomized with seed 15830 143s ........................................................................................................................................................................................................................................................*..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*...........*............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 143s 143s Pending: (Failures listed here are expected and do not affect your suite's status) 143s 143s 1) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group 143s # Cannot maintain this and provide full `:example_group` backwards compatibility (see GH #1490):( 143s Failure/Error: expect(b[:description]).to eq("new description") 143s 143s expected: "new description" 143s got: "group" 143s 143s (compared using ==) 143s 143s 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually 143s # lib/mathn.rb is deprecated in Ruby 2.2 143s # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 143s 143s 3) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string 143s # lib/mathn.rb is deprecated in Ruby 2.2 143s # ./spec/rspec/core/formatters/helpers_spec.rb:64 143s 143s Finished in 19.02 seconds (files took 1.25 seconds to load) 143s 1869 examples, 0 failures, 3 pending 143s 143s Randomized with seed 15830 143s 143s mv lib.off lib 143s cd - 143s 143s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 143s ∙ rspec-expectations ∙ 143s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 143s 143s cd rspec-expectations 143s /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 143s mv lib lib.off 144s 144s Randomized with seed 1100 148s ...............................................................................................................................................F....F.FF.....F.F........................F..............F...................F.F......................................................................F..F......F.F........................********.............F.F......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.................................................................................................................................................................................................................................................................................................. 148s 148s Pending: (Failures listed here are expected and do not affect your suite's status) 148s 148s 1) #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 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:157 148s 148s 2) #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 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:78 148s 148s 3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:95 148s 148s 4) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target doesn't have a key and we expect nil 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:89 148s 148s 5) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:82 148s 148s 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 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:74 148s 148s 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 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:101 148s 148s 8) #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 148s # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:376 did not execute the example 148s # ./spec/rspec/matchers/built_in/include_spec.rb:129 149s 149s Failures: 149s 149s 1) 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 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bar 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:502:in `block (6 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:501:in `block (5 levels) in ' 149s 149s 2) 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 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bug 149s EOS 149s }.to fail do |error| 149s expect(error.message).to include(expected_failure) 149s end 149s 149s 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" 149s Diff: 149s @@ -1 +1,16 @@ 149s - 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 149s + expected "baz\nbug" to include "bar" 149s + 149s +...and: 149s + 149s + expected "baz\nbug" to include "foo" 149s +Diff for (include "bar"): 149s +@@ -1 +1,2 @@ 149s +-bar 149s ++baz 149s ++bug 149s + 149s +Diff for (include "foo"): 149s +@@ -1 +1,2 @@ 149s +-foo 149s ++baz 149s ++bug 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:537:in `block (5 levels) in ' 149s 149s 3) 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 149s Failure/Error: 149s expect { 149s expect( 149s "HELLO\nWORLD" 149s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 149s }.to fail do |error| 149s expect(error.message).to include(expected_failure) 149s end 149s 149s 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" 149s Diff: 149s @@ -1 +1,18 @@ 149s - 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 149s + expected "hello\nworld" to eq downcase "bonjour\nmonde" 149s + 149s +...and: 149s + 149s + expected "hello\nworld" to eq downcase "hola\nmon" 149s +Diff for (eq downcase "bonjour\nmonde"): 149s +@@ -1,2 +1,2 @@ 149s +-bonjour 149s +-monde 149s ++hello 149s ++world 149s + 149s +Diff for (eq downcase "hola\nmon"): 149s +@@ -1,2 +1,2 @@ 149s +-hola 149s +-mon 149s ++hello 149s ++world 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:628:in `block (7 levels) in ' 149s 149s 4) 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 149s Failure/Error: 149s expect { 149s expect( 149s "HELLO\nWORLD" 149s ).to eq_downcase("bonjour\nmonde").and eq_downcase("hola\nmon") 149s }.to fail do |error| 149s expect(error.message).to include(expected_failure) 149s end 149s 149s 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" 149s Diff: 149s @@ -1 +1,18 @@ 149s - 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 149s + expected "HELLO\nWORLD" to eq downcase "bonjour\nmonde" 149s + 149s +...and: 149s + 149s + expected "HELLO\nWORLD" to eq downcase "hola\nmon" 149s +Diff for (eq downcase "bonjour\nmonde"): 149s +@@ -1,2 +1,2 @@ 149s +-bonjour 149s +-monde 149s ++hello 149s ++world 149s + 149s +Diff for (eq downcase "hola\nmon"): 149s +@@ -1,2 +1,2 @@ 149s +-hola 149s +-mon 149s ++hello 149s ++world 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:585:in `block (7 levels) in ' 149s 149s 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 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bar 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:452:in `block (7 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:451:in `block (6 levels) in ' 149s 149s 6) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.and(other_matcher) when both matchers fail when the first matcher is diffable when only first matcher fails fails with a message containing a diff for first matcher 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bar 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:409:in `block (7 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:408:in `block (6 levels) in ' 149s 149s 7) RSpec::Matchers::BuiltIn::Compound when chaining many matchers together fails with complete diffs if its matchers are diffable 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to matcher 149s |bug 149s |squash 149s EOS 149s }.to fail do |error| 149s expect(error.message).to include(expected_failure) 149s end 149s 149s 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" 149s Diff: 149s @@ -1 +1,26 @@ 149s - 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 149s + expected "bug\nsquash" to include "bar" 149s + 149s +...and: 149s + 149s + expected "bug\nsquash" to include "buzz" 149s + 149s + ...or: 149s + 149s + expected "bug\nsquash" to include "foo" 149s +Diff for (include "bar"): 149s +@@ -1 +1,2 @@ 149s +-bar 149s ++bug 149s ++squash 149s + 149s +Diff for (include "buzz"): 149s +@@ -1 +1,2 @@ 149s +-buzz 149s ++bug 149s ++squash 149s + 149s +Diff for (include "foo"): 149s +@@ -1 +1,2 @@ 149s +-foo 149s ++bug 149s ++squash 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:931:in `block (3 levels) in ' 149s 149s 8) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when both matchers are diffable fails with a message containing diffs for both matcher 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bug 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:869:in `block (5 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:868:in `block (4 levels) in ' 149s 149s 9) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when second matcher is diffable fails with a message containing diff for second matcher 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bug 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:833:in `block (5 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:832:in `block (4 levels) in ' 149s 149s 10) RSpec::Matchers::BuiltIn::Compound expect(...).to matcher.or(other_matcher) when first matcher is diffable fails with a message containing diff for first matcher 149s Failure/Error: 149s expect { 149s expect(dedent(<<-EOS)).to subject 149s |baz 149s |bug 149s EOS 149s }.to fail_including(expected_failure) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:800:in `block (5 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/compound_spec.rb:799:in `block (4 levels) in ' 149s 149s 11) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s 149s 12) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff for fuzzy matchers 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:345 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s 149s 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 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s 149s 14) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to treat string/symbol keys interchangeably, but returns a raw hash from #to_hash behaves like a Hash target provides a valid diff for fuzzy matchers 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:349 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s 149s 15) #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 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:125:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 149s # ./spec/rspec/matchers/built_in/include_spec.rb:124:in `block (3 levels) in ' 149s 149s 16) #include matcher expect(...).to include(with_one_arg) for a target that subclasses Hash to perform custom key checks like downcasing behaves like a Hash target provides a valid diff for fuzzy matchers 149s Failure/Error: 149s expect { 149s expect(build_target(:foo => 1, :bar => 2)).to include(match(/FOO/i) => 1, :bar => 3) 149s }.to fail_including(failure_string) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/include_spec.rb:153:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:363 149s # ./spec/rspec/matchers/built_in/include_spec.rb:152:in `block (3 levels) in ' 149s 149s 17) #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected 149s Failure/Error: 149s expect { 149s expect(person).to have_attributes(:name => correct_name, :age => wrong_age) 149s }.to fail_including(expected_diff) 149s 149s 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: 149s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:176:in `block (4 levels) in ' 149s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 149s # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:175:in `block (3 levels) in ' 149s 149s 18) RSpec::Matchers::DSL::Matcher handles multiline string diffs 149s Failure/Error: expect(diff).to eq expected_diff 149s 149s expected: "Diff:\n@@ -1 +1 @@\n-line1\n+LINE1\n" 149s got: "Diff:\n@@ -1,2 +1,2 @@\n-line1\n+LINE1\nline2\n" 149s 149s (compared using ==) 149s 149s Diff: 149s 149s @@ -1,4 +1,5 @@ 149s Diff: 149s -@@ -1 +1 @@ 149s +@@ -1,2 +1,2 @@ 149s -line1 149s +LINE1 149s +line2 149s # ./spec/rspec/matchers/dsl_spec.rb:522:in `block (2 levels) in ' 149s 149s 22 deprecation warnings total 149s 149s Finished in 4.48 seconds (files took 0.79596 seconds to load) 149s 2400 examples, 18 failures, 8 pending 149s 149s Failed examples: 149s 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s 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 149s rspec ./spec/rspec/matchers/dsl_spec.rb:499 # RSpec::Matchers::DSL::Matcher handles multiline string diffs 149s 149s Randomized with seed 1100 149s 149s mv lib.off lib 149s cd - 149s 149s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 149s ∙ rspec-mocks ∙ 149s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 149s 149s cd rspec-mocks 149s /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 149s mv lib lib.off 150s Run options: exclude {:ordered_and_vague_counts_unsupported=>true} 150s 150s Randomized with seed 41742 151s ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* 151s 151s Pending: (Failures listed here are expected and do not affect your suite's status) 151s 151s 1) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 151s 151s 2) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 3) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 4) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 5) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 151s 151s 6) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 151s 151s 7) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 8) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 151s 151s 9) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 10) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 151s 151s 11) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 12) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 151s 151s 13) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 151s 151s 14) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 151s 151s 15) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available allow(...).to have_received fails because it's nonsensical 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 151s 151s 16) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 151s 151s 17) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 151s 151s 18) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 151s 151s 19) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 151s 151s 20) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 151s 151s 21) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 151s 151s 22) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 151s 151s 23) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 151s 151s 24) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 151s 151s 25) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 151s 151s 26) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 151s 151s 27) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 151s 151s 28) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 151s 151s 29) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 151s 151s 30) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 151s 151s 31) RSpec::Mocks::Matchers::HaveReceived when used in a context that has only rspec-mocks available expect(...).to have_received generates a useful description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 151s 151s 32) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 151s 151s 33) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 151s 151s 34) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 151s 151s 35) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 151s 151s 36) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 151s 151s 37) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 151s 151s 38) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 151s 151s 39) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 151s 151s 40) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 151s 151s 41) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 151s 151s 42) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 151s 151s 43) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 151s 151s 44) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 151s 151s 45) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 151s 151s 46) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 151s 151s 47) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 151s 151s 48) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 151s 151s 49) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 151s 151s 50) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 151s 151s 51) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 151s 151s 52) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 151s 151s 53) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 151s 151s 54) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 151s 151s 55) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 151s 151s 56) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 151s 151s 57) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 151s 151s 58) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 151s 151s 59) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 151s 151s 60) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 151s 151s 61) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 151s 151s 62) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 151s 151s 63) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 151s 151s 64) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 151s 151s 65) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 151s 151s 66) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 151s 151s 67) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 151s 151s 68) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 151s 151s 69) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 151s 151s 70) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 151s 151s 71) #any_instance setting a message expectation works with a SimpleDelegator subclass 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:792 151s 151s 72) #any_instance setting a message expectation affects previously stubbed instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:538 151s 151s 73) #any_instance setting a message expectation handles inspect accessing expected methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:523 151s 151s 74) #any_instance setting a message expectation does not modify the return value of stubs set on an instance of a subclass 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:563 151s 151s 75) #any_instance setting a message expectation does not modify the return value of stubs set on an instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:555 151s 151s 76) #any_instance setting a message expectation does not set the expectation on every instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:547 151s 151s 77) #any_instance setting a message expectation properly notifies any instance recorders at multiple levels of hierarchy when a directly stubbed object receives a message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:572 151s 151s 78) #any_instance setting a message expectation works with a BasicObject subclass that mixes in Kernel 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:782 151s 151s 79) #any_instance setting a message expectation properly notifies any instance recorders when they are created after the object's mock proxy 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:585 151s 151s 80) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:645 151s 151s 81) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:636 151s 151s 82) #any_instance setting a message expectation when an instance has been directly stubbed fails when a second instance to receive the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:622 151s 151s 83) #any_instance setting a message expectation message count the 'once' constraint fails when no instances are declared 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:849 151s 151s 84) #any_instance setting a message expectation message count the 'once' constraint passes for one invocation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:844 151s 151s 85) #any_instance setting a message expectation message count the 'once' constraint fails for more than one invocation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:864 151s 151s 86) #any_instance setting a message expectation message count the 'once' constraint fails when an instance is declared but there are no invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:856 151s 151s 87) #any_instance setting a message expectation message count the 'never' constraint fails on the first invocation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1008 151s 151s 88) #any_instance setting a message expectation message count the 'never' constraint passes for 0 invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1003 151s 151s 89) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations fails when the other expectations are not met 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1022 151s 151s 90) #any_instance setting a message expectation message count the 'never' constraint when combined with other expectations passes when the other expectations are met 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1016 151s 151s 91) #any_instance setting a message expectation message count the 'thrice' constraint fails for more than three invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:898 151s 151s 92) #any_instance setting a message expectation message count the 'thrice' constraint fails for less than three invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:906 151s 151s 93) #any_instance setting a message expectation message count the 'thrice' constraint passes for three invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:892 151s 151s 94) #any_instance setting a message expectation message count the 'at_most(n)' constraint fails for n invocations where n > 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:993 151s 151s 95) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n = 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:981 151s 151s 96) #any_instance setting a message expectation message count the 'at_most(n)' constraint passes for n invocations where n < 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:987 151s 151s 97) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n > 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:973 151s 151s 98) #any_instance setting a message expectation message count the 'at_least(n)' constraint passes for n invocations where n = 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:958 151s 151s 99) #any_instance setting a message expectation message count the 'at_least(n)' constraint fails for n invocations where n < 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:964 151s 151s 100) #any_instance setting a message expectation message count the 'twice' constraint fails for more than two invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:881 151s 151s 101) #any_instance setting a message expectation message count the 'twice' constraint passes for two invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:875 151s 151s 102) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n > 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:948 151s 151s 103) #any_instance setting a message expectation message count the 'exactly(n)' constraint passes for n invocations where n = 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:933 151s 151s 104) #any_instance setting a message expectation message count the 'exactly(n)' constraint fails for n invocations where n < 3 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:939 151s 151s 105) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias passes for 1 invocation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:918 151s 151s 106) #any_instance setting a message expectation message count the 'exactly(n)' constraint time alias fails for 2 invocations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:924 151s 151s 107) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:595 151s 151s 108) #any_instance setting a message expectation when the class has a prepended module prevents mocking a method that is defined on the prepended module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:602 151s 151s 109) #any_instance setting a message expectation when the class has an included module allows mocking a method that is defined on the module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:612 151s 151s 110) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:739 151s 151s 111) #any_instance setting a message expectation with an expectation is set on a method that exists fails if no instance is created 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:747 151s 151s 112) #any_instance setting a message expectation with an expectation is set on a method that exists returns the expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:734 151s 151s 113) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:754 151s 151s 114) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:763 151s 151s 115) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:769 151s 151s 116) #any_instance setting a message expectation with an expectation is set on a method which does not exist fails if no instance is created 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:669 151s 151s 117) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:676 151s 151s 118) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:684 151s 151s 119) #any_instance setting a message expectation with an expectation is set on a method which does not exist returns the expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:656 151s 151s 120) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:661 151s 151s 121) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:700 151s 151s 122) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:694 151s 151s 123) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:713 151s 151s 124) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:724 151s 151s 125) #any_instance setting a message expectation with argument matching fails when the arguments match but different instances are used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:813 151s 151s 126) #any_instance setting a message expectation with argument matching fails when arguments do not match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:831 151s 151s 127) #any_instance setting a message expectation with argument matching returns the expected value when arguments match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:807 151s 151s 128) #any_instance setting a message expectation with argument matching is not affected by the invocation of existing methods on other instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:824 151s 151s 129) #any_instance when stubbing does not suppress an exception when a method that doesn't exist is invoked 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:91 151s 151s 130) #any_instance when stubbing with argument matching returns the stubbed value when arguments match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:229 151s 151s 131) #any_instance when stubbing with argument matching fails the spec with an expectation error when the arguments do not match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:235 151s 151s 132) #any_instance when stubbing with #and_throw can stub a method that exists 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:328 151s 151s 133) #any_instance when stubbing with #and_throw can stub a method that doesn't exist 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:323 151s 151s 134) #any_instance when stubbing aliased methods tracks aliased method calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:213 151s 151s 135) #any_instance when stubbing with #and_yield yields the value specified 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:291 151s 151s 136) #any_instance when stubbing with #and_return returns the same object for calls on different instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:271 151s 151s 137) #any_instance when stubbing with #and_return can change how instances responds in the middle of an example 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:278 151s 151s 138) #any_instance when stubbing with #and_return can stub a method that doesn't exist 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:261 151s 151s 139) #any_instance when stubbing with #and_return can stub a method that exists 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:266 151s 151s 140) #any_instance when stubbing with multiple stubs stubs a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:248 151s 151s 141) #any_instance when stubbing with multiple stubs returns the same value for calls on different instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:254 151s 151s 142) #any_instance when stubbing when partially mocking objects resets partially mocked objects correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:349 151s 151s 143) #any_instance when stubbing behaves as 'every instance' stubs instance created before any_instance was called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:144 151s 151s 144) #any_instance when stubbing behaves as 'every instance' handles method restoration on subclasses 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:172 151s 151s 145) #any_instance when stubbing behaves as 'every instance' handles freeze and duplication correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:150 151s 151s 146) #any_instance when stubbing behaves as 'every instance' stubs every instance in the spec 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:138 151s 151s 147) #any_instance when stubbing behaves as 'every instance' handles stubbing on super and subclasses 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:157 151s 151s 148) #any_instance when stubbing behaves as 'every instance' handles stubbing on a sub class when a super class is stubbed differently 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:163 151s 151s 149) #any_instance when stubbing core ruby objects works with the non-standard constructor module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:390 151s 151s 150) #any_instance when stubbing core ruby objects works with the non-standard constructor "" 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:380 151s 151s 151) #any_instance when stubbing core ruby objects works uniformly across *everything* 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:365 151s 151s 152) #any_instance when stubbing core ruby objects works with the non-standard constructor [] 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:370 151s 151s 153) #any_instance when stubbing core ruby objects works with the non-standard constructor {} 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:375 151s 151s 154) #any_instance when stubbing core ruby objects works with the non-standard constructor class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:396 151s 151s 155) #any_instance when stubbing core ruby objects works with the non-standard constructor '' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:385 151s 151s 156) #any_instance when stubbing with #and_call_original and competing #with can combine and_call_original, with, and_return 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:301 151s 151s 157) #any_instance when stubbing with a block stubs a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:335 151s 151s 158) #any_instance when stubbing with a block returns the same computed value for calls on different instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:340 151s 151s 159) #any_instance when stubbing with #and_raise can stub a method that doesn't exist 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:311 151s 151s 160) #any_instance when stubbing with #and_raise can stub a method that exists 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:316 151s 151s 161) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:203 151s 151s 162) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:196 151s 151s 163) #any_instance when stubbing when the class has a prepended module prevents stubbing a method that is defined on the prepended module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:188 151s 151s 164) #any_instance when stubbing when the class has a prepended module allows stubbing a method that is not defined on the prepended module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:181 151s 151s 165) #any_instance when stubbing multiple methods allows multiple methods to be stubbed in a single invocation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:97 151s 151s 166) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:127 151s 151s 167) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:110 151s 151s 168) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:115 151s 151s 169) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:120 151s 151s 170) #any_instance when stubbing multiple methods allows a chain of methods to be stubbed using #receive_message_chain given symbols representing the methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:105 151s 151s 171) #any_instance unstubbing using `and_call_original` removes any stubs set directly on an instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:436 151s 151s 172) #any_instance unstubbing using `and_call_original` does not get confused about string vs symbol usage for the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:452 151s 151s 173) #any_instance unstubbing using `and_call_original` removes stubs even if they have already been invoked 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:418 151s 151s 174) #any_instance unstubbing using `and_call_original` removes all stubs with the supplied method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:411 151s 151s 175) #any_instance unstubbing using `and_call_original` removes stubs from sub class after Invocation when super class was originally stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:427 151s 151s 176) #any_instance unstubbing using `and_call_original` replaces the stubbed method with the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:405 151s 151s 177) #any_instance unstubbing using `and_call_original` does not remove any expectations with the same method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:444 151s 151s 178) #any_instance when a class overrides Object#method mocks the method correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1305 151s 151s 179) #any_instance when a class overrides Object#method stubs the method correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1300 151s 151s 180) #any_instance chain yields the value specified 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:47 151s 151s 181) #any_instance when directed at a method defined on a superclass mocks the method correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1286 151s 151s 182) #any_instance when directed at a method defined on a superclass stubs the method correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1281 151s 151s 183) #any_instance when used after the test has finished restores the original behavior of a stubbed method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1312 151s 151s 184) #any_instance when used after the test has finished does not restore a stubbed method not originally implemented in the class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1323 151s 151s 185) #any_instance when used after the test has finished restores the original behaviour, even if the expectation fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1331 151s 151s 186) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_raise' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:59 151s 151s 187) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_yield' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:63 151s 151s 188) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_return' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:55 151s 151s 189) #any_instance invocation order when stubbing allows chaining 'and_yield' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:71 151s 151s 190) #any_instance invocation order when stubbing raises an error if 'with' follows 'and_throw' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:67 151s 151s 191) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:83 151s 151s 192) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:78 151s 151s 193) #any_instance when used in conjunction with a `dup` doesn't fail when dup accepts parameters 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1266 151s 151s 194) #any_instance when used in conjunction with a `dup` doesn't cause an infinite loop 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1250 151s 151s 195) #any_instance when used in conjunction with a `dup` doesn't bomb if the object doesn't support `dup` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1259 151s 151s 196) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1231 151s 151s 197) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1240 151s 151s 198) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1185 151s 151s 199) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1194 151s 151s 200) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1213 151s 151s 201) #any_instance passing the receiver to the implementation block when configured to pass the instance an any instance expectation doesn't effect with 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1207 151s 151s 202) #any_instance when resetting post-verification adds an instance to the current space when stubbed method is invoked 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1169 151s 151s 203) #any_instance when resetting post-verification existing method with expectations ensures that the next spec does not see that expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1147 151s 151s 204) #any_instance when resetting post-verification existing method with expectations private methods restores a stubbed private method after the spec is run 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1110 151s 151s 205) #any_instance when resetting post-verification existing method with expectations private methods ensures that the restored method behaves as it originally did 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1114 151s 151s 206) #any_instance when resetting post-verification existing method with expectations private methods cleans up the backed up method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1106 151s 151s 207) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1121 151s 151s 208) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1126 151s 151s 209) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1136 151s 151s 210) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1141 151s 151s 211) #any_instance when resetting post-verification existing method with stubbing private methods cleans up the backed up method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1083 151s 151s 212) #any_instance when resetting post-verification existing method with stubbing private methods restores a stubbed private method after the spec is run 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1087 151s 151s 213) #any_instance when resetting post-verification existing method with stubbing private methods ensures that the restored method behaves as it originally did 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1091 151s 151s 214) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1065 151s 151s 215) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1049 151s 151s 216) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1056 151s 151s 217) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:1159 151s 151s 218) #any_instance expect_any_instance_of(...).not_to receive affects previously stubbed instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:477 151s 151s 219) #any_instance expect_any_instance_of(...).not_to receive fails if the method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:460 151s 151s 220) #any_instance expect_any_instance_of(...).not_to receive passes if only a different method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:472 151s 151s 221) #any_instance expect_any_instance_of(...).not_to receive prevents confusing double-negative expressions involving `never` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:512 151s 151s 222) #any_instance expect_any_instance_of(...).not_to receive passes if no method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:468 151s 151s 223) #any_instance expect_any_instance_of(...).not_to receive with constraints passes if the method is called with different parameters 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:497 151s 151s 224) #any_instance expect_any_instance_of(...).not_to receive with constraints fails if the method is called with the specified parameters 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:490 151s 151s 225) #any_instance expect_any_instance_of(...).not_to receive when used in combination with should_receive passes if only the expected message is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance_spec.rb:504 151s 151s 226) RSpec::Mocks::Matchers::Receive has a description before being matched 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:636 151s 151s 227) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework first can use `expect` with any matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:730 151s 151s 228) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:736 151s 151s 229) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 151s 151s 230) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 151s 151s 231) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 151s 151s 232) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 151s 151s 233) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations cannot use `expect` with another matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:696 151s 151s 234) RSpec::Mocks::Matchers::Receive when used in a test framework without rspec-expectations can toggle the available syntax 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:704 151s 151s 235) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 151s 151s 236) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 151s 151s 237) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 151s 151s 238) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 151s 151s 239) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 151s 151s 240) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 151s 151s 241) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 151s 151s 242) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 151s 151s 243) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 151s 151s 244) RSpec::Mocks::Matchers::Receive when rspec-expectations is included in the test framework last can use `expect` with any matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:758 151s 151s 245) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:672 151s 151s 246) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:662 151s 151s 247) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:642 151s 151s 248) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:652 151s 151s 249) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts does not result in infinite recursion when `respond_to?` is stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:590 151s 151s 250) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with exact receive counts when the ordering is correct 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:524 151s 151s 251) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at most when the ordering is correct 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:568 151s 151s 252) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts fails with exact receive counts when the ordering is incorrect 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:533 151s 151s 253) RSpec::Mocks::Matchers::Receive expect(...).to receive ordered with receive counts passes with at least when the ordering is correct 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:546 151s 151s 254) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like resets partial mocks cleanly removes the method double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 151s 151s 255) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 151s 151s 256) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation provides a useful matcher description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 151s 151s 257) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 151s 151s 258) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 151s 151s 259) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 151s 151s 260) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 151s 151s 261) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 151s 151s 262) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 151s 151s 263) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 151s 151s 264) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 151s 151s 265) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 151s 151s 266) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 151s 151s 267) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 151s 151s 268) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 151s 151s 269) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 151s 151s 270) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 151s 151s 271) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 151s 151s 272) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 151s 151s 273) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 151s 151s 274) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 151s 151s 275) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 151s 151s 276) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 151s 151s 277) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:493 151s 151s 278) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:502 151s 151s 279) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 151s 151s 280) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 151s 151s 281) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 151s 151s 282) RSpec::Mocks::Matchers::Receive expect(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 151s 151s 283) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation prevents confusing double-negative expressions involving `never` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:322 151s 151s 284) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:288 151s 151s 285) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation supports `to_not` as an alias for `not_to` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:301 151s 151s 286) RSpec::Mocks::Matchers::Receive expect(...).not_to receive behaves like an expect syntax negative expectation allows the caller to constrain the received arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:309 151s 151s 287) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:293 151s 151s 288) RSpec::Mocks::Matchers::Receive allow(...).not_to receive behaves like an expect syntax negative allowance is disabled since this expression is confusing 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 151s 151s 289) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like an expect syntax allowance does not expect the message to be received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 151s 151s 290) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 151s 151s 291) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 151s 151s 292) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 151s 151s 293) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 151s 151s 294) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 151s 151s 295) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 151s 151s 296) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 151s 151s 297) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 151s 151s 298) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 151s 151s 299) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 151s 151s 300) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 151s 151s 301) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 151s 151s 302) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 151s 151s 303) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 151s 151s 304) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 151s 151s 305) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 151s 151s 306) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 151s 151s 307) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 151s 151s 308) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 151s 151s 309) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 151s 151s 310) RSpec::Mocks::Matchers::Receive allow_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 151s 151s 311) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:254 151s 151s 312) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation provides a useful matcher description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:278 151s 151s 313) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:260 151s 151s 314) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:611 151s 151s 315) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:268 151s 151s 316) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 151s 151s 317) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 151s 151s 318) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 151s 151s 319) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 151s 151s 320) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 151s 151s 321) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 151s 151s 322) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 151s 151s 323) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 151s 151s 324) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 151s 151s 325) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 151s 151s 326) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 151s 151s 327) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 151s 151s 328) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 151s 151s 329) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 151s 151s 330) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 151s 151s 331) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 151s 151s 332) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 151s 151s 333) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 151s 151s 334) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 151s 151s 335) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 151s 151s 336) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like resets partial mocks of any instance cleanly removes the method double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:347 151s 151s 337) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance does not expect the message to be received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:233 151s 151s 338) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:203 151s 151s 339) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:177 151s 151s 340) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:221 151s 151s 341) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:211 151s 151s 342) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:182 151s 151s 343) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:54 151s 151s 344) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:169 151s 151s 345) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does not support other matchers 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:191 151s 151s 346) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:63 151s 151s 347) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like an expect syntax allowance behaves like a receive matcher does support inherited matchers 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:197 151s 151s 348) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:49 151s 151s 349) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:159 151s 151s 350) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:133 151s 151s 351) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:106 151s 151s 352) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:98 151s 151s 353) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:118 151s 151s 354) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:81 151s 151s 355) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:126 151s 151s 356) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:90 151s 151s 357) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:153 151s 151s 358) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:395 151s 151s 359) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:375 151s 151s 360) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:382 151s 151s 361) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like handles frozen objects cleanly when adding the method double raises clear error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:360 151s 151s 362) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:446 151s 151s 363) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:451 151s 151s 364) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:431 151s 151s 365) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:439 151s 151s 366) RSpec::Mocks::Matchers::Receive allow(...).to receive ordered with receive counts is not supported 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:417 151s 151s 367) RSpec::Mocks::Matchers::Receive allow(...).to receive behaves like resets partial mocks cleanly removes the method double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:337 151s 151s 368) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:240 151s 151s 369) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the expect warning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:26 151s 151s 370) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders includes the correct call site in the allow warning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:14 151s 151s 371) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about allow(Klass.any_instance).to receive... 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:9 151s 151s 372) RSpec::Mocks::Matchers::Receive expectations/allowances on any instance recorders warns about expect(Klass.any_instance).to receive... 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_spec.rb:19 151s 151s 373) at_most passes when at_most(:once) is called once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:32 151s 151s 374) at_most returns the value given by a block when at_most(:once) method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:75 151s 151s 375) at_most passes when at_most(n) is called exactly n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:14 151s 151s 376) at_most passes when at_most(n) is called exactly 1 time 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:8 151s 151s 377) at_most passes when at_most(:twice) is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:56 151s 151s 378) at_most fails fast when at_most(n) times method is called n plus 1 time 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:91 151s 151s 379) at_most fails fast when at_most(:once) and is called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:100 151s 151s 380) at_most passes when at_most(:twice) is called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:49 151s 151s 381) at_most fails fast when at_most(:thrice) and is called four times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:117 151s 151s 382) at_most passes when at_most(:once) is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:38 151s 151s 383) at_most passes when at_most(:thrice) is called thrice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:67 151s 151s 384) at_most passes when at_most(:twice) is called once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:43 151s 151s 385) at_most passes when at_most(n) is called less than n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:21 151s 151s 386) at_most fails fast when at_most(:twice) and is called three times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:108 151s 151s 387) at_most fails fast when at_most(n) times method is called n plus 1 times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:81 151s 151s 388) at_most passes when at_most(n) is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:27 151s 151s 389) at_most passes when at_most(:thrice) is called less than three times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:61 151s 151s 390) at_most when called with negative expectation raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_most_spec.rb:128 151s 151s 391) .allow_message supports block implementations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:26 151s 151s 392) .allow_message does not set an expectation that the message will be received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:31 151s 151s 393) .allow_message sets up message allowance with params and return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:16 151s 151s 394) .allow_message sets up basic message allowance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:6 151s 151s 395) .allow_message does not get confused when the string and symbol message form are both used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:36 151s 151s 396) .allow_message when target cannot be proxied raises ArgumentError with message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:47 151s 151s 397) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:84 151s 151s 398) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:27 151s 151s 399) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:39 151s 151s 400) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:35 151s 151s 401) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:31 151s 151s 402) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:45 151s 151s 403) the spy family of methods instance_spy when passing a class object takes a class and a hash of method names and return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:66 151s 151s 404) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:45 151s 151s 405) the spy family of methods instance_spy when passing a class object behaves like a verifying spy with a foo method records called methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:35 151s 151s 406) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:31 151s 151s 407) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:39 151s 151s 408) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:27 151s 151s 409) the spy family of methods object_spy takes an instance and a hash of method names and return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:105 151s 151s 410) the spy family of methods object_spy behaves like a verifying spy with a foo method responds to methods on the verified object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:27 151s 151s 411) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:39 151s 151s 412) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:45 151s 151s 413) the spy family of methods object_spy behaves like a verifying spy with a foo method records called methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:35 151s 151s 414) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:31 151s 151s 415) the spy family of methods spy takes a name and a hash of method names and return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:21 151s 151s 416) the spy family of methods spy takes a hash of method names and return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:17 151s 151s 417) the spy family of methods spy responds to arbitrary methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:5 151s 151s 418) the spy family of methods spy records called methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:13 151s 151s 419) the spy family of methods spy takes a name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:9 151s 151s 420) the spy family of methods class_spy takes a class and a hash of method names and return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:123 151s 151s 421) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:45 151s 151s 422) the spy family of methods class_spy behaves like a verifying spy with a foo method records called methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:35 151s 151s 423) the spy family of methods class_spy behaves like a verifying spy with a foo method responds to methods on the verified object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:27 151s 151s 424) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:31 151s 151s 425) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/spy_spec.rb:39 151s 151s 426) when using the :expect syntax still supports null object doubles 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:129 151s 151s 427) ordering fails when messages are received out of order (2nd message 1st) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:38 151s 151s 428) ordering fails when messages are received out of order (3rd message 1st) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:46 151s 151s 429) ordering supports duplicate messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:100 151s 151s 430) ordering fails when messages are out of order across objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:66 151s 151s 431) ordering ignores order of non ordered messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:80 151s 151s 432) ordering passes when messages are received in order 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:7 151s 151s 433) ordering fails when messages are received out of order (3rd message 2nd) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:56 151s 151s 434) ordering passes when messages are received in order 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:16 151s 151s 435) ordering passes when messages are received in order across objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_ordering_spec.rb:27 151s 151s 436) Using a reopened file object as a partial mock allows `write` to be stubbed and reset 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:199 151s 151s 437) #thrice fails fast when call count is higher than expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:28 151s 151s 438) #thrice fails when called with wrong args on the first call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:44 151s 151s 439) #thrice passes when called thrice with specified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:14 151s 151s 440) #thrice fails when called with wrong args on the second call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:52 151s 151s 441) #thrice fails when call count is lower than expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:36 151s 151s 442) #thrice fails when called with wrong args on the third call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:61 151s 151s 443) #thrice passes when called thrice with unspecified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:20 151s 151s 444) #thrice passes when called thrice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:8 151s 151s 445) #thrice when called with negative expectation raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/thrice_counts_spec.rb:72 151s 151s 446) Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:94 151s 151s 447) Test doubles format well in failure messages `object_double([])` without a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:88 151s 151s 448) Test doubles format well in failure messages `object_double([])` with a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:82 151s 151s 449) Test doubles format well in failure messages `double` avoids sending `instance_variable_get` to the double as it may be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:39 151s 151s 450) Test doubles format well in failure messages `double` with a name formats the name as a symbol if that was how it was provided 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:28 151s 151s 451) Test doubles format well in failure messages `double` with a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:24 151s 151s 452) Test doubles format well in failure messages `double` without a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:34 151s 151s 453) Test doubles format well in failure messages `instance_double(SomeClass)` avoids sending `instance_variable_get` to the double as it may be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:59 151s 151s 454) Test doubles format well in failure messages `instance_double(SomeClass)` without a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:54 151s 151s 455) Test doubles format well in failure messages `instance_double(SomeClass)` with a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:48 151s 151s 456) Test doubles format well in failure messages `class_double(SomeClass)` without a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:74 151s 151s 457) Test doubles format well in failure messages `class_double(SomeClass)` with a name # 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/formatting_spec.rb:68 151s 151s 458) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:106 151s 151s 459) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:100 151s 151s 460) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:93 151s 151s 461) A class double with the doubled class not loaded trying to raise a class_double raises a TypeError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:25 151s 151s 462) A class double with the doubled class not loaded includes the double name in errors for unexpected messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:12 151s 151s 463) A class double with the doubled class not loaded allows any method to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:19 151s 151s 464) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:60 151s 151s 465) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:65 151s 151s 466) A class double with the doubled class not loaded when stubbing a private module method can mock private module methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb:46 151s 151s 467) An instance double with the doubled class loaded checks the arity of stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:70 151s 151s 468) An instance double with the doubled class loaded only allows instance methods that exist to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:20 151s 151s 469) An instance double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:79 151s 151s 470) An instance double with the doubled class loaded suggests using `class_double` when a class method is stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:33 151s 151s 471) An instance double with the doubled class loaded checks that stubbed methods with required keyword args are invoked with the required arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:133 151s 151s 472) An instance double with the doubled class loaded doesn't suggest `class_double` when a non-class method is stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:38 151s 151s 473) An instance double with the doubled class loaded allows keyword arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:87 151s 151s 474) An instance double with the doubled class loaded allows class to be specified by constant 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:149 151s 151s 475) An instance double with the doubled class loaded allows `send` to be stubbed if it is defined on the class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:43 151s 151s 476) An instance double with the doubled class loaded gives a descriptive error message for NoMethodError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:49 151s 151s 477) An instance double with the doubled class loaded does not allow dynamic methods to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:57 151s 151s 478) An instance double with the doubled class loaded validates `with` args against the method signature when stubbing a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:142 151s 151s 479) An instance double with the doubled class loaded only allows instance methods that exist to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:12 151s 151s 480) An instance double with the doubled class loaded for null objects reports that it responds to protected methods when the appropriate arg is passed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:223 151s 151s 481) An instance double with the doubled class loaded for null objects only allows defined methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:181 151s 151s 482) An instance double with the doubled class loaded for null objects verifies arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:188 151s 151s 483) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:210 151s 151s 484) An instance double with the doubled class loaded for null objects includes the double's name in a private method error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:194 151s 151s 485) An instance double with the doubled class loaded for null objects reports what public messages it responds to accurately 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:200 151s 151s 486) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:126 151s 151s 487) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:93 151s 151s 488) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:100 151s 151s 489) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:115 151s 151s 490) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:106 151s 151s 491) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:157 151s 151s 492) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:163 151s 151s 493) An instance double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb:171 151s 151s 494) stub implementation with no args execs the block when called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:5 151s 151s 495) stub implementation with variable args execs the block when called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:21 151s 151s 496) stub implementation with one arg execs the block with that arg when called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:13 151s 151s 497) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:49 151s 151s 498) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) updates stubs on instances with existing stubs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:55 151s 151s 499) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 151s 151s 500) allow_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 151s 151s 501) Using the legacy should syntax #stub_chain can stub a sequence of messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:61 151s 151s 502) Using the legacy should syntax #stub_chain raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 503) Using the legacy should syntax #received_message? answers false for received_message? when message received with incorrect args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:23 151s 151s 504) Using the legacy should syntax #received_message? answers false for received_message? when no messages received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:9 151s 151s 505) Using the legacy should syntax #received_message? answers true for received_message? when message received with correct args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:18 151s 151s 506) Using the legacy should syntax #received_message? answers true for received_message? when message received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:13 151s 151s 507) Using the legacy should syntax #stub raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 508) Using the legacy should syntax #stub can stub multiple messages using a hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:46 151s 151s 509) Using the legacy should syntax #stub returns `nil` from all terminal actions to discourage further configuration 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:34 151s 151s 510) Using the legacy should syntax #stub sets up a canned response 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:40 151s 151s 511) Using the legacy should syntax #stub supports options 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:30 151s 151s 512) Using the legacy should syntax #any_instance can stub a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:237 151s 151s 513) Using the legacy should syntax #any_instance affects previously stubbed instances when stubbing a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:255 151s 151s 514) Using the legacy should syntax #any_instance raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 515) Using the legacy should syntax #any_instance can mock a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:242 151s 151s 516) Using the legacy should syntax #any_instance adds a class to the current space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:231 151s 151s 517) Using the legacy should syntax #any_instance affects previously stubbed instances when mocking a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:263 151s 151s 518) Using the legacy should syntax #any_instance can get method objects for the fluent interface 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:248 151s 151s 519) Using the legacy should syntax #any_instance invocation order #should_receive raises an error if 'should_receive' follows 'with' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:335 151s 151s 520) Using the legacy should syntax #any_instance invocation order #stub_chain raises an error if 'stub_chain' follows 'and_return' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:303 151s 151s 521) Using the legacy should syntax #any_instance invocation order #stub_chain affects previously stubbed instances 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:324 151s 151s 522) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:313 151s 151s 523) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:308 151s 151s 524) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:318 151s 151s 525) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if no method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:349 151s 151s 526) Using the legacy should syntax #any_instance invocation order #should_not_receive fails if the method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:341 151s 151s 527) Using the legacy should syntax #any_instance invocation order #should_not_receive passes if only a different method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:353 151s 151s 528) Using the legacy should syntax #any_instance invocation order #should_not_receive prevents confusing double-negative expressions involving `never` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:382 151s 151s 529) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints passes if the method is called with different parameters 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:367 151s 151s 530) Using the legacy should syntax #any_instance invocation order #should_not_receive with constraints fails if the method is called with the specified parameters 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:359 151s 151s 531) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:374 151s 151s 532) Using the legacy should syntax #any_instance invocation order #unstub removes all stubs with the supplied method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:396 151s 151s 533) Using the legacy should syntax #any_instance invocation order #unstub removes stubs even if they have already been invoked 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:403 151s 151s 534) Using the legacy should syntax #any_instance invocation order #unstub does not remove any expectations with the same method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:435 151s 151s 535) Using the legacy should syntax #any_instance invocation order #unstub removes stubs from sub class after Invocation when super class was originally stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:411 151s 151s 536) Using the legacy should syntax #any_instance invocation order #unstub does not get confused about string vs symbol usage for the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:449 151s 151s 537) Using the legacy should syntax #any_instance invocation order #unstub does not remove message expectations set directly on an instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:427 151s 151s 538) Using the legacy should syntax #any_instance invocation order #unstub replaces the stubbed method with the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:390 151s 151s 539) Using the legacy should syntax #any_instance invocation order #unstub raises a MockExpectationError if the method has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:443 151s 151s 540) Using the legacy should syntax #any_instance invocation order #unstub removes stubs set directly on an instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:419 151s 151s 541) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'stub' follows 'with' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:273 151s 151s 542) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_return' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:277 151s 151s 543) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_yield' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:285 151s 151s 544) Using the legacy should syntax #any_instance invocation order #stub raises an error if 'with' follows 'and_raise' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:281 151s 151s 545) Using the legacy should syntax #any_instance invocation order #stub behaves as 'every instance' handles `unstub` on subclasses 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:293 151s 151s 546) Using the legacy should syntax #should_receive can set a canned response 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:146 151s 151s 547) Using the legacy should syntax #should_receive fails on verification if the message is not received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:133 151s 151s 548) Using the legacy should syntax #should_receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 549) Using the legacy should syntax #should_receive does not fail on verification if the message is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:139 151s 151s 550) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:170 151s 151s 551) Using the legacy should syntax #should_receive with an options hash reports the file and line submitted with :expected_from 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:159 151s 151s 552) Using the legacy should syntax #should_receive with an options hash uses the message supplied with :message after a similar stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:178 151s 151s 553) Using the legacy should syntax #should_not_receive returns a negative message expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:190 151s 151s 554) Using the legacy should syntax #should_not_receive does not fail on verification if the message is not received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:201 151s 151s 555) Using the legacy should syntax #should_not_receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 556) Using the legacy should syntax #should_not_receive fails when the message is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:194 151s 151s 557) Using the legacy should syntax #unstub does not remove any expectations with the same method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:101 151s 151s 558) Using the legacy should syntax #unstub restores the correct implementations when stubbed and unstubbed on a parent and child class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:111 151s 151s 559) Using the legacy should syntax #unstub raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 560) Using the legacy should syntax #unstub replaces the stubbed method with the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:84 151s 151s 561) Using the legacy should syntax #unstub raises a MockExpectationError if the method has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:124 151s 151s 562) Using the legacy should syntax #unstub removes all stubs with the supplied method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:92 151s 151s 563) RSpec::Mocks::TestDouble copies the `as_null_object` state when dup'd 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:34 151s 151s 564) RSpec::Mocks::TestDouble copies the `as_null_object` state when clone'd 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:34 151s 151s 565) RSpec::Mocks::TestDouble with syntax [:expect] stubs the methods passed in the stubs hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:48 151s 151s 566) RSpec::Mocks::TestDouble#freeze gives a warning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:7 151s 151s 567) RSpec::Mocks::TestDouble#freeze doesn't freeze the object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:17 151s 151s 568) RSpec::Mocks::TestDouble#freeze returns the instance of the test double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:27 151s 151s 569) RSpec::Mocks::TestDouble#freeze gives the correct call site for the warning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:12 151s 151s 570) RSpec::Mocks::TestDouble with syntax [:should] stubs the methods passed in the stubs hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:48 151s 151s 571) RSpec::Mocks::TestDouble with syntax [:should, :expect] stubs the methods passed in the stubs hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/test_double_spec.rb:48 151s 151s 572) a message expectation with multiple return values and no specified count falls back to a previously stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:30 151s 151s 573) a message expectation with multiple return values and no specified count returns values in order 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:23 151s 151s 574) a message expectation with multiple return values and no specified count fails when there are too few calls (if there is no stub) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:38 151s 151s 575) a message expectation with multiple return values and no specified count fails when there are too many calls (if there is no stub) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:44 151s 151s 576) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 577) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:571 151s 151s 578) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 579) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 580) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:576 151s 151s 581) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 582) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 583) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:595 151s 151s 584) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:619 151s 151s 585) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:584 151s 151s 586) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:604 151s 151s 587) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:609 151s 151s 588) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:645 151s 151s 589) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:54 151s 151s 590) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:146 151s 151s 591) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:35 151s 151s 592) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:43 151s 151s 593) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:62 151s 151s 594) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:90 151s 151s 595) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:195 151s 151s 596) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:100 151s 151s 597) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:70 151s 151s 598) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:80 151s 151s 599) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:25 151s 151s 600) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:156 151s 151s 601) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:30 151s 151s 602) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:111 151s 151s 603) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:134 151s 151s 604) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:183 151s 151s 605) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:124 151s 151s 606) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:188 151s 151s 607) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:169 151s 151s 608) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:174 151s 151s 609) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:301 151s 151s 610) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:297 151s 151s 611) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:315 151s 151s 612) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:381 151s 151s 613) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:398 151s 151s 614) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:389 151s 151s 615) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:327 151s 151s 616) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:323 151s 151s 617) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:331 151s 151s 618) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:355 151s 151s 619) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:369 151s 151s 620) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:361 151s 151s 621) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:430 151s 151s 622) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:420 151s 151s 623) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:411 151s 151s 624) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:347 151s 151s 625) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:339 151s 151s 626) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:343 151s 151s 627) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:215 151s 151s 628) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:239 151s 151s 629) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:231 151s 151s 630) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:221 151s 151s 631) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:273 151s 151s 632) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:247 151s 151s 633) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:264 151s 151s 634) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:285 151s 151s 635) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:484 151s 151s 636) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:447 151s 151s 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:455 151s 151s 638) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:517 151s 151s 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` fails when the order is not matched 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:538 151s 151s 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` passes when the order lines up 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:533 151s 151s 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:555 151s 151s 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:560 151s 151s 643) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:629 151s 151s 644) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:653 151s 151s 645) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/have_received_spec.rb:637 151s 151s 646) Marshal extensions #dump outside the per-test lifecycle does not duplicate the object before serialization 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/marshal_extension_spec.rb:58 151s 151s 647) Marshal extensions #dump when rspec-mocks has been fully initialized applying and unapplying patch is idempotent 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/marshal_extension_spec.rb:36 151s 151s 648) Marshal extensions #dump when rspec-mocks has been fully initialized duplicates objects with stubbed or mocked implementations before serialization 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/marshal_extension_spec.rb:17 151s 151s 649) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate nil before serialization 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/marshal_extension_spec.rb:31 151s 151s 650) Marshal extensions #dump when rspec-mocks has been fully initialized does not duplicate other objects before serialization 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/marshal_extension_spec.rb:24 151s 151s 651) and_wrap_original on a pure test double raises an error even if the double object responds to the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:100 151s 151s 652) and_wrap_original on a pure test double raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:92 151s 151s 653) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 151s 151s 654) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 151s 151s 655) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along any supplied block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 151s 151s 656) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 151s 151s 657) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original ignores previous stubs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 151s 151s 658) and_wrap_original on a partial double allow(...).to receive(...).and_wrap_original behaves like using and_wrap_original passes along the message arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 151s 151s 659) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 151s 151s 660) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 151s 151s 661) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:45 151s 151s 662) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:38 151s 151s 663) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:58 151s 151s 664) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:29 151s 151s 665) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:52 151s 151s 666) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:14 151s 151s 667) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:66 151s 151s 668) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_wrap_original_spec.rb:22 151s 151s 669) Serialization of mocked objects marshals the same with and without stubbing 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/serialization_spec.rb:84 151s 151s 670) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/serialization_spec.rb:43 151s 151s 671) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/serialization_spec.rb:47 151s 151s 672) Serialization of mocked objects without YAML loaded does not add #to_yaml to the stubbed object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/serialization_spec.rb:77 151s 151s 673) a message expectation with multiple return values with a specified count equal to the number of values returns values in order to consecutive calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:60 151s 151s 674) PreciseCounts fails when exactly n times method is called less than n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:8 151s 151s 675) PreciseCounts passes multiple calls with different args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:48 151s 151s 676) PreciseCounts fails when exactly n times method is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:27 151s 151s 677) PreciseCounts passes multiple calls with different args and counts 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:56 151s 151s 678) PreciseCounts fails fast when exactly n times method is called more than n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:17 151s 151s 679) PreciseCounts passes if exactly n times method is called exactly n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:34 151s 151s 680) PreciseCounts returns the value given by a block when the exactly once method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/precise_counts_spec.rb:42 151s 151s 681) with default syntax configuration doesn't warn about stubbing after a reset and setting should 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:554 151s 151s 682) with default syntax configuration warns about should not once, regardless of how many times it is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:487 151s 151s 683) with default syntax configuration warns about unstubbing once, regardless of how many times it is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:541 151s 151s 684) with default syntax configuration warns about stubbing once, regardless of how many times it is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:496 151s 151s 685) with default syntax configuration it warns about should once, regardless of how many times it is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:475 151s 151s 686) with default syntax configuration includes the call site in the deprecation warning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:564 151s 151s 687) negative expectation failure expect(...).to_not receive_messages(:a => 1, :b => 2) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:139 151s 151s 688) negative expectation failure allow_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:132 151s 151s 689) negative expectation failure expect_any_instance_of(...).to_not receive_messages(:a => 1, :b => 2) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:146 151s 151s 690) negative expectation failure allow(...).to_not receive_messages(:a => 1, :b => 2) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:125 151s 151s 691) Method visibility when using partial mocks keeps private methods private 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:324 151s 151s 692) Method visibility when using partial mocks keeps public methods public 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:318 151s 151s 693) Method visibility when using partial mocks keeps protected methods protected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:330 151s 151s 694) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher describes itself properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:6 151s 151s 695) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key/value pair 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:45 151s 151s 696) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one of the specified keys 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:53 151s 151s 697) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with one key/value pair included 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:61 151s 151s 698) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a non-hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:37 151s 151s 699) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with a specified key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:41 151s 151s 700) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with some of the specified keys 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:57 151s 151s 701) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher failing does not match a hash with the specified key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:49 151s 151s 702) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without any of the specified keys 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:27 151s 151s 703) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:11 151s 151s 704) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches an empty hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:23 151s 151s 705) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash with the specified key, but different value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:15 151s 151s 706) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches against classes inheriting from Hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:31 151s 151s 707) RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher passing matches a hash without the specified key, given as anything() 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_excluding_matcher_spec.rb:19 151s 151s 708) MockExpectationError is not caught by StandardError rescue blocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mock_expectation_error_spec.rb:12 151s 151s 709) when verify_partial_doubles configuration option is set temporarily supressing partial doubles does not affect normal verifying doubles 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:413 151s 151s 710) when verify_partial_doubles configuration option is set allows a method defined with method_missing to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:502 151s 151s 711) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double allowance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:517 151s 151s 712) when verify_partial_doubles configuration option is set allows stubbing and calls the stubbed implementation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:572 151s 151s 713) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:421 151s 151s 714) when verify_partial_doubles configuration option is set verifies arity range when receiving a message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:556 151s 151s 715) when verify_partial_doubles configuration option is set avoids deadlocks when a proxy is accessed from within a `before_verifying_doubles` callback 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:443 151s 151s 716) when verify_partial_doubles configuration option is set does not allow a spy on unimplemented method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:491 151s 151s 717) when verify_partial_doubles configuration option is set does not allow missing methods to be called on any_instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:547 151s 151s 718) when verify_partial_doubles configuration option is set verifies arity range when matching arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:497 151s 151s 719) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks on any_instance before verifying a double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:529 151s 151s 720) when verify_partial_doubles configuration option is set allows private methods to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:380 151s 151s 721) when verify_partial_doubles configuration option is set does not allow a non-existing method to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:487 151s 151s 722) when verify_partial_doubles configuration option is set allows private methods to be expected on any_instance expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:512 151s 151s 723) when verify_partial_doubles configuration option is set does not allow a non-existing method to be called on any_instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:541 151s 151s 724) when verify_partial_doubles configuration option is set allows valid methods to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:375 151s 151s 725) when verify_partial_doubles configuration option is set can be temporarily supressed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:385 151s 151s 726) when verify_partial_doubles configuration option is set allows valid methods to be expected on any_instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:507 151s 151s 727) when verify_partial_doubles configuration option is set can be temporarily supressed and nested 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:398 151s 151s 728) when verify_partial_doubles configuration option is set runs the before_verifying_double callbacks before verifying an allowance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:432 151s 151s 729) when verify_partial_doubles configuration option is set allows the mock to raise an error with yield 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:566 151s 151s 730) when verify_partial_doubles configuration option is set for a class only runs the `before_verifying_doubles` callback for the class (not for superclasses) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:462 151s 151s 731) when verify_partial_doubles configuration option is set for a class can be temporarily supressed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:474 151s 151s 732) when verify_partial_doubles configuration option is set when `.new` is stubbed uses the method signature from `#initialize` for arg verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:582 151s 151s 733) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:611 151s 151s 734) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:588 151s 151s 735) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:640 151s 151s 736) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:626 151s 151s 737) when verify_partial_doubles configuration option is set when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:599 151s 151s 738) RSpec::Mocks::InstanceMethodStasher undefines the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:67 151s 151s 739) RSpec::Mocks::InstanceMethodStasher stashes the current implementation of an instance method so it can be temporarily replaced 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:18 151s 151s 740) RSpec::Mocks::InstanceMethodStasher stashes private instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:32 151s 151s 741) RSpec::Mocks::InstanceMethodStasher only stashes methods directly defined on the given class, not its ancestors 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:45 151s 151s 742) RSpec::Mocks::InstanceMethodStasher does not unnecessarily create obfuscated aliased methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/instance_method_stasher_spec.rb:58 151s 151s 743) A partial class mock that has been subclassed cleans up stubs during #reset to prevent leakage onto subclasses between examples 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:278 151s 151s 744) A partial class mock that has been subclassed stubbing a base class class method returns the value for the stub on the base class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:292 151s 151s 745) A partial class mock that has been subclassed stubbing a base class class method returns the value for the descendent class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:296 151s 151s 746) An instance double with the doubled class not loaded handles classes that are materialized after mocking 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:35 151s 151s 747) An instance double with the doubled class not loaded includes the doubled module in errors for unexpected messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:12 151s 151s 748) An instance double with the doubled class not loaded allows any instance method to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:19 151s 151s 749) An instance double with the doubled class not loaded allows any instance method to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:25 151s 151s 750) An instance double with the doubled class not loaded for null objects returns self from any message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:45 151s 151s 751) An instance double with the doubled class not loaded for null objects reports it responds to any message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:49 151s 151s 752) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:64 151s 151s 753) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb:59 151s 151s 754) A chained method stub handles private instance methods (like Object#select) in the middle of a chain 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:160 151s 151s 755) A chained method stub returns expected value when chain is a dot separated string, like stub_chain('msg1.msg2.msg3') 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:147 151s 151s 756) A chained method stub does not get confused by symbol vs string usage for the messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:6 151s 151s 757) A chained method stub returns expected value from chaining four method calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:96 151s 151s 758) A chained method stub returns expected value from two chains with shared messages at the beginning 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:152 151s 151s 759) A chained method stub with four methods in chain using a hash with a string key returns the value of the key/value pair 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:89 151s 151s 760) A chained method stub with four methods in chain using a block returns the correct value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:75 151s 151s 761) A chained method stub with four methods in chain using and_return returns expected value from chaining two method calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:68 151s 151s 762) A chained method stub with four methods in chain using a hash returns the value of the key/value pair 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:82 151s 151s 763) A chained method stub with two methods in chain accepts any number of arguments to the stubbed messages in the chain 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:38 151s 151s 764) A chained method stub with two methods in chain using a block returns the correct value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:52 151s 151s 765) A chained method stub with two methods in chain using a hash returns the value of the key/value pair 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:59 151s 151s 766) A chained method stub with two methods in chain using and_return returns expected value from chaining two method calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:45 151s 151s 767) A chained method stub with messages shared across multiple chains using and_return starting with the same message returns expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:104 151s 151s 768) A chained method stub with messages shared across multiple chains using and_return starting with the different messages returns expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:114 151s 151s 769) A chained method stub with messages shared across multiple chains using => value starting with different messages returns expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:136 151s 151s 770) A chained method stub with messages shared across multiple chains using => value starting with the same message returns expected value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:126 151s 151s 771) A chained method stub with one method in chain using a block returns the correct value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:23 151s 151s 772) A chained method stub with one method in chain using a hash returns the value of the key/value pair 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:30 151s 151s 773) A chained method stub with one method in chain using and_return returns expected value from chaining only one method call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_chain_spec.rb:16 151s 151s 774) RSpec::Mocks::Space raises ArgumentError with message if object is symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:241 151s 151s 775) RSpec::Mocks::Space only adds an instance once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:120 151s 151s 776) RSpec::Mocks::Space can be diffed in a failure when it has references to an error generator via a proxy 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:229 151s 151s 777) RSpec::Mocks::Space tracks proxies in parent and child space separately 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:108 151s 151s 778) RSpec::Mocks::Space#verify_all verifies all mocks within 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:9 151s 151s 779) RSpec::Mocks::Space#verify_all verifies all any_instance recorders within 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:25 151s 151s 780) RSpec::Mocks::Space#verify_all does not reset the proxies (as that should be delayed until reset_all) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:39 151s 151s 781) RSpec::Mocks::Space#any_instance_recorder_for does not store a parent's proxy in the child space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:219 151s 151s 782) RSpec::Mocks::Space#any_instance_recorder_for returns the recorder for the given class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:206 151s 151s 783) RSpec::Mocks::Space#any_instance_recorder_for can still return a recorder from a parent context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:212 151s 151s 784) RSpec::Mocks::Space#reset_all resets all mocks within 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:50 151s 151s 785) RSpec::Mocks::Space#reset_all allows Array#reverse to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:61 151s 151s 786) RSpec::Mocks::Space#proxy_for returns the proxy for the given object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:138 151s 151s 787) RSpec::Mocks::Space#proxy_for does not store a parent's proxy in the child space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:154 151s 151s 788) RSpec::Mocks::Space#proxy_for can still return a proxy from a parent context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:147 151s 151s 789) RSpec::Mocks::Space#ensure_registered can still return a proxy from a parent context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:147 151s 151s 790) RSpec::Mocks::Space#ensure_registered returns the proxy for the given object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:138 151s 151s 791) RSpec::Mocks::Space#ensure_registered does not store a parent's proxy in the child space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:154 151s 151s 792) RSpec::Mocks::Space#registered? returns true if registered in a parent space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:171 151s 151s 793) RSpec::Mocks::Space#registered? returns false if not registered in this or a parent space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:176 151s 151s 794) RSpec::Mocks::Space#registered? returns true if registered in this space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:166 151s 151s 795) RSpec::Mocks::Space#constant_mutator_for can still return a mutator from a parent context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:192 151s 151s 796) RSpec::Mocks::Space#constant_mutator_for returns the mutator for the given const name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:182 151s 151s 797) RSpec::Mocks::Space#proxies_of(klass) returns only the proxies whose object is an instance of the given class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:86 151s 151s 798) RSpec::Mocks::Space#proxies_of(klass) looks in the parent space for matching proxies 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:97 151s 151s 799) RSpec::Mocks::Space#proxies_of(klass) returns proxies 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/space_spec.rb:69 151s 151s 800) Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:270 151s 151s 801) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:287 151s 151s 802) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:46 151s 151s 803) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:90 151s 151s 804) Diffs printed when arguments don't match with a non matcher object prints a diff of the args lists for multiple mismatched string arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:57 151s 151s 805) Diffs printed when arguments don't match with a non matcher object prints a diff with hash args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:81 151s 151s 806) Diffs printed when arguments don't match with a non matcher object does not print a diff when single line arguments are mismatched 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:12 151s 151s 807) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:21 151s 151s 808) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:33 151s 151s 809) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:68 151s 151s 810) Diffs printed when arguments don't match with a non matcher object prints a diff with array args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:241 151s 151s 811) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:117 151s 151s 812) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:102 151s 151s 813) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:133 151s 151s 814) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:174 151s 151s 815) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:187 151s 151s 816) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:201 151s 151s 817) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/diffing_spec.rb:251 151s 151s 818) RSpec::Mocks when there is a `let` declaration that overrides an argument matcher allows the `let` definition to win 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:229 151s 151s 819) RSpec::Mocks.configuration returns a memoized configuration instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:89 151s 151s 820) RSpec::Mocks.teardown resets method stubs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:54 151s 151s 821) RSpec::Mocks.teardown does not put rspec-mocks into an inconsistent state when called extra times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:61 151s 151s 822) RSpec::Mocks.setup starts a new space scope that is later removed by .teardown 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:76 151s 151s 823) RSpec::Mocks.with_temporary_scope does not verify if an error occurs before the block completes 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:202 151s 151s 824) RSpec::Mocks.with_temporary_scope returns the result of the passed block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:212 151s 151s 825) RSpec::Mocks.with_temporary_scope tears down even if an error occurs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:189 151s 151s 826) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:183 151s 151s 827) RSpec::Mocks.with_temporary_scope in a before(:all) with an any_instance stub allows the stub to be used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:173 151s 151s 828) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:177 151s 151s 829) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:142 151s 151s 830) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed const allows the stubbed constants to be used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:133 151s 151s 831) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:137 151s 151s 832) RSpec::Mocks.with_temporary_scope in a before(:all) with an unmet mock expectation fails with a mock expectation error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:158 151s 151s 833) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:117 151s 151s 834) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double allows the stubbed double to be used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:107 151s 151s 835) RSpec::Mocks.with_temporary_scope in a before(:all) with a stubbed double does not allow the double to be used in the examples 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:111 151s 151s 836) RSpec::Mocks behaves like library wide checks has no malformed whitespace 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # 151s 151s 837) RSpec::Mocks behaves like library wide checks issues no warnings when the spec files are loaded 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # 151s 151s 838) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # 151s 151s 839) RSpec::Mocks behaves like library wide checks issues no warnings when loaded 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # 151s 151s 840) RSpec::Mocks.verify delegates to the space 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks_spec.rb:42 151s 151s 841) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a test double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:6 151s 151s 842) RSpec::Mocks::MessageExpectation has a nice string representation for a message expectation constrained by `with` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:18 151s 151s 843) RSpec::Mocks::MessageExpectation has a nice string representation for a raw message expectation on a partial double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/message_expectation_string_representation_spec.rb:12 151s 151s 844) a message expectation with multiple return values specifying at_least less than the number of values fails when called less than the specified number 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:81 151s 151s 845) a message expectation with multiple return values specifying at_least less than the number of values uses the last return value for subsequent calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:74 151s 151s 846) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:89 151s 151s 847) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:96 151s 151s 848) An object double is not a module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:58 151s 151s 849) An object double can create a double that matches the interface of any arbitrary object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:32 151s 151s 850) An object double can replace an unloaded constant 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:8 151s 151s 851) An object double can replace a constant by name and verify instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:17 151s 151s 852) An object double does not allow as_stubbed_constant for real objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:52 151s 151s 853) An object double validates `with` args against the method signature when stubbing a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:62 151s 151s 854) An object double does not allow transferring constants to an object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:45 151s 151s 855) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double('ConstName')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:124 151s 151s 856) An object double when an unloaded object constant has previously been stubbed with a class treats it as being unloaded for `object_double(ConstName)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:129 151s 151s 857) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:78 151s 151s 858) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:72 151s 151s 859) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:90 151s 151s 860) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:96 151s 151s 861) An object double when an unloaded object constant has previously been stubbed with an object treats it as being unloaded for `object_double('ConstName')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:106 151s 151s 862) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/object_double_spec.rb:111 151s 151s 863) when the should syntax is enabled on a non-default syntax host continues to warn about the should syntax 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/should_syntax_spec.rb:574 151s 151s 864) a double receiving to_ary double as_null_object does respond to to_ary 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:23 151s 151s 865) a double receiving to_ary double as_null_object supports Array#flatten 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:13 151s 151s 866) a double receiving to_ary double as_null_object responds when overridden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:8 151s 151s 867) a double receiving to_ary double as_null_object does respond to to_a 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:27 151s 151s 868) a double receiving to_ary double as_null_object can be overridden with a stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:3 151s 151s 869) a double receiving to_ary double as_null_object returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:31 151s 151s 870) a double receiving to_ary double without as_null_object supports Array#flatten 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:13 151s 151s 871) a double receiving to_ary double without as_null_object can be overridden with a stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:3 151s 151s 872) a double receiving to_ary double without as_null_object raises 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:48 151s 151s 873) a double receiving to_ary double without as_null_object doesn't respond to to_a 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:44 151s 151s 874) a double receiving to_ary double without as_null_object doesn't respond to to_ary 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:40 151s 151s 875) a double receiving to_ary double without as_null_object responds when overridden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/to_ary_spec.rb:8 151s 151s 876) argument matchers matching array_including fails array_including when arg doesn't contain all elements 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:295 151s 151s 877) argument matchers matching array_including fails array_including when args aren't array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:288 151s 151s 878) argument matchers matching array_including matches array with array_including same array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:278 151s 151s 879) argument matchers matching array_including matches array with array_including using fuzzymatcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:283 151s 151s 880) argument matchers matching duck_type rejects goose when expecting a duck 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:123 151s 151s 881) argument matchers matching duck_type matches duck type with two methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:118 151s 151s 882) argument matchers matching duck_type matches duck type with one method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:113 151s 151s 883) argument matchers matching hash_excluding matches hash with hash_excluding same hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:264 151s 151s 884) argument matchers matching hash_excluding handles non matching instances nicely 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:269 151s 151s 885) argument matchers matching kind_of accepts float as kind_of(Numeric) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:35 151s 151s 886) argument matchers matching kind_of matches arguments that have defined `kind_of?` to return true 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:47 151s 151s 887) argument matchers matching kind_of handles a class thats overridden === 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:53 151s 151s 888) argument matchers matching kind_of accepts fixnum as kind_of(Numeric) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:30 151s 151s 889) argument matchers matching kind_of handles non matching kinds nicely 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:40 151s 151s 890) argument matchers matching handling arbitrary matchers matches any arbitrary object using #=== 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:337 151s 151s 891) argument matchers matching handling arbitrary matchers fails when given an arbitrary object that returns false from #=== 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:352 151s 151s 892) argument matchers matching handling arbitrary matchers matches against a Matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:345 151s 151s 893) argument matchers matching array_excluding fails array_excluding when using the fuzzy matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:328 151s 151s 894) argument matchers matching array_excluding fails array_excluding when is the same array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:309 151s 151s 895) argument matchers matching array_excluding matches array_excluding when using the fuzzy matcher 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:323 151s 151s 896) argument matchers matching array_excluding matches array with array_excluding different array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:304 151s 151s 897) argument matchers matching array_excluding fails array_excluding when arg contains some elements 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:316 151s 151s 898) argument matchers matching anything doesn't accept no arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:101 151s 151s 899) argument matchers matching anything handles non matching instances nicely 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:106 151s 151s 900) argument matchers matching anything accepts string as anything 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:96 151s 151s 901) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong keys 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:451 151s 151s 902) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is blank 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:498 151s 151s 903) argument matchers matching handling non-matcher arguments fails with zero arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:478 151s 151s 904) argument matchers matching handling non-matcher arguments fails with sensible message when args respond to #description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:484 151s 151s 905) argument matchers matching handling non-matcher arguments matches string against regexp 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:397 151s 151s 906) argument matchers matching handling non-matcher arguments matches against a hash submitted and received by value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:417 151s 151s 907) argument matchers matching handling non-matcher arguments matches regexp against regexp 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:402 151s 151s 908) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted regexp 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:412 151s 151s 909) argument matchers matching handling non-matcher arguments fails a class against an object of a different type 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:473 151s 151s 910) argument matchers matching handling non-matcher arguments matches a class against itself 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:458 151s 151s 911) argument matchers matching handling non-matcher arguments fails with sensible message when arg#description is nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:491 151s 151s 912) argument matchers matching handling non-matcher arguments fails for a hash w/ wrong values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:444 151s 151s 913) argument matchers matching handling non-matcher arguments fails if regexp does not match submitted string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:407 151s 151s 914) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:422 151s 151s 915) argument matchers matching handling non-matcher arguments matches a class against an instance of itself 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:468 151s 151s 916) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:429 151s 151s 917) argument matchers matching handling non-matcher arguments fails a class against an unrelated class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:463 151s 151s 918) argument matchers matching instance_of does NOT accept integer as instance_of(Numeric) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:72 151s 151s 919) argument matchers matching instance_of rejects non string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:82 151s 151s 920) argument matchers matching instance_of accepts float as instance_of(Float) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:62 151s 151s 921) argument matchers matching instance_of does NOT accept float as instance_of(Numeric) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:67 151s 151s 922) argument matchers matching instance_of rejects non numeric 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:77 151s 151s 923) argument matchers matching instance_of handles non matching instances nicely 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:87 151s 151s 924) argument matchers matching any_args when passed twice immediately signals that this is invalid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:221 151s 151s 925) argument matchers matching any_args as the first of three args does not match a call of no args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:191 151s 151s 926) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:175 151s 151s 927) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:179 151s 151s 928) argument matchers matching any_args as the first of three args does not match a call where the last two args do not match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:187 151s 151s 929) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:183 151s 151s 930) argument matchers matching any_args as the only arg passed to `with` matches one arg 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:139 151s 151s 931) argument matchers matching any_args as the only arg passed to `with` matches no args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:135 151s 151s 932) argument matchers matching any_args as the only arg passed to `with` matches many args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:143 151s 151s 933) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:159 151s 151s 934) argument matchers matching any_args as the last of three args does not match a call of no args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:167 151s 151s 935) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:151 151s 151s 936) argument matchers matching any_args as the last of three args does not match a call where the first two args do not match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:163 151s 151s 937) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:155 151s 151s 938) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:207 151s 151s 939) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:203 151s 151s 940) argument matchers matching any_args as the middle of three args does not match a call of no args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:215 151s 151s 941) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:211 151s 151s 942) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:199 151s 151s 943) argument matchers matching boolean rejects non boolean 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:21 151s 151s 944) argument matchers matching boolean accepts false as boolean 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:16 151s 151s 945) argument matchers matching boolean accepts true as boolean 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:11 151s 151s 946) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:383 151s 151s 947) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:373 151s 151s 948) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:378 151s 151s 949) argument matchers matching hash_including matches hash with hash_including same hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:250 151s 151s 950) argument matchers matching hash_including fails hash_including with missing key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:255 151s 151s 951) argument matchers matching no_args fails no_args with one arg 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:235 151s 151s 952) argument matchers matching no_args matches no args against no_args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:230 151s 151s 953) argument matchers matching no_args when passed with other arguments immediately signals that this is invalid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/argument_matchers_spec.rb:241 151s 151s 954) RSpec::Mocks::Double returns the previously stubbed value if no return value is set 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:203 151s 151s 955) RSpec::Mocks::Double does not mess with the stub's yielded values when also doubleed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:635 151s 151s 956) RSpec::Mocks::Double responds to to_a as a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:306 151s 151s 957) RSpec::Mocks::Double uses 'Double' in failure messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:15 151s 151s 958) RSpec::Mocks::Double raises a given instance of an exception 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:362 151s 151s 959) RSpec::Mocks::Double does not blow up when resetting standard object methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:25 151s 151s 960) RSpec::Mocks::Double fails when args are expected but none are received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:416 151s 151s 961) RSpec::Mocks::Double is able to raise from method calling yielding double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:559 151s 151s 962) RSpec::Mocks::Double responds to to_ary as a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:302 151s 151s 963) RSpec::Mocks::Double allows setter methods to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:52 151s 151s 964) RSpec::Mocks::Double returns the stubbed value when stubbed with args and no new value specified 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:628 151s 151s 965) RSpec::Mocks::Double does not raise when told to if args dont match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:386 151s 151s 966) RSpec::Mocks::Double fails when calling yielding method consecutively with wrong arity 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:536 151s 151s 967) RSpec::Mocks::Double returns the stubbed value when no new value specified 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:621 151s 151s 968) RSpec::Mocks::Double passes when not receiving message specified as not to be received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:98 151s 151s 969) RSpec::Mocks::Double does not get string vs symbol messages confused 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:31 151s 151s 970) RSpec::Mocks::Double returns nil if no return value is set and there is no previously stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:210 151s 151s 971) RSpec::Mocks::Double does not respond_to? method_missing (because it's private) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:11 151s 151s 972) RSpec::Mocks::Double warns when `and_return` is called on a negative expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:109 151s 151s 973) RSpec::Mocks::Double passes proc to stub block with an argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:331 151s 151s 974) RSpec::Mocks::Double fails when receiving message specified as not to be received with args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:140 151s 151s 975) RSpec::Mocks::Double raises exception if args don't match when method called even when using null_object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:243 151s 151s 976) RSpec::Mocks::Double restores objects to their original state on rspec_reset 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:580 151s 151s 977) RSpec::Mocks::Double fails when calling yielding method without block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:546 151s 151s 978) RSpec::Mocks::Double yields two values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:501 151s 151s 979) RSpec::Mocks::Double temporarily replaces a method stub on a non-double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:611 151s 151s 980) RSpec::Mocks::Double prevents confusing double-negative expressions involving `never` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:103 151s 151s 981) RSpec::Mocks::Double yields one arg to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:447 151s 151s 982) RSpec::Mocks::Double yields single value 3 times consecutively 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:491 151s 151s 983) RSpec::Mocks::Double is wrappable in an array when a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:296 151s 151s 984) RSpec::Mocks::Double yields one arg 3 times consecutively to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:455 151s 151s 985) RSpec::Mocks::Double generates the correct error when an unfulfilled expectation uses an unused double as a `with` argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:38 151s 151s 986) RSpec::Mocks::Double ignores args on any args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:400 151s 151s 987) RSpec::Mocks::Double yields two values 3 times consecutively 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:510 151s 151s 988) RSpec::Mocks::Double passes when receiving message specified as not to be received with different args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:123 151s 151s 989) RSpec::Mocks::Double fails when calling yielding method with invalid kw args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:528 151s 151s 990) RSpec::Mocks::Double clears expectations after verify 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:571 151s 151s 991) RSpec::Mocks::Double raises RuntimeError by default 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:342 151s 151s 992) RSpec::Mocks::Double fails when calling yielding method with wrong arity 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:520 151s 151s 993) RSpec::Mocks::Double fails right away when method defined as never is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:336 151s 151s 994) RSpec::Mocks::Double uses block for expectation if provided 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:270 151s 151s 995) RSpec::Mocks::Double fails if expectation block fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:280 151s 151s 996) RSpec::Mocks::Double fails on no args if any args received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:409 151s 151s 997) RSpec::Mocks::Double raises exception if args don't match when method called even when the method is stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:234 151s 151s 998) RSpec::Mocks::Double passes proc to stub block without an argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:326 151s 151s 999) RSpec::Mocks::Double allows string representation of methods in constructor 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:47 151s 151s 1000) RSpec::Mocks::Double yields many args 3 times consecutively to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:473 151s 151s 1001) RSpec::Mocks::Double allows parameter as return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:197 151s 151s 1002) RSpec::Mocks::Double raises exception if args don't match when method called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:216 151s 151s 1003) RSpec::Mocks::Double does not require a different signature to replace a method stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:596 151s 151s 1004) RSpec::Mocks::Double does not get confused when a positive expectation is used with a string and symbol message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:187 151s 151s 1005) RSpec::Mocks::Double reports line number of expectation of unreceived message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:77 151s 151s 1006) RSpec::Mocks::Double allows `class` to be stubbed even when `any_instance` has already been used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:60 151s 151s 1007) RSpec::Mocks::Double passes proc to expectation block with an argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:321 151s 151s 1008) RSpec::Mocks::Double has method_missing as private 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:7 151s 151s 1009) RSpec::Mocks::Double temporarily replaces a method stub on a double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:587 151s 151s 1010) RSpec::Mocks::Double raises RuntimeError with a message by default 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:347 151s 151s 1011) RSpec::Mocks::Double raises a given instance of an exception with arguments other than the standard 'message' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:375 151s 151s 1012) RSpec::Mocks::Double passes proc to expectation block without an argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:316 151s 151s 1013) RSpec::Mocks::Double does not get confused when a negative expectation is used with a string and symbol message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:178 151s 151s 1014) RSpec::Mocks::Double is able to double send 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:553 151s 151s 1015) RSpec::Mocks::Double allows `send` to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:71 151s 151s 1016) RSpec::Mocks::Double yields single value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:483 151s 151s 1017) RSpec::Mocks::Double yields many args to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:465 151s 151s 1018) RSpec::Mocks::Double can yield multiple times when told to do so 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:643 151s 151s 1019) RSpec::Mocks::Double throws when told to 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:393 151s 151s 1020) RSpec::Mocks::Double raises an exception of a given type with a message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:357 151s 151s 1021) RSpec::Mocks::Double fails when receiving message specified as not to be received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:130 151s 151s 1022) RSpec::Mocks::Double hides internals in its inspect representation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:20 151s 151s 1023) RSpec::Mocks::Double yields 0 args multiple times to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:438 151s 151s 1024) RSpec::Mocks::Double fails if unexpected method called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:264 151s 151s 1025) RSpec::Mocks::Double returns value from block by default 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:423 151s 151s 1026) RSpec::Mocks::Double assigns stub return values 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:653 151s 151s 1027) RSpec::Mocks::Double raises an exception of a given type without an error message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:352 151s 151s 1028) RSpec::Mocks::Double is wrappable in an array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:290 151s 151s 1029) RSpec::Mocks::Double raises an error when a previously stubbed method has a negative expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:605 151s 151s 1030) RSpec::Mocks::Double fails when array arguments do not match 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:150 151s 151s 1031) RSpec::Mocks::Double yields 0 args to blocks that take a variable number of arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:430 151s 151s 1032) RSpec::Mocks::Double reports line number of expectation of unreceived message after a message expectation after similar stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:87 151s 151s 1033) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:253 151s 151s 1034) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:170 151s 151s 1035) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:162 151s 151s 1036) RSpec::Mocks::Double string representation generated by #to_s does not contain < because that might lead to invalid HTML in some situations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:722 151s 151s 1037) RSpec::Mocks::Double == sends '== self' to the comparison object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:752 151s 151s 1038) RSpec::Mocks::Double#to_str should not respond to #to_str to avoid being coerced to strings by the runtime 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:730 151s 151s 1039) RSpec::Mocks::Double with with a block with non-matching args fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:815 151s 151s 1040) RSpec::Mocks::Double with with a block with matching args returns the result of the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:808 151s 151s 1041) RSpec::Mocks::Double with with args with non-matching doubles as_null_object fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:794 151s 151s 1042) RSpec::Mocks::Double with with args with non-matching args fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:772 151s 151s 1043) RSpec::Mocks::Double with with args with matching args passes 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:765 151s 151s 1044) RSpec::Mocks::Double with with args with non-matching doubles fails 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:782 151s 151s 1045) RSpec::Mocks::Double double created with no name does not use a name in a failure message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:739 151s 151s 1046) RSpec::Mocks::Double double created with no name does respond to initially stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:744 151s 151s 1047) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:224 151s 151s 1048) RSpec::Mocks::Double a double message receiving a block calls the block after #ordered 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:710 151s 151s 1049) RSpec::Mocks::Double a double message receiving a block calls the block after #once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:685 151s 151s 1050) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` after a similar stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:676 151s 151s 1051) RSpec::Mocks::Double a double message receiving a block supports a block passed to `receive` for `expect` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:668 151s 151s 1052) RSpec::Mocks::Double a double message receiving a block calls the block after #times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:702 151s 151s 1053) RSpec::Mocks::Double a double message receiving a block calls the block after #twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/double_spec.rb:693 151s 151s 1054) Supporting Rails monkey patches works when Rails has monkey patched #with 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/integration/rails_support_spec.rb:10 151s 151s 1055) Supporting Rails monkey patches works mocking any instance when Rails has monkey patched #with 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/integration/rails_support_spec.rb:37 151s 151s 1056) a double declaration with a block handed to: allow(...).to receive returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:19 151s 151s 1057) a double declaration with a block handed to: allow(...).to receive forwards all given args to the block, even when it receives a block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:27 151s 151s 1058) a double declaration with a block handed to: once returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:53 151s 151s 1059) a double declaration with a block handed to: with returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:38 151s 151s 1060) a double declaration with a block handed to: with returns the value of executing the block with given argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:44 151s 151s 1061) a double declaration with a block handed to: times returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:71 151s 151s 1062) a double declaration with a block handed to: ordered returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:62 151s 151s 1063) a double declaration with a block handed to: twice returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:53 151s 151s 1064) a double declaration with a block handed to: expect(...).to receive returns the value of executing the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:3 151s 151s 1065) a double declaration with a block handed to: expect(...).to receive works when a multi-return stub has already been set 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/block_return_value_spec.rb:9 151s 151s 1066) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1067) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1068) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1069) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1070) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1071) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1072) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1073) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/modifying_invoked_expectations_spec.rb:5 151s 151s 1074) an expectation set on nil issues a warning with file and line number information 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:4 151s 151s 1075) an expectation set on nil does not call #nil? on a double extra times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:60 151s 151s 1076) an expectation set on nil does not issue a warning when expectations are set to be allowed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:24 151s 151s 1077) an expectation set on nil issues a warning when the expectation is negative 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:15 151s 151s 1078) an expectation set on nil configured to allow expectation on nil does not issue a warning when expectations are set to be allowed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:38 151s 151s 1079) an expectation set on nil configured to disallow expectations on nil raises an error when expectations on nil are disallowed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:53 151s 151s 1080) when a class method is aliased on a subclass and the method is mocked restores the original aliased public method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stash_spec.rb:26 151s 151s 1081) RSpec::Mocks::ErrorGenerator formatting arguments formats time objects with increased precision 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:31 151s 151s 1082) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects on default method stub error message display starts in new line 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:79 151s 151s 1083) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that do not define description does not use the object's description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:62 151s 151s 1084) RSpec::Mocks::ErrorGenerator formatting arguments on matcher objects that define description uses the object's description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:52 151s 151s 1085) RSpec::Mocks::ErrorGenerator formatting arguments on non-matcher objects that define #description does not use the object's description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:42 151s 151s 1086) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/error_generator_spec.rb:15 151s 151s 1087) A method stub with args complains if called with other arg 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:534 151s 151s 1088) A method stub with args does not complain if called with arg 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:524 151s 151s 1089) A method stub with args does not complain if not called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:521 151s 151s 1090) A method stub with args complains if called with no arg 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:528 151s 151s 1091) A method stub with args uses the correct stubbed response when responding to a mock expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:555 151s 151s 1092) A method stub with args complains if also mocked w/ different args AND called w/ a 3rd set of args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:546 151s 151s 1093) A method stub with args does not complain if also mocked w/ different args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:540 151s 151s 1094) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:116 151s 151s 1095) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:122 151s 151s 1096) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:109 151s 151s 1097) allow(...).to receive_messages(:a => 1, :b => 2) allows the object to respond to multiple messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:35 151s 151s 1098) allow(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 151s 151s 1099) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 151s 151s 1100) allow(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 151s 151s 1101) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when allowing a protected method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 151s 151s 1102) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when allowing a private method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:72 151s 151s 1103) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility when expecting a private method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 151s 151s 1104) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility on a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 151s 151s 1105) Method visibility for verified doubles for a class double (when the class is loaded) can expect a protected instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 151s 151s 1106) Method visibility for verified doubles for a class double (when the class is loaded) can allow a protected instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 151s 151s 1107) Method visibility for verified doubles for a class double (when the class is loaded) can allow a private instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:60 151s 151s 1108) Method visibility for verified doubles for a class double (when the class is loaded) preserves private visibility on a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:89 151s 151s 1109) Method visibility for verified doubles for a class double (when the class is loaded) can expect a private instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:66 151s 151s 1110) Method visibility for verified doubles for a class double (when the class is loaded) preserves protected visibility when expecting a protected method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:80 151s 151s 1111) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when allowing a protected method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 151s 151s 1112) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility on a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 151s 151s 1113) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility on a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:45 151s 151s 1114) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a protected instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 151s 151s 1115) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when expecting a private method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 151s 151s 1116) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a protected instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 151s 151s 1117) Method visibility for verified doubles for an instance double (when the class is loaded) preserves protected visibility when expecting a protected method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:36 151s 151s 1118) Method visibility for verified doubles for an instance double (when the class is loaded) can expect a private instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:22 151s 151s 1119) Method visibility for verified doubles for an instance double (when the class is loaded) preserves private visibility when allowing a private method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:28 151s 151s 1120) Method visibility for verified doubles for an instance double (when the class is loaded) can allow a private instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb:16 151s 151s 1121) A class double with the doubled class loaded gives a descriptive error message for NoMethodError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:43 151s 151s 1122) A class double with the doubled class loaded checks that stubbed methods are invoked with the correct arity 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:50 151s 151s 1123) A class double with the doubled class loaded only allows class methods that exist to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:20 151s 151s 1124) A class double with the doubled class loaded allows dynamically defined class method mocks with arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:64 151s 151s 1125) A class double with the doubled class loaded correctly verifies expectations when constant is removed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:99 151s 151s 1126) A class double with the doubled class loaded allows dynamically defined class methods to be expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:71 151s 151s 1127) A class double with the doubled class loaded can replace existing constants for the duration of the test 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:81 151s 151s 1128) A class double with the doubled class loaded can transfer nested constants to the double 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:92 151s 151s 1129) A class double with the doubled class loaded only allows class methods that exist to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:12 151s 151s 1130) A class double with the doubled class loaded suggests using `instance_double` when an instance method is stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:33 151s 151s 1131) A class double with the doubled class loaded verifies arguments for null objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:115 151s 151s 1132) A class double with the doubled class loaded validates `with` args against the method signature when stubbing a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:123 151s 151s 1133) A class double with the doubled class loaded only allows defined methods for null objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:108 151s 151s 1134) A class double with the doubled class loaded allows class to be specified by constant 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:76 151s 151s 1135) A class double with the doubled class loaded doesn't suggest `instance_double` when a non-instance method is stubbed' 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:38 151s 151s 1136) A class double with the doubled class loaded allows dynamically defined class method stubs with arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:57 151s 151s 1137) 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')` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:211 151s 151s 1138) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:217 151s 151s 1139) A class double with the doubled class loaded when `.new` is stubbed uses the method signature from `#initialize` for arg verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:135 151s 151s 1140) A class double with the doubled class loaded when `.new` is stubbed on a class that has undefined `new` prevents it from being stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:154 151s 151s 1141) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:142 151s 151s 1142) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:167 151s 151s 1143) A class double with the doubled class loaded when given a class that has an overridden `#name` method can still stub the const 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:197 151s 151s 1144) A class double with the doubled class loaded when given a class that has an overridden `#name` method properly verifies 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:193 151s 151s 1145) A class double with the doubled class loaded when given an anonymous class properly verifies 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb:184 151s 151s 1146) Methods added to every object limits the number of methods that get added to all objects 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/methods_spec.rb:13 151s 151s 1147) receive_message_chain when the expect and should syntaxes are enabled stubs the message correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:241 151s 151s 1148) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:127 151s 151s 1149) receive_message_chain with only the expect syntax enabled errors with a negative allowance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:8 151s 151s 1150) receive_message_chain with only the expect syntax enabled gives the { } block precedence over the do block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:46 151s 151s 1151) receive_message_chain with only the expect syntax enabled works with allow_any_instance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:151 151s 151s 1152) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:214 151s 151s 1153) receive_message_chain with only the expect syntax enabled works with a string of messages to chain 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:103 151s 151s 1154) receive_message_chain with only the expect syntax enabled works with a do block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:32 151s 151s 1155) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing a string) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:222 151s 151s 1156) receive_message_chain with only the expect syntax enabled works with and_yield 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:97 151s 151s 1157) receive_message_chain with only the expect syntax enabled errors with a negative expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:14 151s 151s 1158) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:206 151s 151s 1159) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:227 151s 151s 1160) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:115 151s 151s 1161) receive_message_chain with only the expect syntax enabled works with a {} block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:40 151s 151s 1162) receive_message_chain with only the expect syntax enabled works with and_throw 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:91 151s 151s 1163) receive_message_chain with only the expect syntax enabled does not raise when expect is used and the entire chain is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:143 151s 151s 1164) receive_message_chain with only the expect syntax enabled passes when with expect_any_instance_of is used and the entire chain is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:183 151s 151s 1165) receive_message_chain with only the expect syntax enabled works with and_return 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:54 151s 151s 1166) receive_message_chain with only the expect syntax enabled errors with a negative any_instance allowance 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:26 151s 151s 1167) receive_message_chain with only the expect syntax enabled works with expect where the first level of the chain is already expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:190 151s 151s 1168) receive_message_chain with only the expect syntax enabled works with and_call_original 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:73 151s 151s 1169) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:79 151s 151s 1170) receive_message_chain with only the expect syntax enabled works with and_raise 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:85 151s 151s 1171) receive_message_chain with only the expect syntax enabled affects previously stubbed instances when `expect_any_instance_of` is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:175 151s 151s 1172) receive_message_chain with only the expect syntax enabled can constrain the return value by the argument to the last call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:66 151s 151s 1173) receive_message_chain with only the expect syntax enabled errors with a negative any_instance expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:20 151s 151s 1174) receive_message_chain with only the expect syntax enabled provides a matcher description (when passing symbols and a hash) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:232 151s 151s 1175) receive_message_chain with only the expect syntax enabled works with and_invoke 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:60 151s 151s 1176) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:168 151s 151s 1177) receive_message_chain with only the expect syntax enabled accepts any number of arguments to the stubbed messages with an inline hash return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:121 151s 151s 1178) receive_message_chain with only the expect syntax enabled works with a hash return as the last argument in the chain 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:109 151s 151s 1179) receive_message_chain with only the expect syntax enabled works with allow where the first level of the chain is already expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:198 151s 151s 1180) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:135 151s 151s 1181) receive_message_chain with only the expect syntax enabled stubs already stubbed instances when using `allow_any_instance_of` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:159 151s 151s 1182) #null_object? defaults to false 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:120 151s 151s 1183) RSpec::Mocks::AnyInstance::MessageChains can remove all stub chains 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:18 151s 151s 1184) RSpec::Mocks::AnyInstance::MessageChains knows if a method has an expectation set on it 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:12 151s 151s 1185) RSpec::Mocks::AnyInstance::MessageChains knows if a method does not have an expectation set on it 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:7 151s 151s 1186) RSpec::Mocks::AnyInstance::MessageChains creating stub chains understands how to add a stub chain for a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:28 151s 151s 1187) RSpec::Mocks::AnyInstance::MessageChains creating stub chains allows multiple stub chains for a method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/any_instance/message_chains_spec.rb:33 151s 151s 1188) expection set on previously stubbed method indicates the site of expectation in the stacktrace when outputing arguments of similar calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:43 151s 151s 1189) expection set on previously stubbed method handles concurrent validation of expectations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:26 151s 151s 1190) expection set on previously stubbed method fails if message is not received after expectation is set 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:2 151s 151s 1191) expection set on previously stubbed method outputs arguments of similar calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:9 151s 151s 1192) expection set on previously stubbed method with argument constraint on stub distinguishes between duplicate individual values and arrays properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:95 151s 151s 1193) expection set on previously stubbed method with argument constraint on stub matches any args if no arg constraint set on expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:60 151s 151s 1194) expection set on previously stubbed method with argument constraint on stub matches specific args set on expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:68 151s 151s 1195) expection set on previously stubbed method with argument constraint on stub distinguishes between individual values and arrays properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:84 151s 151s 1196) expection set on previously stubbed method with argument constraint on stub fails if expectation's arg constraint is not met 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stubbed_message_expectations_spec.rb:76 151s 151s 1197) Using a partial mock on a proxy object works properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:236 151s 151s 1198) Using a partial mock on a proxy object does not confuse the proxy and the proxied object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:241 151s 151s 1199) Expected argument verification (when `#with` is called) when doubling a loaded class does not cover required args when `any_args` is not used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:97 151s 151s 1200) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:58 151s 151s 1201) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:66 151s 151s 1202) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:72 151s 151s 1203) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:80 151s 151s 1204) 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` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:86 151s 151s 1205) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:45 151s 151s 1206) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:37 151s 151s 1207) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:29 151s 151s 1208) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:111 151s 151s 1209) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:105 151s 151s 1210) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:119 151s 151s 1211) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:134 151s 151s 1212) 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) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:128 151s 151s 1213) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:150 151s 151s 1214) Expected argument verification (when `#with` is called) when doubling an unloaded class allows any arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb:11 151s 151s 1215) #allow_message_expectations_on_nil doesnt error when marshalled 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:85 151s 151s 1216) #allow_message_expectations_on_nil does not affect subsequent examples 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/nil_expectation_warning_spec.rb:70 151s 151s 1217) unstubbing with `and_call_original` removes all stubs with the supplied method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:38 151s 151s 1218) unstubbing with `and_call_original` does not remove any expectations with the same method name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:47 151s 151s 1219) unstubbing with `and_call_original` replaces the stubbed method with the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:30 151s 151s 1220) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 151s 151s 1221) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 151s 151s 1222) unstubbing with `and_call_original` when partial doubles are verified handles keyword arguments correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:97 151s 151s 1223) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a parent and child class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:58 151s 151s 1224) unstubbing with `and_call_original` when partial doubles are verified restores the correct implementations when stubbed and unstubbed on a grandparent and grandchild class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_implementation_spec.rb:71 151s 151s 1225) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes itself properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:6 151s 151s 1226) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher describes passed matchers 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:10 151s 151s 1227) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key when one pair is matching 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:87 151s 151s 1228) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:79 151s 151s 1229) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match when values are nil but keys are different 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:95 151s 151s 1230) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a non-hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:71 151s 151s 1231) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with an incorrect value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:91 151s 151s 1232) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match a hash with a missing key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:75 151s 151s 1233) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher failing does not match an empty hash with a given key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:83 151s 151s 1234) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches the same hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:17 151s 151s 1235) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches a hash with extra stuff 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:21 151s 151s 1236) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing matches against classes inheriting from Hash 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:25 151s 151s 1237) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches a string against anything() 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:34 151s 151s 1238) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers can match against arbitrary objects that implement #=== 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:38 151s 151s 1239) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when matching against other matchers matches an int against anything() 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:30 151s 151s 1240) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if the key is present 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:44 151s 151s 1241) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:64 151s 151s 1242) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:56 151s 151s 1243) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches a string against a given key 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:52 151s 151s 1244) RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher passing when passed only keys or keys mixed with key/value pairs matches if more keys are present 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:48 151s 151s 1245) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/hash_including_matcher_spec.rb:60 151s 151s 1246) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes passed matchers 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:9 151s 151s 1247) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher describes itself properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:5 151s 151s 1248) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when passed a composed matcher is passed and not satisfied 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:60 151s 151s 1249) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher failing fails when not all the entries in the expected are present 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:56 151s 151s 1250) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:20 151s 151s 1251) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:32 151s 151s 1252) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable when nested 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:48 151s 151s 1253) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing works with duplicates in actual 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:36 151s 151s 1254) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing is composable with other matchers 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:40 151s 151s 1255) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, which includes nested arrays 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:28 151s 151s 1256) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:16 151s 151s 1257) RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher passing matches the same array, specified without square brackets 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/array_including_matcher_spec.rb:24 151s 151s 1258) Constructing a verifying double can only be named with a string or a module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:162 151s 151s 1259) Constructing a verifying double object doubles declares the class to verifying double callbacks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:131 151s 151s 1260) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of class doubles for unloaded constants 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:155 151s 151s 1261) Constructing a verifying double when verify_doubled_constant_names config option is set prevents creation of instance doubles for unloaded constants 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:149 151s 151s 1262) Constructing a verifying double class doubles cannot be constructed with a non-module object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:104 151s 151s 1263) Constructing a verifying double class doubles declares named modules to verifying double callbacks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:110 151s 151s 1264) Constructing a verifying double class doubles declares anonymous modules to verifying double callbacks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:119 151s 151s 1265) Constructing a verifying double instance doubles allows anonymous constants to be looked up and declared to verifying double callbacks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:40 151s 151s 1266) Constructing a verifying double instance doubles can be constructed with a struct 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:24 151s 151s 1267) Constructing a verifying double instance doubles allows named constants to be looked up and declared to verifying double callbacks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:29 151s 151s 1268) Constructing a verifying double instance doubles allows classes to be customised 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:52 151s 151s 1269) Constructing a verifying double instance doubles cannot be constructed with a non-module object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:18 151s 151s 1270) Constructing a verifying double instance doubles any_instance calls the callback for allow_any_instance_of 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:85 151s 151s 1271) Constructing a verifying double instance doubles any_instance calls the callback for expect_any_instance_of 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:77 151s 151s 1272) Constructing a verifying double instance doubles any_instance should not call the callback if verify_partial_doubles is off 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/construction_spec.rb:93 151s 151s 1273) Partially mocking an object that defines ==, after another mock has been defined does not raise an error when stubbing the object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:268 151s 151s 1274) Verified double naming instance_spy behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1275) Verified double naming instance_spy behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1276) Verified double naming instance_spy behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1277) Verified double naming class_spy behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1278) Verified double naming class_spy behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1279) Verified double naming class_spy behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1280) Verified double naming object_spy behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1281) Verified double naming object_spy behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1282) Verified double naming object_spy behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1283) Verified double naming instance_double behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1284) Verified double naming instance_double behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1285) Verified double naming instance_double behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1286) Verified double naming class_double behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1287) Verified double naming class_double behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1288) Verified double naming class_double behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1289) Verified double naming object_double behaves like a named verifying double when no name is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:42 151s 151s 1290) Verified double naming object_double behaves like a named verifying double when a name is given as a string 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:32 151s 151s 1291) Verified double naming object_double behaves like a named verifying double when a name is given as a symbol 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/verifying_doubles/naming_spec.rb:37 151s 151s 1292) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:24 151s 151s 1293) Failure notification includes the line of future expectation in the notification for an unreceived message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:16 151s 151s 1294) Failure notification uses the rspec-support notifier to support `aggregate_failures` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:8 151s 151s 1295) Failure notification when using `aggregate_failures` spy failures for messages received with unexpected args are reported correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:45 151s 151s 1296) Failure notification when using `aggregate_failures` failing negative expectations are only notified once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:58 151s 151s 1297) Failure notification when using `aggregate_failures` spy failures for unreceived messages are reported correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/failure_notification_spec.rb:34 151s 151s 1298) a double _not_ acting as a null object raises an error when interpolated in a string as an integer 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:17 151s 151s 1299) a double _not_ acting as a null object says it does not respond to messages it doesn't understand 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:8 151s 151s 1300) a double _not_ acting as a null object says it responds to messages it does understand 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:12 151s 151s 1301) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) does not hide the const 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/before_all_spec.rb:30 151s 151s 1302) Using rspec-mocks features in before(:all) blocks #hide_const(for a defined const) raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1303) Using rspec-mocks features in before(:all) blocks #expect(...).to receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1304) Using rspec-mocks features in before(:all) blocks #stub_const does not stub the const 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/before_all_spec.rb:10 151s 151s 1305) Using rspec-mocks features in before(:all) blocks #stub_const raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1306) Using rspec-mocks features in before(:all) blocks #allow_any_instance_of(...).to receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1307) Using rspec-mocks features in before(:all) blocks #expect_any_instance_of(...).to receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1308) Using rspec-mocks features in before(:all) blocks #hide_const(for an undefined const) raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1309) Using rspec-mocks features in before(:all) blocks #allow(...).to receive raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1310) Using rspec-mocks features in before(:all) blocks allow(...).to receive_message_chain raises an error with a useful message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/support/before_all_shared_example_group.rb:11 151s 151s 1311) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:112 151s 151s 1312) expect_any_instance_of(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 151s 151s 1313) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 151s 151s 1314) Reraising eager raises during the verify step does not reraise when a double receives a message that hasn't been allowed/expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:4 151s 151s 1315) Reraising eager raises during the verify step when an expectation with a count is exceeded reraises during verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:63 151s 151s 1316) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:72 151s 151s 1317) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:27 151s 151s 1318) Reraising eager raises during the verify step when a negative expectation receives a call reraises during verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:12 151s 151s 1319) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:20 151s 151s 1320) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:42 151s 151s 1321) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:99 151s 151s 1322) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:89 151s 151s 1323) Reraising eager raises during the verify step when an expectation is called with the wrong arguments reraises during verification 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:81 151s 151s 1324) a double acting as a null object allows explicit stubs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:37 151s 151s 1325) a double acting as a null object returns a string from `to_str` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:47 151s 151s 1326) a double acting as a null object ignores unexpected methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:69 151s 151s 1327) a double acting as a null object allows unexpected message sends using `__send__` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:79 151s 151s 1328) a double acting as a null object allows unexpected message sends using `send` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:74 151s 151s 1329) a double acting as a null object continues to return self from an explicit expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:51 151s 151s 1330) a double acting as a null object allows expected message with different args first 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:84 151s 151s 1331) a double acting as a null object can be interpolated in a string as an integer 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:96 151s 151s 1332) a double acting as a null object fails verification when explicit exception not met 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:62 151s 151s 1333) a double acting as a null object says it responds to everything 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:33 151s 151s 1334) a double acting as a null object allows explicit expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:42 151s 151s 1335) a double acting as a null object does not allow null objects to be used outside of examples 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:104 151s 151s 1336) a double acting as a null object allows expected message with different args second 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:90 151s 151s 1337) a double acting as a null object returns an explicitly stubbed value from an expectation with no implementation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:56 151s 151s 1338) Combining implementation instructions can combine and_yield, a block implementation and and_throw 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:115 151s 151s 1339) Combining implementation instructions can combine and_call_original, with, and_return 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:173 151s 151s 1340) Combining implementation instructions can combine and_yield, a block implementation and and_raise 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:94 151s 151s 1341) Combining implementation instructions can combine and_yield and and_return 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:4 151s 151s 1342) Combining implementation instructions raises an error if `and_call_original` is followed by any other instructions 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:181 151s 151s 1343) Combining implementation instructions does not warn about overriding the stub when `:with` is chained off the block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:165 151s 151s 1344) Combining implementation instructions can combine and_yield and and_raise 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:85 151s 151s 1345) Combining implementation instructions can combine and_yield and and_throw 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:106 151s 151s 1346) Combining implementation instructions warns when the inner implementation block is overridden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:160 151s 151s 1347) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `times` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:55 151s 151s 1348) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `ordered` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:78 151s 151s 1349) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `once` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:61 151s 151s 1350) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_most` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:49 151s 151s 1351) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `at_least` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:43 151s 151s 1352) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `twice` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:67 151s 151s 1353) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `stub` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:25 151s 151s 1354) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `with` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:31 151s 151s 1355) Combining implementation instructions combining and_yield, a block implementation and and_return works when passing a block to `exactly` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:37 151s 151s 1356) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:142 151s 151s 1357) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:132 151s 151s 1358) 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)` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:137 151s 151s 1359) Combining implementation instructions a double that already has a terminal block action allows the block action to be overridden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/combining_implementation_instructions_spec.rb:152 151s 151s 1360) a double stubbed with multiple return values can still set a message expectation with a single return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_return_value_spec.rb:10 151s 151s 1361) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:563 151s 151s 1362) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice exposes its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:569 151s 151s 1363) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it was previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:565 151s 151s 1364) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:564 151s 151s 1365) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:566 151s 151s 1366) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:567 151s 151s 1367) RSpec::Mocks::Constant.original for a previously defined constant that has been hidden twice indicates it has been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:568 151s 151s 1368) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it was previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:551 151s 151s 1369) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:549 151s 151s 1370) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:554 151s 151s 1371) RSpec::Mocks::Constant.original for a previously defined hidden constant exposes its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:555 151s 151s 1372) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:553 151s 151s 1373) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:552 151s 151s 1374) RSpec::Mocks::Constant.original for a previously defined hidden constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:550 151s 151s 1375) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) returns nil for its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:582 151s 151s 1376) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:581 151s 151s 1377) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) exposes the provided string as the name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:576 151s 151s 1378) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:580 151s 151s 1379) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it was not previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:578 151s 151s 1380) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates it has not been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:579 151s 151s 1381) RSpec::Mocks::Constant.original for an invalid const name (such as an anonymous module's `inspect` output) indicates the name is invalid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:577 151s 151s 1382) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:541 151s 151s 1383) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it was previously undefined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:538 151s 151s 1384) RSpec::Mocks::Constant.original for a previously undefined hidden constant returns nil for the original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:542 151s 151s 1385) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:540 151s 151s 1386) RSpec::Mocks::Constant.original for a previously undefined hidden constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:536 151s 151s 1387) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates it has not been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:539 151s 151s 1388) RSpec::Mocks::Constant.original for a previously undefined hidden constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:537 151s 151s 1389) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:499 151s 151s 1390) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it was not previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:497 151s 151s 1391) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:496 151s 151s 1392) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:500 151s 151s 1393) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:495 151s 151s 1394) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant returns nil for the original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:501 151s 151s 1395) RSpec::Mocks::Constant.original for a previously undefined unstubbed constant indicates it has not been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:498 151s 151s 1396) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:509 151s 151s 1397) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:510 151s 151s 1398) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice exposes its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:515 151s 151s 1399) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:514 151s 151s 1400) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:513 151s 151s 1401) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:512 151s 151s 1402) RSpec::Mocks::Constant.original for a previously defined constant that has been stubbed twice indicates it was previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:511 151s 151s 1403) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it was not previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:485 151s 151s 1404) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:484 151s 151s 1405) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:486 151s 151s 1406) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:488 151s 151s 1407) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant returns nil for the original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:489 151s 151s 1408) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant indicates it has been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:487 151s 151s 1409) RSpec::Mocks::Constant.original for a previously undefined parent of a stubbed constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:483 151s 151s 1410) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it was previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:446 151s 151s 1411) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:449 151s 151s 1412) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:447 151s 151s 1413) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:444 151s 151s 1414) RSpec::Mocks::Constant.original for a previously defined unstubbed constant exposes its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:450 151s 151s 1415) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it has not been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:448 151s 151s 1416) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:445 151s 151s 1417) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it was previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:459 151s 151s 1418) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:463 151s 151s 1419) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:458 151s 151s 1420) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:460 151s 151s 1421) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:462 151s 151s 1422) RSpec::Mocks::Constant.original for a previously defined stubbed constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:457 151s 151s 1423) RSpec::Mocks::Constant.original for a previously defined stubbed constant indicates it has been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:461 151s 151s 1424) RSpec::Mocks::Constant.original for a previously undefined stubbed constant returns nil for the original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:476 151s 151s 1425) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it was not previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:472 151s 151s 1426) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:473 151s 151s 1427) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:475 151s 151s 1428) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:471 151s 151s 1429) RSpec::Mocks::Constant.original for a previously undefined stubbed constant indicates it has been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:474 151s 151s 1430) RSpec::Mocks::Constant.original for a previously undefined stubbed constant exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:470 151s 151s 1431) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice exposes its name 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:523 151s 151s 1432) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it was not previously defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:525 151s 151s 1433) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice returns nil for the original value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:529 151s 151s 1434) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has not been hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:528 151s 151s 1435) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been mutated 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:526 151s 151s 1436) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates the name is valid 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:524 151s 151s 1437) RSpec::Mocks::Constant.original for a previously undefined constant that has been stubbed twice indicates it has been stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:527 151s 151s 1438) OrderGroup #consume returns the first ordered? expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/order_group_spec.rb:18 151s 151s 1439) OrderGroup #consume keeps returning ordered? expectation until all are returned 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/order_group_spec.rb:21 151s 151s 1440) A partial double does not create an any_instance recorder when a message is allowed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:6 151s 151s 1441) A partial double can accept the string form of a message for a positive message expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:119 151s 151s 1442) A partial double allows `class` to be stubbed even when `any_instance` has already been used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:32 151s 151s 1443) A partial double does not conflict with @options in the object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:26 151s 151s 1444) A partial double can create a positive message expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:95 151s 151s 1445) A partial double can accept a hash as a message argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:79 151s 151s 1446) A partial double shares message expectations with clone 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:160 151s 151s 1447) A partial double can accept the string form of a message for a negative message expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:124 151s 151s 1448) A partial double clears message expectations when `dup`ed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:168 151s 151s 1449) A partial double can expect a message and set a return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:74 151s 151s 1450) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:145 151s 151s 1451) A partial double allows a class and a subclass to both be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:100 151s 151s 1452) A partial double uses reports nil in the error message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:132 151s 151s 1453) A partial double can accept an inner hash as a message argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:86 151s 151s 1454) A partial double names the class in the failure message when expectation is on class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:19 151s 151s 1455) A partial double can disallow messages from being received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:64 151s 151s 1456) A partial double allows `respond_to?` to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:46 151s 151s 1457) A partial double verifies the method was called when expecting a message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:112 151s 151s 1458) A partial double names the class in the failure message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_spec.rb:12 151s 151s 1459) and_invoke when a non-callable are passed in any position raises ArgumentError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_invoke_spec.rb:24 151s 151s 1460) and_invoke when calling passed callables passes the arguments into the callable 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_invoke_spec.rb:35 151s 151s 1461) and_invoke when a block is passed raises ArgumentError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_invoke_spec.rb:7 151s 151s 1462) and_invoke when no argument is passed raises ArgumentError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_invoke_spec.rb:15 151s 151s 1463) expect(...).to receive_messages(:a => 1, :b => 2) fails with the correct location 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:93 151s 151s 1464) expect(...).to receive_messages(:a => 1, :b => 2) sets up multiple expectations 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:81 151s 151s 1465) expect(...).to receive_messages(:a => 1, :b => 2) fails with a sensible message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:87 151s 151s 1466) expect(...).to receive_messages(:a => 1, :b => 2) provides a matcher description 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:101 151s 151s 1467) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a { } block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:4 151s 151s 1468) expect(...).to receive_messages(:a => 1, :b => 2) behaves like complains when given blocks complains if a do; end; block is given 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:10 151s 151s 1469) expect(...).to receive_messages(:a => 1, :b => 2) behaves like handles partially mocked objects correctly resets partially mocked objects correctly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/matchers/receive_messages_spec.rb:22 151s 151s 1470) Loading rspec/mocks/standalone exposes the RSpec::Mocks API on `main` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/standalone_spec.rb:7 151s 151s 1471) Loading rspec/mocks/standalone does not infect other objects with the RSpec::Mocks API 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/standalone_spec.rb:20 151s 151s 1472) After a test double has been torn down for an instance_double disallows previously stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:19 151s 151s 1473) After a test double has been torn down for an instance_double disallows mocking new methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:41 151s 151s 1474) After a test double has been torn down for an instance_double disallows previously mocked methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:15 151s 151s 1475) After a test double has been torn down for an instance_double disallows being checked for nullness 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:51 151s 151s 1476) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive_messages) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:29 151s 151s 1477) After a test double has been torn down for an instance_double disallows stubbing new methods (with receive) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:23 151s 151s 1478) After a test double has been torn down for an instance_double disallows being turned into a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:47 151s 151s 1479) After a test double has been torn down for an instance_double disallows stubbing new message chains 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:35 151s 151s 1480) After a test double has been torn down for a plain double disallows being checked for nullness 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:51 151s 151s 1481) After a test double has been torn down for a plain double disallows previously mocked methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:15 151s 151s 1482) After a test double has been torn down for a plain double disallows stubbing new methods (with receive) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:23 151s 151s 1483) After a test double has been torn down for a plain double disallows stubbing new message chains 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:35 151s 151s 1484) After a test double has been torn down for a plain double disallows previously stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:19 151s 151s 1485) After a test double has been torn down for a plain double disallows mocking new methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:41 151s 151s 1486) After a test double has been torn down for a plain double disallows stubbing new methods (with receive_messages) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:29 151s 151s 1487) After a test double has been torn down for a plain double disallows being turned into a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:47 151s 151s 1488) After a test double has been torn down for an object_double disallows previously stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:19 151s 151s 1489) After a test double has been torn down for an object_double disallows being turned into a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:47 151s 151s 1490) After a test double has been torn down for an object_double disallows mocking new methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:41 151s 151s 1491) After a test double has been torn down for an object_double disallows stubbing new methods (with receive) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:23 151s 151s 1492) After a test double has been torn down for an object_double disallows being checked for nullness 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:51 151s 151s 1493) After a test double has been torn down for an object_double disallows stubbing new message chains 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:35 151s 151s 1494) After a test double has been torn down for an object_double disallows previously mocked methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:15 151s 151s 1495) After a test double has been torn down for an object_double disallows stubbing new methods (with receive_messages) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:29 151s 151s 1496) After a test double has been torn down for a class_double disallows being turned into a null object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:47 151s 151s 1497) After a test double has been torn down for a class_double disallows stubbing new methods (with receive_messages) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:29 151s 151s 1498) After a test double has been torn down for a class_double disallows previously stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:19 151s 151s 1499) After a test double has been torn down for a class_double disallows previously mocked methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:15 151s 151s 1500) After a test double has been torn down for a class_double disallows stubbing new methods (with receive) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:23 151s 151s 1501) After a test double has been torn down for a class_double disallows being checked for nullness 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:51 151s 151s 1502) After a test double has been torn down for a class_double disallows mocking new methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:41 151s 151s 1503) After a test double has been torn down for a class_double disallows stubbing new message chains 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/expiration_spec.rb:35 151s 151s 1504) A method stub remains private when it stubs a private class method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:93 151s 151s 1505) A method stub instructs an instance to respond_to the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:39 151s 151s 1506) A method stub instructs a class object to respond_to the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:44 151s 151s 1507) A method stub remains private when it stubs a private instance method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:88 151s 151s 1508) A method stub overrides a pre-existing method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:496 151s 151s 1509) A method stub overrides a pre-existing stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:501 151s 151s 1510) A method stub yields a specified object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:462 151s 151s 1511) A method stub throws when told to 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:486 151s 151s 1512) A method stub yields a specified object and return another specified object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:479 151s 151s 1513) A method stub ignores when expected message is received with no args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:49 151s 151s 1514) A method stub allows a stub and an expectation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:507 151s 151s 1515) A method stub keeps returning last value in consecutive calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:453 151s 151s 1516) A method stub is retained when stubbed object is `clone`d 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:78 151s 151s 1517) A method stub ignores when expected message is not received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:65 151s 151s 1518) A method stub yields multiple times with multiple calls to and_yield 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:470 151s 151s 1519) A method stub throws with argument when told to 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:491 151s 151s 1520) A method stub ignores when message is received with args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:57 151s 151s 1521) A method stub returns values in order to consecutive calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:446 151s 151s 1522) A method stub handles multiple stubbed methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:72 151s 151s 1523) A method stub is cleared when stubbed object when `dup`ed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:83 151s 151s 1524) A method stub #rspec_reset restores existing instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:259 151s 151s 1525) A method stub #rspec_reset restores existing private instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:285 151s 151s 1526) A method stub #rspec_reset correctly restores the visibility of methods whose visibility has been tweaked on the singleton class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:334 151s 151s 1527) A method stub #rspec_reset restores existing class methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:292 151s 151s 1528) A method stub #rspec_reset restores existing private class methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:318 151s 151s 1529) A method stub #rspec_reset removes stubbed methods that didn't exist 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:253 151s 151s 1530) A method stub #rspec_reset does not remove existing methods that have been stubbed twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:325 151s 151s 1531) A method stub #rspec_reset restores existing singleton methods with the appropriate context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:266 151s 151s 1532) A method stub #rspec_reset correctly handles stubbing inherited mixed in class methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:353 151s 151s 1533) A method stub #rspec_reset restores existing aliased module_function methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:299 151s 151s 1534) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended object singleton methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:431 151s 151s 1535) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended class methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:416 151s 151s 1536) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores prepended instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:400 151s 151s 1537) A method stub #rspec_reset with a prepended module (ruby 2.0.0+) restores non-prepended instance methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:408 151s 151s 1538) A method stub using `with` allows differing arities 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:107 151s 151s 1539) A method stub using `with` determines which value is returned 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:99 151s 151s 1540) A method stub when the stubbed method is called does not call any methods on the passed args, since that could mutate them 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:117 151s 151s 1541) A method stub using `and_return` returns declared value when message is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:32 151s 151s 1542) A method stub stubbing with prepend does not unnecessarily prepend a module when the prepended module does not override the stubbed method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:168 151s 151s 1543) A method stub stubbing with prepend reuses our prepend module so as not to keep mutating the ancestors 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:199 151s 151s 1544) A method stub stubbing with prepend does not unnecessarily prepend a module when stubbing a method on a module extended onto itself 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:178 151s 151s 1545) A method stub stubbing with prepend handles stubbing prepended methods on an object's singleton class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:158 151s 151s 1546) A method stub stubbing with prepend does not unnecessarily prepend a module when the module was included 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:189 151s 151s 1547) A method stub stubbing with prepend handles stubbing prepended methods on a class's singleton class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:151 151s 151s 1548) A method stub stubbing with prepend handles stubbing prepended methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:143 151s 151s 1549) A method stub stubbing with prepend when a module with a method override is prepended after reset can still be stubbed again 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:231 151s 151s 1550) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stub_spec.rb:214 151s 151s 1551) PartialDoubleUsingMocksDirectly passes when expected message is received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:43 151s 151s 1552) PartialDoubleUsingMocksDirectly restores the original method if it existed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:55 151s 151s 1553) PartialDoubleUsingMocksDirectly passes when message is received with correct args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:49 151s 151s 1554) PartialDoubleUsingMocksDirectly fails when expected message is not received 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:28 151s 151s 1555) PartialDoubleUsingMocksDirectly fails when message is received with incorrect args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:35 151s 151s 1556) PartialDoubleUsingMocksDirectly with a class method handled by method_missing restores the original behavior 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:74 151s 151s 1557) PartialDoubleUsingMocksDirectly with an instance method handled by method_missing restores the original behavior 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb:64 151s 151s 1558) a message expectation with multiple invoke handlers with a specified count equal to the number of values returns values in order to consecutive calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:47 151s 151s 1559) #twice passes when called twice with specified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:15 151s 151s 1560) #twice fails when call count is lower than expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:38 151s 151s 1561) #twice passes when called twice with unspecified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:22 151s 151s 1562) #twice passes when called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:8 151s 151s 1563) #twice fails when called with wrong args on the second call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:54 151s 151s 1564) #twice fails when called with wrong args on the first call 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:46 151s 151s 1565) #twice fails fast when call count is higher than expected 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:29 151s 151s 1566) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:64 151s 151s 1567) #twice when called with negative expectation raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/twice_counts_spec.rb:89 151s 151s 1568) and_return when a block is passed raises ArgumentError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_return_spec.rb:7 151s 151s 1569) and_return when no argument is passed raises ArgumentError 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_return_spec.rb:15 151s 151s 1570) a message expectation with multiple invoke handlers specifying at_least less than the number of values uses the last return value for subsequent calls 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:60 151s 151s 1571) a message expectation with multiple invoke handlers specifying at_least less than the number of values fails when called less than the specified number 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:67 151s 151s 1572) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:82 151s 151s 1573) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:75 151s 151s 1574) RSpec::Mocks::Double#and_yield with eval context as block argument evaluates the supplied block as it is read 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:21 151s 151s 1575) RSpec::Mocks::Double#and_yield with eval context as block argument passes an eval context object to the supplied block 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:29 151s 151s 1576) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:35 151s 151s 1577) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:52 151s 151s 1578) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:66 151s 151s 1579) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments can yield to a block that uses `super` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:128 151s 151s 1580) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:84 151s 151s 1581) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:139 151s 151s 1582) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:114 151s 151s 1583) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:103 151s 151s 1584) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_yield_spec.rb:7 151s 151s 1585) #once passes when called once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:8 151s 151s 1586) #once fails when called with wrong args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:26 151s 151s 1587) #once passes when called once with unspecified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:20 151s 151s 1588) #once passes when called once with specified args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:14 151s 151s 1589) #once fails fast when called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:34 151s 151s 1590) #once fails when not called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:42 151s 151s 1591) #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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:50 151s 151s 1592) #once when called with negative expectation raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/once_counts_spec.rb:73 151s 151s 1593) at_least returns the value given by a block when the at least once method is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:118 151s 151s 1594) at_least fails when at least once method is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:23 151s 151s 1595) at_least passes when at least thrice method is called three times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:101 151s 151s 1596) at_least prefers its own return value over a stub 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:139 151s 151s 1597) at_least passes when at least once method is called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:79 151s 151s 1598) at_least passes when at least n times method is called n plus 1 times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:63 151s 151s 1599) at_least fails if method is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:6 151s 151s 1600) at_least passes when at least twice method is called three times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:86 151s 151s 1601) at_least fails when called less than n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:13 151s 151s 1602) at_least uses a stub value if no value set 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:132 151s 151s 1603) at_least passes when at least thrice method is called four times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:109 151s 151s 1604) at_least fails when at least twice method is never called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:38 151s 151s 1605) at_least passes when at least once method is called once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:73 151s 151s 1606) at_least fails when at least twice method is called once 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:30 151s 151s 1607) at_least passes when at least n times method is called exactly n times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:54 151s 151s 1608) at_least passes when at least twice method is called twice 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:94 151s 151s 1609) at_least fails when at least thrice method is called less than three times 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:45 151s 151s 1610) at_least when called with negative expectation raises an error 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:147 151s 151s 1611) at_least when sent with 0 outputs a removal message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/at_least_spec.rb:125 151s 151s 1612) Constant Mutating #hide_const allows a constant to be hidden, then stubbed, restoring it to its original value properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:202 151s 151s 1613) Constant Mutating #hide_const can be hidden multiple times but still restores the original value properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:193 151s 151s 1614) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:145 151s 151s 1615) Constant Mutating #hide_const for an unloaded unnested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:139 151s 151s 1616) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:134 151s 151s 1617) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:93 151s 151s 1618) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:87 151s 151s 1619) Constant Mutating #hide_const for a loaded nested constant behaves like loaded constant hiding allows it to be hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:82 151s 151s 1620) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:87 151s 151s 1621) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:82 151s 151s 1622) Constant Mutating #hide_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:93 151s 151s 1623) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding resets the constant when rspec clear its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:87 151s 151s 1624) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:93 151s 151s 1625) Constant Mutating #hide_const for a loaded constant prefixed with :: behaves like loaded constant hiding allows it to be hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:82 151s 151s 1626) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant does not hide the top-level constant 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:166 151s 151s 1627) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:134 151s 151s 1628) Constant Mutating #hide_const for an unloaded constant with nested name that matches a top-level constant behaves like unloaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:145 151s 151s 1629) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:139 151s 151s 1630) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:93 151s 151s 1631) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding allows it to be hidden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:82 151s 151s 1632) Constant Mutating #hide_const for a loaded deeply nested constant behaves like loaded constant hiding resets the constant when rspec clear its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:87 151s 151s 1633) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding remains undefined after rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:139 151s 151s 1634) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:134 151s 151s 1635) Constant Mutating #hide_const for an unloaded nested constant behaves like unloaded constant hiding returns nil 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:145 151s 151s 1636) Constant Mutating #stub_const requires a string argument 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:221 151s 151s 1637) Constant Mutating #stub_const for a loaded unnested constant does not transfer nested constants that are inherited from a superclass 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:256 151s 151s 1638) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be selectively transferred to a stub module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:274 151s 151s 1639) Constant Mutating #stub_const for a loaded unnested constant allows nested constants to be transferred to a stub module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:238 151s 151s 1640) Constant Mutating #stub_const for a loaded unnested constant can be stubbed multiple times but still restores the original value properly 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:228 151s 151s 1641) Constant Mutating #stub_const for a loaded unnested constant raises an error if asked to transfer a nested constant that is not defined 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:313 151s 151s 1642) Constant Mutating #stub_const for a loaded unnested constant removes the transferred constants on reset 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:247 151s 151s 1643) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:298 151s 151s 1644) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:282 151s 151s 1645) Constant Mutating #stub_const for a loaded unnested constant raises an error when asked to transfer a nested inherited constant 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:264 151s 151s 1646) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:72 151s 151s 1647) Constant Mutating #stub_const for a loaded unnested constant behaves like loaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:58 151s 151s 1648) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:64 151s 151s 1649) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:332 151s 151s 1650) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:342 151s 151s 1651) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:347 151s 151s 1652) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:427 151s 151s 1653) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1654) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1655) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1656) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1657) Constant Mutating #stub_const for an unloaded deeply nested constant removes the root constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:398 151s 151s 1658) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1659) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1660) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1661) Constant Mutating #stub_const for an unloaded deeply nested constant behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1662) Constant Mutating #stub_const for an unloaded nested constant removes the root constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:387 151s 151s 1663) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1664) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1665) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1666) Constant Mutating #stub_const for an unloaded nested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1667) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:72 151s 151s 1668) Constant Mutating #stub_const for a loaded deeply nested constant behaves like loaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:58 151s 151s 1669) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:64 151s 151s 1670) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1671) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1672) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1673) Constant Mutating #stub_const for an unloaded unnested constant behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1674) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1675) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing ignores the :transfer_nested_constants option if passed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1676) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing removes the constant when rspec clears its mocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1677) Constant Mutating #stub_const for an unloaded constant prefixed with :: behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1678) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1679) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1680) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1681) Constant Mutating #stub_const for an unloaded constant nested in a module that redefines `send` behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1682) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:72 151s 151s 1683) Constant Mutating #stub_const for a loaded constant prefixed with :: behaves like loaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:58 151s 151s 1684) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:64 151s 151s 1685) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:409 151s 151s 1686) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:418 151s 151s 1687) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1688) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1689) Constant Mutating #stub_const for an unloaded constant nested within a loaded constant behaves like unloaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1690) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1691) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:58 151s 151s 1692) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:64 151s 151s 1693) Constant Mutating #stub_const for a loaded constant nested in a module that redefines `send` behaves like loaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:72 151s 151s 1694) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:120 151s 151s 1695) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:105 151s 151s 1696) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:110 151s 151s 1697) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:116 151s 151s 1698) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:64 151s 151s 1699) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing returns the stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:72 151s 151s 1700) Constant Mutating #stub_const for a loaded nested constant behaves like loaded constant stubbing allows it to be stubbed 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/mutate_const_spec.rb:58 151s 151s 1701) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/example_methods_spec.rb:4 151s 151s 1702) RSpec::Mocks::ExampleMethods works properly when extended onto an object that has previous extended `RSpec::Matchers` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/example_methods_spec.rb:25 151s 151s 1703) RSpec::Mocks::ExampleMethods works properly when extended onto an object that later extends `RSpec::Matchers` 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/example_methods_spec.rb:31 151s 151s 1704) RSpec::Mocks::ExampleMethods works properly when extended onto an object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/example_methods_spec.rb:21 151s 151s 1705) and_call_original on a partial double passes the received message through to the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:65 151s 151s 1706) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:124 151s 151s 1707) and_call_original on a partial double warns when you override an existing implementation 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:90 151s 151s 1708) and_call_original on a partial double ignores prior declared stubs 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:70 151s 151s 1709) and_call_original on a partial double passes args and blocks through to the original method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:76 151s 151s 1710) and_call_original on a partial double works for methods that accept keyword arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:237 151s 151s 1711) and_call_original on a partial double works for class methods defined on a grandparent class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:207 151s 151s 1712) and_call_original on a partial double works for methods added through an extended module 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:111 151s 151s 1713) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:133 151s 151s 1714) and_call_original on a partial double errors when you pass through the wrong number of args 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:82 151s 151s 1715) and_call_original on a partial double works for class methods defined on a superclass 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:188 151s 151s 1716) and_call_original on a partial double works for method added through an extended module onto a class's ancestor 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:117 151s 151s 1717) and_call_original on a partial double works for aliased methods 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:225 151s 151s 1718) and_call_original on a partial double works for instance methods defined on the object's class's superclass 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:218 151s 151s 1719) and_call_original on a partial double works for class methods defined on the Class class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:213 151s 151s 1720) and_call_original on a partial double when using any_instance works for instance methods defined on the superclass of the class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:176 151s 151s 1721) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:154 151s 151s 1722) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:182 151s 151s 1723) and_call_original on a partial double when using any_instance works for instance methods defined on the class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:143 151s 151s 1724) and_call_original on a partial double when using any_instance works for instance methods that use required keyword arguments 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:168 151s 151s 1725) and_call_original on a partial double when using any_instance works for instance methods that use optional keyword arguments with an argument supplied 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:159 151s 151s 1726) and_call_original on a partial double when using any_instance works for instance methods that use double splat 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:149 151s 151s 1727) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:195 151s 151s 1728) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:271 151s 151s 1729) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:266 151s 151s 1730) and_call_original on a partial double for singleton methods works for SimpleDelegator subclasses 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:103 151s 151s 1731) and_call_original on a partial double for singleton methods works 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:97 151s 151s 1732) and_call_original on a partial double when a method that exists has been stubbed previously restores the original behavior 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:46 151s 151s 1733) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:305 151s 151s 1734) and_call_original on a partial double on an object that defines method_missing works when the method_missing definition handles the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:295 151s 151s 1735) and_call_original on a partial double on an object that defines method_missing works for an any_instance partial mock 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:300 151s 151s 1736) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:312 151s 151s 1737) and_call_original on a partial double when a non-existent method has been stubbed previously restores the original NameError behavior 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:54 151s 151s 1738) and_call_original on a pure test double raises an error even if the double object responds to the message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:362 151s 151s 1739) and_call_original on a partial double that overrides #method works for a singleton method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:349 151s 151s 1740) and_call_original on a partial double that overrides #method still works even though #method has been overridden 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/and_call_original_spec.rb:344 151s 151s 1741) RSpec::Mocks::Configuration adds stub and should_receive to the given modules 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:12 151s 151s 1742) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:36 151s 151s 1743) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:119 151s 151s 1744) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:111 151s 151s 1745) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:115 151s 151s 1746) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:123 151s 151s 1747) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:107 151s 151s 1748) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should reports that the syntax is :should 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:88 151s 151s 1749) RSpec::Mocks::Configuration configuring using the rspec-core config API behaves like configuring the syntax when configured to :should removes the expect methods from the example group context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:84 151s 151s 1750) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:76 151s 151s 1751) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:97 151s 151s 1752) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:80 151s 151s 1753) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:92 151s 151s 1754) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:50 151s 151s 1755) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:62 151s 151s 1756) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:54 151s 151s 1757) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:58 151s 151s 1758) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:66 151s 151s 1759) RSpec::Mocks::Configuration#when_declaring_verifying_double captures the supplied blocks 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:177 151s 151s 1760) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax defaults to enabling both the :should and :expect syntaxes 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:36 151s 151s 1761) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds `any_instance` to every class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:111 151s 151s 1762) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] adds the should methods to every object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:107 151s 151s 1763) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] does not warn about the should syntax 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:123 151s 151s 1764) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:115 151s 151s 1765) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to [:should, :expect] reports that both syntaxes are enabled 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:119 151s 151s 1766) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should reports that the syntax is :should 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:88 151s 151s 1767) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds the should methods to every object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:76 151s 151s 1768) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should does not warn about the should syntax 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:92 151s 151s 1769) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :should adds `any_instance` to every class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:80 151s 151s 1770) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:97 151s 151s 1771) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:84 151s 151s 1772) 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 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:66 151s 151s 1773) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes `any_instance` from every class 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:54 151s 151s 1774) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect removes the should methods from every object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:50 151s 151s 1775) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect reports that the syntax is :expect 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:62 151s 151s 1776) RSpec::Mocks::Configuration configuring rspec-mocks directly behaves like configuring the syntax when configured to :expect adds the expect methods to the example group context 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/configuration_spec.rb:58 151s 151s 1777) .expect_message sets up basic message expectation, verifies as uncalled 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:56 151s 151s 1778) .expect_message accepts a block implementation for the expected message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:85 151s 151s 1779) .expect_message sets up basic message expectation, verifies as called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:73 151s 151s 1780) .expect_message sets up message expectation with params and return value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:79 151s 151s 1781) .expect_message fails if never is specified and the message is called 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:66 151s 151s 1782) .expect_message does not get confused when the string and symbol message form are both used 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:91 151s 151s 1783) .expect_message when target cannot be proxied raises ArgumentError with message 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb:102 151s 151s 1784) #as_null_object sets the object to null_object 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/null_object_double_spec.rb:113 151s 151s 1785) a message expectation with multiple invoke handlers and no specified count fails when there are too few calls (if there is no stub) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:25 151s 151s 1786) a message expectation with multiple invoke handlers and no specified count falls back to a previously stubbed value 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:17 151s 151s 1787) a message expectation with multiple invoke handlers and no specified count invokes procs in order 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:10 151s 151s 1788) a message expectation with multiple invoke handlers and no specified count fails when there are too many calls (if there is no stub) 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/multiple_invoke_handler_spec.rb:31 151s 151s 1789) only stashing the original method keeps the original method intact after multiple expectations are added on the same method 151s # around hook at /usr/lib/ruby/vendor_ruby/aruba/rspec.rb:11 did not execute the example 151s # ./spec/rspec/mocks/stash_spec.rb:12 151s 151s Finished in 0.82699 seconds (files took 0.86739 seconds to load) 151s 1789 examples, 0 failures, 1789 pending 151s 151s Randomized with seed 41742 151s 151s mv lib.off lib 151s cd - 151s 151s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 151s ∙ rspec-support ∙ 151s ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙ 151s 151s cd rspec-support 151s /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 151s mv lib lib.off 152s 152s Randomized with seed 16527 153s ................................................................................................................*......................................................................................................................................................................................................................................................................................................................*............................fatal: not a git repository (or any of the parent directories): .git 154s ........................................................................FF.F...F.F..........FF.............. 154s 154s Pending: (Failures listed here are expected and do not affect your suite's status) 154s 154s 1) RSpec::Support::ShellOut can shell out to ruby with the current load path 154s # 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 154s # ./spec/rspec/support/spec/shell_out_spec.rb:22 154s 154s 2) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations 154s # No reason given 154s Failure/Error: 154s expect { 154s expect_warn_deprecation(/bar/) 154s }.to raise_error(/received: 0 times/) 154s 154s expected /received: 0 times/ but nothing was raised 154s # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' 154s # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' 154s 154s Failures: 154s 154s 1) RSpec::Support::Differ#diff outputs unified diff of two strings 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\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 154s "\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) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:61:in `block (3 levels) in ' 154s 154s 2) RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\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 154s "\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) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:109:in `block (3 levels) in ' 154s 154s 3) RSpec::Support::Differ#diff outputs unified diff of multi line strings 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\n@@ -1,2 +1,2 @@\n this is:\n- another string\n+ one string\n" (UTF-8) to be identical to 154s "\n@@ -1,3 +1,3 @@\n this is:\n- another string\n+ one string\n" (UTF-8) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:434:in `block (3 levels) in ' 154s 154s 4) RSpec::Support::Differ#diff outputs unified diff message of two arrays 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\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 154s "\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) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:236:in `block (3 levels) in ' 154s 154s 5) RSpec::Support::Differ#diff outputs unified diff message of two objects 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\n@@ -1,4 +1,4 @@\n \n" (UTF-8) to be identical to 154s "\n@@ -1,5 +1,5 @@\n \n" (UTF-8) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:213:in `block (3 levels) in ' 154s 154s 6) RSpec::Support::Differ#diff splits items with newlines 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-c\\nd\n" (US-ASCII) to be identical to 154s "\n@@ -1,3 +1 @@\n-a\\nb\n-c\\nd\n" (UTF-8) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:447:in `block (3 levels) in ' 154s 154s 7) RSpec::Support::Differ#diff shows inner arrays on a single line 154s Failure/Error: expect(diff).to be_diffed_as(expected_diff) 154s 154s expected 154s "\n@@ -1,2 +0,0 @@\n-a\\nb\n-[\"c\\nd\"]\n" (US-ASCII) to be identical to 154s "\n@@ -1,3 +1 @@\n-a\\nb\n-[\"c\\nd\"]\n" (UTF-8) 154s The exact bytes are printed below for more detail: 154s [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] 154s [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] 154s # ./spec/rspec/support/differ_spec.rb:460:in `block (3 levels) in ' 154s 154s Finished in 2.03 seconds (files took 0.41523 seconds to load) 154s 560 examples, 7 failures, 2 pending 154s 154s Failed examples: 154s 154s rspec ./spec/rspec/support/differ_spec.rb:15 # RSpec::Support::Differ#diff outputs unified diff of two strings 154s rspec ./spec/rspec/support/differ_spec.rb:64 # RSpec::Support::Differ#diff outputs unified diff of two strings when used multiple times 154s rspec ./spec/rspec/support/differ_spec.rb:420 # RSpec::Support::Differ#diff outputs unified diff of multi line strings 154s rspec ./spec/rspec/support/differ_spec.rb:216 # RSpec::Support::Differ#diff outputs unified diff message of two arrays 154s rspec ./spec/rspec/support/differ_spec.rb:180 # RSpec::Support::Differ#diff outputs unified diff message of two objects 154s rspec ./spec/rspec/support/differ_spec.rb:437 # RSpec::Support::Differ#diff splits items with newlines 154s rspec ./spec/rspec/support/differ_spec.rb:450 # RSpec::Support::Differ#diff shows inner arrays on a single line 154s 154s Randomized with seed 16527 154s 154s mv lib.off lib 154s cd - 154s Failed: rspec-expectations, rspec-support 154s autopkgtest [16:31:17]: test gem2deb-test-runner: -----------------------] 155s autopkgtest [16:31:18]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 155s gem2deb-test-runner FAIL non-zero exit status 1 155s autopkgtest [16:31:18]: @@@@@@@@@@@@@@@@@@@@ summary 155s gem2deb-test-runner FAIL non-zero exit status 1