Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-core.spec'], chrootPath='/var/lib/mock/dist-el8-build-17837-7965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rubygem-rspec-core-3.7.1-5.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-core.spec'], chrootPath='/var/lib/mock/dist-el8-build-17837-7965/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-core.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8SIgfe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rspec-core-3.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rubygem-rspec-core-3.7.1-full.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rspec-core-3.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem specification /builddir/build/SOURCES/rspec-core-3.7.1.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EGkOq9 + umask 022 + cd /builddir/build/BUILD + cd rspec-core-3.7.1 + gem build rspec-core.gemspec Successfully built RubyGem Name: rspec-core Version: 3.7.1 File: rspec-core-3.7.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc rspec-core-3.7.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rspec-core-3.7.1 Bin dir: /builddir/build/BUILD/rspec-core-3.7.1/usr/bin Gem home: /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/.document /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/.yardopts /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/Changelog.md /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/LICENSE.md /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/README.md /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/exe/rspec /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/autorun.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/backtrace_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/bisect/coordinator.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/bisect/example_minimizer.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/bisect/runner.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/bisect/server.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/configuration.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/drb.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/dsl.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/example.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/example_group.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/example_status_persister.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/filter_manager.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/flat_map.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/base_text_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/bisect_progress_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/console_codes.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/deprecation_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/documentation_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/exception_presenter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/fallback_message_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/helpers.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_printer.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/html_snippet_extractor.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/json_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/profile_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/progress_formatter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/protocol.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/snippet_extractor.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/formatters/syntax_highlighter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/hooks.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/invocations.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/metadata.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/metadata_filter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/minitest_assertions_adapter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/flexmock.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/mocha.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/null.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rr.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/mocking_adapters/rspec.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/notifications.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/option_parser.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/ordering.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/output_wrapper.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/pending.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/profiler.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/.rspec /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/project_initializer/spec/spec_helper.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/rake_task.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/reporter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/ruby_project.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/runner.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/sandbox.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/set.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/shared_context.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/shared_example_group.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/shell_escape.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/test_unit_assertions_adapter.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/version.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/warnings.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/share/gems/gems/rspec-core-3.7.1/lib/rspec/core/world.rb /builddir/build/BUILD/rspec-core-3.7.1/usr/bin/rspec Successfully installed rspec-core-3.7.1 Parsing documentation for rspec-core-3.7.1 Parsing sources... 1% [ 1/68] lib/rspec/autorun.rb 2% [ 2/68] lib/rspec/core.rb 4% [ 3/68] lib/rspec/core/backtrace_formatter.rb 5% [ 4/68] lib/rspec/core/bisect/coordinator.rb 7% [ 5/68] lib/rspec/core/bisect/example_minimizer.rb 8% [ 6/68] lib/rspec/core/bisect/runner.rb 10% [ 7/68] lib/rspec/core/bisect/server.rb 11% [ 8/68] lib/rspec/core/configuration.rb 13% [ 9/68] lib/rspec/core/configuration_options.rb 14% [10/68] lib/rspec/core/drb.rb 16% [11/68] lib/rspec/core/dsl.rb 17% [12/68] lib/rspec/core/example.rb 19% [13/68] lib/rspec/core/example_group.rb 20% [14/68] lib/rspec/core/example_status_persister.rb 22% [15/68] lib/rspec/core/filter_manager.rb 23% [16/68] lib/rspec/core/flat_map.rb 25% [17/68] lib/rspec/core/formatters.rb 26% [18/68] lib/rspec/core/formatters/base_formatter.rb 27% [19/68] lib/rspec/core/formatters/base_text_formatter.rb 29% [20/68] lib/rspec/core/formatters/bisect_formatter.rb 30% [21/68] lib/rspec/core/formatters/bisect_progress_formatter.rb 32% [22/68] lib/rspec/core/formatters/console_codes.rb 33% [23/68] lib/rspec/core/formatters/deprecation_formatter.rb 35% [24/68] lib/rspec/core/formatters/documentation_formatter.rb 36% [25/68] lib/rspec/core/formatters/exception_presenter.rb 38% [26/68] lib/rspec/core/formatters/fallback_message_formatter.rb 39% [27/68] lib/rspec/core/formatters/helpers.rb 41% [28/68] lib/rspec/core/formatters/html_formatter.rb 42% [29/68] lib/rspec/core/formatters/html_printer.rb 44% [30/68] lib/rspec/core/formatters/html_snippet_extractor.rb 45% [31/68] lib/rspec/core/formatters/json_formatter.rb 47% [32/68] lib/rspec/core/formatters/profile_formatter.rb 48% [33/68] lib/rspec/core/formatters/progress_formatter.rb 50% [34/68] lib/rspec/core/formatters/protocol.rb 51% [35/68] lib/rspec/core/formatters/snippet_extractor.rb 52% [36/68] lib/rspec/core/formatters/syntax_highlighter.rb 54% [37/68] lib/rspec/core/hooks.rb 55% [38/68] lib/rspec/core/invocations.rb 57% [39/68] lib/rspec/core/memoized_helpers.rb 58% [40/68] lib/rspec/core/metadata.rb 60% [41/68] lib/rspec/core/metadata_filter.rb 61% [42/68] lib/rspec/core/minitest_assertions_adapter.rb 63% [43/68] lib/rspec/core/mocking_adapters/flexmock.rb 64% [44/68] lib/rspec/core/mocking_adapters/mocha.rb 66% [45/68] lib/rspec/core/mocking_adapters/null.rb 67% [46/68] lib/rspec/core/mocking_adapters/rr.rb 69% [47/68] lib/rspec/core/mocking_adapters/rspec.rb 70% [48/68] lib/rspec/core/notifications.rb 72% [49/68] lib/rspec/core/option_parser.rb 73% [50/68] lib/rspec/core/ordering.rb 75% [51/68] lib/rspec/core/output_wrapper.rb 76% [52/68] lib/rspec/core/pending.rb 77% [53/68] lib/rspec/core/profiler.rb 79% [54/68] lib/rspec/core/project_initializer.rb 80% [55/68] lib/rspec/core/project_initializer/spec/spec_helper.rb 82% [56/68] lib/rspec/core/rake_task.rb 83% [57/68] lib/rspec/core/reporter.rb 85% [58/68] lib/rspec/core/ruby_project.rb 86% [59/68] lib/rspec/core/runner.rb 88% [60/68] lib/rspec/core/sandbox.rb 89% [61/68] lib/rspec/core/set.rb 91% [62/68] lib/rspec/core/shared_context.rb 92% [63/68] lib/rspec/core/shared_example_group.rb 94% [64/68] lib/rspec/core/shell_escape.rb 95% [65/68] lib/rspec/core/test_unit_assertions_adapter.rb 97% [66/68] lib/rspec/core/version.rb 98% [67/68] lib/rspec/core/warnings.rb 100% [68/68] lib/rspec/core/world.rb Installing ri documentation for rspec-core-3.7.1 Installing darkfish documentation for rspec-core-3.7.1 Done installing documentation for rspec-core after 1 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0zAnpc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch + cd rspec-core-3.7.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch/usr + cp -a ./usr/bin ./usr/share /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch/usr/ + rm -f /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch/usr/share/gems/gems/rspec-core-3.7.1/.document /builddir/build/BUILDROOT/rubygem-rspec-core-3.7.1-5.el8.noarch/usr/share/gems/gems/rspec-core-3.7.1/.yardopts + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 3.7.1-5.el8 --unique-debug-suffix -3.7.1-5.el8.noarch --unique-debug-src-base rubygem-rspec-core-3.7.1-5.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rspec-core-3.7.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/rspec-core-3.7.1/exe/rspec from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.00zomg + umask 022 + cd /builddir/build/BUILD + cd rspec-core-3.7.1 + LANG=en_US.UTF-8 + FAILFILE=() + FAILTEST=() + FAILFILE+=("spec/rspec/core/formatters/progress_formatter_spec.rb") + FAILTEST+=("produces the expected full output") + FAILFILE+=("spec/rspec/core/formatters/documentation_formatter_spec.rb") + FAILTEST+=("produces the expected full output") + FAILFILE+=("spec/rspec/core/formatters/syntax_highlighter_spec.rb") + FAILTEST+=("when CodeRay is available") + FAILFILE+=("spec/integration/suite_hooks_errors_spec.rb") + FAILTEST+=("nicely formats errors") + FAILFILE+=("spec/integration/spec_file_load_errors_spec.rb") + FAILTEST+=("nicely handles load-time errors") + FAILFILE+=("spec/rspec/core/runner_spec.rb") + FAILTEST+=("if drb server is started with 127.0.0.1") + FAILFILE+=("spec/rspec/core/runner_spec.rb") + FAILTEST+=("if drb server is started with localhost") + (( i = 0 )) + (( i < 7 )) + sed -i -e '\@produces the expected full output@s|do$|, :broken => true do|' spec/rspec/core/formatters/progress_formatter_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@produces the expected full output@s|do$|, :broken => true do|' spec/rspec/core/formatters/documentation_formatter_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@when CodeRay is available@s|do$|, :broken => true do|' spec/rspec/core/formatters/syntax_highlighter_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@nicely formats errors@s|do$|, :broken => true do|' spec/integration/suite_hooks_errors_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@nicely handles load-time errors@s|do$|, :broken => true do|' spec/integration/spec_file_load_errors_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@if drb server is started with 127.0.0.1@s|do$|, :broken => true do|' spec/rspec/core/runner_spec.rb + (( i++ )) + (( i < 7 )) + sed -i -e '\@if drb server is started with localhost@s|do$|, :broken => true do|' spec/rspec/core/runner_spec.rb + (( i++ )) + (( i < 7 )) + truncate -s 0 spec/support/aruba_support.rb + find spec/integration -exec truncate -s 0 '{}' ';' truncate: cannot open 'spec/integration' for writing: Is a directory + ruby -rrubygems -Ilib/ -S exe/rspec /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil Run options: exclude {:ruby=>#} Randomized with seed 57890 ........./builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. F/builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. F.......F.......................................................................................F....FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.....F.F.FF..F........................................................................................................*..........FFFFFFFFF An error occurred in an `after(:context)` hook. Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:40:in `block (2 levels) in ' ..F.FFFFFFFFFFFFFFF..F...F.......F....FFFF.F.FF..F..F...F..FFF.FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF/builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. FFFFFFFFFFFFFFFFFFFF.....FF..F..F...F.F.....F.F..F.........................F...FF.FF..F...F.FFFFFFF.FFFFFFFFF..F..FFFFFFFFFFFFF.FFFFFFFF..................................FFFFFFFFFFFFFFFFFFFFFF.FFFF....FFFFFFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFF.FFFFF..FFFFFFF An error occurred in an `after(:context)` hook. Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:40:in `block (2 levels) in ' FFFFF.F.F..F.FF.........FF.....FFFFFFF...FFF.FFFF.F..F.......................F.F..F.............FF..................FFFFFFF...F........F...F......FFF.FFFFFFFFFFFFFFFFFF...FFFFF...FFFFFFFF....................F.......F.F.FF......FF.....................FF..FFFFFFFF.........................FFFF.......................................F...FF............F..F.FFF......FFFFF.......F......FFFFFFFFFFFFFFFFFFFF....FFF..F...FF...F..FFF.....FF.F....FFF.....FF....F.FF...F.........................FFFFFFFFFFFFFFFFFFF....FFFFFFFFF.F..F...F.F.FF....F..FFF*.....FFFFFFFFFFFFFFFFFFFFFFF...F.FFFFFFF...FFFFFFFFFFFF..FFF.F.F..FFF.FFFFFFFFF.....F.FFFFFFFF.FFFFFF.F..F...FFFFFFF.F.F.FFFF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFFF..FFFFFFFF.....FFFF..FF.........FFFFF..............F....FFFFFFFFFFFFF........................FFF............F.F.F.FFFFFFFFFFF...FFFFFFFF.F.F.F..FFFFFFFF.FF..FFFFFFFFF.FFFF.F...........FFFFFFFFFFFF......F.............................F.FFFFFFFFFFFFFFFF.FFFFF...F....FFF.F..FFFFF..FFFFFFFFFF.FFFFFFFFFFFFFFF...FFFFFFFFFFFFFFFFFFFFF...FFFFFFFF......FFFFF.FFFFFFFF.FFFFFFFFFF.FFFFF..FFFFFF...F.FFFFFF..F..FF.FFFFFFFFFFFFFFFFFFF.F..F.FFFFF.F....FFFFFFFFFFFFFFF..FFFFF.FFFFF......FFFF..........................................FFFFFFF....FFF.FF....F......FFFFFFF.FFF....F..FF.F.F.FFFFFFFFFFFFFFFF.............................F....FFFFFFFFFFFFFFFF..FFFFFFFF..FFFF..FFF........ Pending: (Failures listed here are expected and do not affect your suite's status) 1) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string # lib/mathn.rb is deprecated in Ruby 2.2 # ./spec/rspec/core/formatters/helpers_spec.rb:64 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually # lib/mathn.rb is deprecated in Ruby 2.2 # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 Failures: 1) RSpec.clear_examples restores exclusion rules set by configuration Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 2) RSpec.clear_examples restores inclusion rules set by configuration Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 3) RSpec behaves like library wide checks issues no warnings when the spec files are loaded Failure/Error: Unable to read failed line expected: ["", "", 0] got: ["", "/builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Obje...c/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil", 0] (compared using ==) Shared Example Group: "library wide checks" called from ./spec/rspec/core_spec.rb:31 # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 4) RSpec::Core::Formatters::HtmlSnippetExtractor falls back on a default message when it gets a security error Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/formatters/html_snippet_extractor_spec.rb:16:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 5) RSpec::Core::DRbOptions DRB args includes --force-color Got 0 failures and 2 other errors: 5.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 5.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 6) RSpec::Core::DRbOptions DRB args includes --backtrace Got 0 failures and 2 other errors: 6.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 6.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 7) RSpec::Core::DRbOptions DRB args includes --order Got 0 failures and 2 other errors: 7.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:146:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 7.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 8) RSpec::Core::DRbOptions DRB args includes --color Got 0 failures and 2 other errors: 8.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 8.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 9) RSpec::Core::DRbOptions DRB args preserves extra arguments Got 0 failures and 2 other errors: 9.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/drb_spec.rb:128:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 9.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 10) RSpec::Core::DRbOptions DRB args includes --profile Got 0 failures and 2 other errors: 10.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 10.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 11) RSpec::Core::DRbOptions DRB args includes --options Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 12) RSpec::Core::DRbOptions DRB args includes --fail-fast Got 0 failures and 2 other errors: 12.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 12.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 13) RSpec::Core::DRbOptions DRB args includes --failure-exit-code Got 0 failures and 2 other errors: 13.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:138:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 13.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 14) RSpec::Core::DRbOptions DRB args includes --no-color Got 0 failures and 2 other errors: 14.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 14.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 15) RSpec::Core::DRbOptions DRB args includes --tty Got 0 failures and 2 other errors: 15.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 15.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 16) RSpec::Core::DRbOptions DRB args with --require includes multiple paths Got 0 failures and 2 other errors: 16.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:239:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 16.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 17) RSpec::Core::DRbOptions DRB args with --require includes --require Got 0 failures and 2 other errors: 17.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:235:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 17.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 18) RSpec::Core::DRbOptions DRB args with formatters leaves output intact Got 0 failures and 2 other errors: 18.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:209:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 18.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 19) RSpec::Core::DRbOptions DRB args with formatters leaves formatters intact Got 0 failures and 2 other errors: 19.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:203:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 19.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 20) RSpec::Core::DRbOptions DRB args with formatters includes the formatters Got 0 failures and 2 other errors: 20.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:199:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 20.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 21) RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags Got 0 failures and 2 other errors: 21.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:161:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 21.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 22) RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags intact Got 0 failures and 2 other errors: 22.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:187:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 22.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 23) RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags with values Got 0 failures and 2 other errors: 23.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:183:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 23.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 24) RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags intact Got 0 failures and 2 other errors: 24.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:169:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 24.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 25) RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags with values Got 0 failures and 2 other errors: 25.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:165:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 25.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 26) RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags with values intact Got 0 failures and 2 other errors: 26.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:174:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 26.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 27) RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags with values intact Got 0 failures and 2 other errors: 27.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:192:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 27.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 28) RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags Got 0 failures and 2 other errors: 28.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:179:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 28.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 29) RSpec::Core::DRbOptions DRB args --drb specified in ARGV renders all the original arguments except --drb Got 0 failures and 2 other errors: 29.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:246:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 29.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 30) RSpec::Core::DRbOptions DRB args with --out combines with formatters Got 0 failures and 2 other errors: 30.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:217:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 30.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 31) RSpec::Core::DRbOptions DRB args with -I libs includes multiple paths Got 0 failures and 2 other errors: 31.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:228:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 31.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 32) RSpec::Core::DRbOptions DRB args with -I libs includes -I Got 0 failures and 2 other errors: 32.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:224:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 32.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 33) RSpec::Core::DRbOptions DRB args --drb, -X does not send --drb back to the parser after parsing options Got 0 failures and 2 other errors: 33.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:280:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 33.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 34) RSpec::Core::DRbOptions DRB args with --example includes --example Got 0 failures and 2 other errors: 34.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:151:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 34.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 35) RSpec::Core::DRbOptions DRB args with --example unescapes characters which were escaped upon storing --example originally Got 0 failures and 2 other errors: 35.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:155:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 35.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 36) RSpec::Core::DRbOptions DRB args --drb specified in the options file renders all the original arguments except --drb Got 0 failures and 2 other errors: 36.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:257:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 36.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 37) RSpec::Core::DRbOptions DRB args --drb specified in ARGV and the options file renders all the original arguments except --drb Got 0 failures and 2 other errors: 37.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:265:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 37.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 38) RSpec::Core::DRbOptions DRB args --drb specified in ARGV and in as ARGV-specified --options file renders all the original arguments except --drb and --options Got 0 failures and 2 other errors: 38.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:273:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 38.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 39) RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available leaves leading spaces alone so it can be re-indented as needed without the leading reset code interfering Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:24:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 40) RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available highlights the syntax of the provided lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:14:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 41) RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available prefixes the each line with a reset escape code so it can be interpolated in a colored string without affecting the syntax highlighting of the snippet Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:19:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 42) RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available highlights core RSpec keyword-like methods Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:66:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 43) RSpec::Core::Profiler starts with an empty hash of example_groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/profiler_spec.rb:7:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 44) RSpec::Core::DRbRunner without server running raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 45) RSpec::Core::DRbRunner --drb-port without RSPEC_DRB environment variable set defaults to 8989 Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 46) RSpec::Core::DRbRunner --drb-port without RSPEC_DRB environment variable set sets the DRb port Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 47) RSpec::Core::DRbRunner --drb-port with RSPEC_DRB environment variable set without config variable set uses RSPEC_DRB value Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 48) RSpec::Core::DRbRunner --drb-port with RSPEC_DRB environment variable set and config variable set uses configured value Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 49) RSpec::Core::DRbRunner with server running falls back to `druby://:0` when `druby://localhost:0` fails Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 50) RSpec::Core::DRbRunner with server running returns 0 if spec passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 51) RSpec::Core::DRbRunner with server running returns 1 if spec fails Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 52) RSpec::Core::DRbRunner with server running outputs colorized text when running with --force-color option Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 53) RSpec::Expectations::ExpectationNotMetError ignores `Pending::PendingExampleFixedError` since it does not represent a real failure but rather the lack of one Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "a class satisfying the common multiple exception error interface" called from ./spec/rspec/core/formatters/exception_presenter_spec.rb:706 # ./spec/rspec/core/formatters/exception_presenter_spec.rb:696:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 54) RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:70:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 55) RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file says spec/spec_helper.rb exists Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:61:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:61:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 56) RSpec::Core::ProjectInitializer#run with no args with no .rspec file generates a .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:21:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 57) RSpec::Core::ProjectInitializer#run with no args with no .rspec file says it's creating .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:14:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:14:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 58) RSpec::Core::ProjectInitializer#run with no args with a .rspec file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:37:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 59) RSpec::Core::ProjectInitializer#run with no args with a .rspec file says .rspec exists Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:29:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:29:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 60) RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file says it's creating spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:44:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:44:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 61) RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file generates a spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:51:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 62) RSpec::Core::ProjectInitializer#run with a target directory with a .rspec file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:97:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 63) RSpec::Core::ProjectInitializer#run with a target directory with a spec/spec_helper.rb file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:115:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 64) RSpec::Core::ProjectInitializer#run with a target directory with no .rspec file generates a .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:88:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 65) RSpec::Core::ProjectInitializer#run with a target directory with no spec/spec_helper.rb file generates a spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:104:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 66) RSpec::Core::Formatters::DocumentationFormatter represents nested group using hierarchy tree Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/documentation_formatter_spec.rb:51:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 67) RSpec::Core::Formatters::DocumentationFormatter produces the expected full output Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/documentation_formatter_spec.rb:98:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 68) RSpec::Core::Formatters::DocumentationFormatter strips whitespace for each row Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/documentation_formatter_spec.rb:81:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 69) RSpec::Core::Hooks only defines methods that are intended to be part of RSpec's public API (+ `hooks`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/hooks_spec.rb:488:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 70) RSpec::Core::Hooks#after(:context) does not run when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/hooks_spec.rb:133:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 71) RSpec::Core::Hooks append_after(each) adds to the back of the list of after(:each) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:446:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 72) RSpec::Core::Hooks#after(suite) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 73) RSpec::Core::Hooks#after(context) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 74) RSpec::Core::Hooks#before(example) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 75) RSpec::Core::Hooks#after(example) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 76) RSpec::Core::Hooks#before(:example) does not run when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/hooks_spec.rb:133:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 77) RSpec::Core::Hooks#before(:example) yields the example as an argument to the hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:139:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 78) RSpec::Core::Hooks lambda can be used as a hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:479:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 79) RSpec::Core::Hooks prepend_after(all) adds to the front of the list of after(:all) hooks (same as `after`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:419:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 80) RSpec::Core::Hooks#before(suite) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 81) RSpec::Core::Hooks#before(:context) does not run when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/hooks_spec.rb:133:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 82) RSpec::Core::Hooks#before(context) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 83) RSpec::Core::Hooks prepend_before(each) adds to the front of the list of before(:each) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:364:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 84) RSpec::Core::Hooks prepend_before(all) adds to the front of the list of before(:all) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:364:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 85) RSpec::Core::Hooks#after(:example) yields the example as an argument to the hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:139:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 86) RSpec::Core::Hooks#after(:example) does not run when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/hooks_spec.rb:133:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 87) RSpec::Core::Hooks append_before(all) adds to the back of the list of before(:all) hooks (same as `before`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:393:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 88) RSpec::Core::Hooks prepend_after(each) adds to the front of the list of after(:each) hooks (same as `after`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:419:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 89) RSpec::Core::Hooks append_after(all) adds to the back of the list of after(:all) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:446:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 90) RSpec::Core::Hooks#around considers the hook to have run when passed as a block to a method that yields Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:205:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 91) RSpec::Core::Hooks#around does not consider the hook to have run when passed as a block to a method that does not yield Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:220:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 92) RSpec::Core::Hooks#around when running the example within a block passed to a method runs the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:335:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 93) RSpec::Core::Hooks#around when it does not run the example indicates which around hook did not run the example in the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 94) RSpec::Core::Hooks#around when it does not run the example for a hook declared in the group converts the example to a skipped example so the user is made aware of it Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:153:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 95) RSpec::Core::Hooks#around when it does not run the example for a hook declared in config converts the example to a skipped example so the user is made aware of it Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:168:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 96) RSpec::Core::Hooks#around when running the example within the around block exposes example metadata to each around hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:263:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 97) RSpec::Core::Hooks#around when running the example within the around block exposes the full example interface to each around hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:285:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 98) RSpec::Core::Hooks#around when running the example within the around block runs the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:249:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 99) RSpec::Core::Hooks#around when running the example within the around block exposes a sensible inspect value Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:318:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 100) RSpec::Core::Hooks#around when not running the example within the around block does not run the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:234:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 101) RSpec::Core::Hooks append_before(each) adds to the back of the list of before(:each) hooks (same as `before`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:393:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 102) RSpec::Core::ConfigurationOptions does not mutate the provided args array Got 0 failures and 2 other errors: 102.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/configuration_options_spec.rb:18:in `new' # ./spec/rspec/core/configuration_options_spec.rb:18:in `block (2 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 102.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 103) RSpec::Core::ConfigurationOptions --options sets :custom_options_file Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 104) RSpec::Core::ConfigurationOptions --backtrace, -b sets full_backtrace on config Got 0 failures and 2 other errors: 104.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:293:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 104.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 105) RSpec::Core::ConfigurationOptions default_path gets set before files_or_directories_to_run Got 0 failures and 2 other errors: 105.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:389:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 105.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 106) RSpec::Core::ConfigurationOptions --dry-run defaults to false Got 0 failures and 2 other errors: 106.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:326:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 106.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 107) RSpec::Core::ConfigurationOptions --dry-run sets dry_run on config Got 0 failures and 2 other errors: 107.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:330:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 107.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 108) RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before loading requires (since required files may issue deprecations) Got 0 failures and 2 other errors: 108.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:26:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 108.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 109) RSpec::Core::ConfigurationOptions#configure configures the seed (via `order`) before requires so that required files can use the configured seed Got 0 failures and 2 other errors: 109.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:103:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 109.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 110) RSpec::Core::ConfigurationOptions#configure configures `only_failures` before `files_or_directories_to_run` since it affects loaded files Got 0 failures and 2 other errors: 110.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:112:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 110.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 111) RSpec::Core::ConfigurationOptions#configure forces failure_exit_code Got 0 failures and 2 other errors: 111.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 111.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 112) RSpec::Core::ConfigurationOptions#configure forces no_color Got 0 failures and 2 other errors: 112.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:153:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 112.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 113) RSpec::Core::ConfigurationOptions#configure forces drb_port Got 0 failures and 2 other errors: 113.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 113.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 114) RSpec::Core::ConfigurationOptions#configure forces failure_exit_code Got 0 failures and 2 other errors: 114.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 114.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 115) RSpec::Core::ConfigurationOptions#configure sets `files_or_directories_to_run` before `requires` so users can check `files_to_run` in a spec_helper loaded by `--require` Got 0 failures and 2 other errors: 115.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:89:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 115.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 116) RSpec::Core::ConfigurationOptions#configure sets exclude_pattern before `requires` so users can check `files_to_run` in a `spec_helper` loaded by `--require` Got 0 failures and 2 other errors: 116.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:120:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 116.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 117) RSpec::Core::ConfigurationOptions#configure forces pattern Got 0 failures and 2 other errors: 117.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 117.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 118) RSpec::Core::ConfigurationOptions#configure forces color Got 0 failures and 2 other errors: 118.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:140:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 118.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 119) RSpec::Core::ConfigurationOptions#configure merges --I specified by multiple configuration sources Got 0 failures and 2 other errors: 119.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/configuration_options_spec.rb:187:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' 119.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 120) RSpec::Core::ConfigurationOptions#configure forces order Got 0 failures and 2 other errors: 120.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 120.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 121) RSpec::Core::ConfigurationOptions#configure forces default_path Got 0 failures and 2 other errors: 121.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 121.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 122) RSpec::Core::ConfigurationOptions#configure merges --require specified by multiple configuration sources Got 0 failures and 2 other errors: 122.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/configuration_options_spec.rb:178:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' 122.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 123) RSpec::Core::ConfigurationOptions#configure sends libs before requires Got 0 failures and 2 other errors: 123.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:57:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 123.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 124) RSpec::Core::ConfigurationOptions#configure sets up load path and requires before formatter Got 0 failures and 2 other errors: 124.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:73:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 124.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 125) RSpec::Core::ConfigurationOptions#configure merges the :exclusion_filter option with the default exclusion_filter Got 0 failures and 2 other errors: 125.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:134:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 125.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 126) RSpec::Core::ConfigurationOptions#configure forces order Got 0 failures and 2 other errors: 126.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:168:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 126.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 127) RSpec::Core::ConfigurationOptions#configure forces force_color Got 0 failures and 2 other errors: 127.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:147:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 127.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 128) RSpec::Core::ConfigurationOptions#configure sets pattern before `requires` so users can check `files_to_run` in a `spec_helper` loaded by `--require` Got 0 failures and 2 other errors: 128.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:120:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 128.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 129) RSpec::Core::ConfigurationOptions#configure sets default_path before loading specs Got 0 failures and 2 other errors: 129.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:81:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 129.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 130) RSpec::Core::ConfigurationOptions#configure sets default_path before `files_or_directories_to_run` since it relies on it Got 0 failures and 2 other errors: 130.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:96:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 130.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 131) RSpec::Core::ConfigurationOptions#configure loads requires before loading specs Got 0 failures and 2 other errors: 131.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:65:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 131.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 132) RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before configuring formatters Got 0 failures and 2 other errors: 132.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:47:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 132.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 133) RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before configuring filter_manager Got 0 failures and 2 other errors: 133.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:36:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 133.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 134) RSpec::Core::ConfigurationOptions#configure assigns inclusion_filter Got 0 failures and 2 other errors: 134.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:128:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 134.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 135) RSpec::Core::ConfigurationOptions#configure --next-failure changes `config.only_failures?` to true Got 0 failures and 2 other errors: 135.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:197:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 135.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 136) RSpec::Core::ConfigurationOptions#configure --only-failures changes `config.only_failures?` to true Got 0 failures and 2 other errors: 136.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:197:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 136.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 137) RSpec::Core::ConfigurationOptions#configure -n changes `config.only_failures?` to true Got 0 failures and 2 other errors: 137.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:197:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 137.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 138) RSpec::Core::ConfigurationOptions --failure-exit-code sets :failure_exit_code Got 0 failures and 2 other errors: 138.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:314:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 138.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 139) RSpec::Core::ConfigurationOptions --failure-exit-code overrides previous :failure_exit_code Got 0 failures and 2 other errors: 139.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:320:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 139.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 140) RSpec::Core::ConfigurationOptions --example sets :full_description Got 0 failures and 2 other errors: 140.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:286:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 140.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 141) RSpec::Core::ConfigurationOptions --force-color sets :color_mode => :on Got 0 failures and 2 other errors: 141.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:231:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 141.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 142) RSpec::Core::ConfigurationOptions --force-color overrides previous color flag Got 0 failures and 2 other errors: 142.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:235:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 142.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 143) RSpec::Core::ConfigurationOptions files_or_directories_to_run provides no files or directories if spec directory does not exist Got 0 failures and 2 other errors: 143.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:380:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 143.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 144) RSpec::Core::ConfigurationOptions files_or_directories_to_run parses file names that look like `default-path` option Got 0 failures and 2 other errors: 144.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:373:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 144.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 145) RSpec::Core::ConfigurationOptions files_or_directories_to_run parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb' Got 0 failures and 2 other errors: 145.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:367:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 145.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 146) RSpec::Core::ConfigurationOptions files_or_directories_to_run parses files from '-c file.rb dir/file.rb' Got 0 failures and 2 other errors: 146.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:357:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 146.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 147) RSpec::Core::ConfigurationOptions files_or_directories_to_run parses dir from 'dir' Got 0 failures and 2 other errors: 147.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:363:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 147.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 148) RSpec::Core::ConfigurationOptions --no-profile sets :profile_examples to false Got 0 failures and 2 other errors: 148.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:280:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 148.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 149) RSpec::Core::ConfigurationOptions invalid options defined in SPEC_OPTS mentions ENV['SPEC_OPTS'] as the source in the error so users know where to look for it Got 0 failures and 2 other errors: 149.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/configuration_options_spec.rb:417:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - gem_original_require # ./spec/rspec/core/configuration_options_spec.rb:399:in `expect_parsing_to_fail_mentioning_source' 149.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 150) RSpec::Core::ConfigurationOptions invalid options defined in ./.rspec-local mentions the file name in the error so users know where to look for it Got 0 failures and 2 other errors: 150.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:409:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:409:in `open' # ./spec/rspec/core/configuration_options_spec.rb:409:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 150.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 151) RSpec::Core::ConfigurationOptions invalid options defined in a custom file mentions the custom file as the source of the error so users know where to look for it Got 0 failures and 2 other errors: 151.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_options_spec.rb:399:in `expect_parsing_to_fail_mentioning_source' # ./spec/rspec/core/configuration_options_spec.rb:427:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 151.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 152) RSpec::Core::ConfigurationOptions invalid options defined in a custom file passed at the command line does not mention the source since it is obvious where it came from Got 0 failures and 2 other errors: 152.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_options_spec.rb:434:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 152.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 153) RSpec::Core::ConfigurationOptions invalid options defined in ./.rspec mentions the file name in the error so users know where to look for it Got 0 failures and 2 other errors: 153.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:409:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:409:in `open' # ./spec/rspec/core/configuration_options_spec.rb:409:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 153.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 154) RSpec::Core::ConfigurationOptions invalid options defined in ~/.rspec mentions the file name in the error so users know where to look for it Got 0 failures and 2 other errors: 154.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_options_spec.rb:409:in `expand_path' # ./spec/rspec/core/configuration_options_spec.rb:409:in `block (5 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 154.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 155) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS ignores file or dir names put in one of the option files or in SPEC_OPTS, since those are for persistent options Got 0 failures and 2 other errors: 155.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:461:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:461:in `open' # ./spec/rspec/core/configuration_options_spec.rb:461:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 155.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 156) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers SPEC_OPTS over CLI Got 0 failures and 2 other errors: 156.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/configuration_options_spec.rb:469:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' 156.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 157) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers project file options over global file options Got 0 failures and 2 other errors: 157.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:491:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:491:in `open' # ./spec/rspec/core/configuration_options_spec.rb:491:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 157.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 158) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS merges global, local, SPEC_OPTS, and CLI Got 0 failures and 2 other errors: 158.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:447:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:447:in `open' # ./spec/rspec/core/configuration_options_spec.rb:447:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 158.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 159) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers local file options over project file options Got 0 failures and 2 other errors: 159.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:498:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 159.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 160) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options Got 0 failures and 2 other errors: 160.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:476:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:476:in `open' # ./spec/rspec/core/configuration_options_spec.rb:476:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 160.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 161) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options for filter inclusion Got 0 failures and 2 other errors: 161.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/configuration_options_spec.rb:482:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 161.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 162) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS parses options file correctly if erb code has trimming options Got 0 failures and 2 other errors: 162.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:508:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 162.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 163) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file parses -e 'full spec description' Got 0 failures and 3 other errors: 163.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - eval # /usr/share/ruby/erb.rb:901:in `eval' # /usr/share/ruby/erb.rb:901:in `result' # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:523:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 163.2) Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 163.3) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 164) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file ignores project and global options files Got 0 failures and 2 other errors: 164.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/configuration_options_spec.rb:514:in `initialize' # ./spec/rspec/core/configuration_options_spec.rb:514:in `open' # ./spec/rspec/core/configuration_options_spec.rb:514:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 164.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 165) RSpec::Core::ConfigurationOptions -I can be used more than once Got 0 failures and 2 other errors: 165.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:244:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 165.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 166) RSpec::Core::ConfigurationOptions -I adds to :libs Got 0 failures and 2 other errors: 166.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:241:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 166.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 167) RSpec::Core::ConfigurationOptions --format, -f sets :formatter Got 0 failures and 2 other errors: 167.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:260:in `block (4 levels) in ' # ./spec/rspec/core/configuration_options_spec.rb:259:in `each' # ./spec/rspec/core/configuration_options_spec.rb:259:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 167.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 168) RSpec::Core::ConfigurationOptions --format, -f can accept a class name Got 0 failures and 2 other errors: 168.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:265:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 168.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 169) RSpec::Core::ConfigurationOptions -c, --color, and --colour overrides previous color flag Got 0 failures and 2 other errors: 169.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:215:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 169.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 170) RSpec::Core::ConfigurationOptions -c, --color, and --colour sets :color_mode => :automatic Got 0 failures and 2 other errors: 170.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:209:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 170.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 171) RSpec::Core::ConfigurationOptions --fail-fast sets fail_fast on config Got 0 failures and 2 other errors: 171.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:308:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 171.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 172) RSpec::Core::ConfigurationOptions --fail-fast defaults to false Got 0 failures and 2 other errors: 172.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:300:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 172.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 173) RSpec::Core::ConfigurationOptions --fail-fast sets fail_fast on config Got 0 failures and 2 other errors: 173.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:304:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 173.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 174) RSpec::Core::ConfigurationOptions --require requires files Got 0 failures and 2 other errors: 174.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:250:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 174.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 175) RSpec::Core::ConfigurationOptions --require can be used more than once Got 0 failures and 2 other errors: 175.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:253:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 175.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 176) RSpec::Core::ConfigurationOptions --profile, -p sets :profile_examples Got 0 failures and 2 other errors: 176.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:271:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 176.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 177) RSpec::Core::ConfigurationOptions --no-drb disables drb Got 0 failures and 2 other errors: 177.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:343:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 177.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 178) RSpec::Core::ConfigurationOptions --no-drb overrides a previous drb => true Got 0 failures and 2 other errors: 178.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:347:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 178.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 179) RSpec::Core::ConfigurationOptions --no-drb gets overriden by a subsquent drb => true Got 0 failures and 2 other errors: 179.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:351:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 179.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 180) RSpec::Core::ConfigurationOptions --no-color sets :color_mode => :off Got 0 failures and 2 other errors: 180.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:221:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 180.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 181) RSpec::Core::ConfigurationOptions --no-color overrides previous color flag Got 0 failures and 2 other errors: 181.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/support/config_options_helper.rb:11:in `parse_options' # ./spec/rspec/core/configuration_options_spec.rb:225:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 181.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 182) RSpec::Core::MultipleExceptionError supports the same interface as `RSpec::Expectations::MultipleExpectationsNotMetError` Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:733:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 183) RSpec::Core::MultipleExceptionError allows you to instantiate it with an initial list of exceptions Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:739:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 184) RSpec::Core::MultipleExceptionError ignores `Pending::PendingExampleFixedError` since it does not represent a real failure but rather the lack of one Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "a class satisfying the common multiple exception error interface" called from ./spec/rspec/core/formatters/exception_presenter_spec.rb:715 # ./spec/rspec/core/formatters/exception_presenter_spec.rb:696:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 185) RSpec::Core::MultipleExceptionError presents the same aggregation metadata that an `:aggregate_failures`-tagged example produces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/exception_presenter_spec.rb:792:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 186) RSpec::Core::MultipleExceptionError::InterfaceTag.for when given any other exception wraps it in a `RSpec::Expectations::MultipleExceptionError` Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:827:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 187) RSpec::Core::Reporter given one formatter passes messages to the formatter in the correct order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/reporter_spec.rb:98:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 188) RSpec::Core::Reporter#notify_non_example_exception sends a `message` notification that contains the formatted exception details Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/reporter_spec.rb:295:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 189) RSpec::Core::Reporter#publish will provide a custom notification object based on the options hash Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/reporter_spec.rb:223:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 190) RSpec::Core::Reporter start notifies the formatter of the seed used before notifing of start Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/reporter_spec.rb:61:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 191) RSpec::Core::Reporter#abort_with publishes the message and notifies :close Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/reporter_spec.rb:243:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 192) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError lists each individual expectation failure, with a backtrace relative to the aggregation block Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:77\n \n - 1.2) Failure/Error: expect(1).to fail_with_description("bar")\n + 1.2) Failure/Error: Unable to read failed line\n expected pass, but bar\n # ./spec/rspec/core/notifications_spec.rb:78\n # ./spec/rspec/core/notifications_spec.rb:94:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 193) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when there are failures and other errors lists both types in the exception listing Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte...RuntimeError:\n", " boom\n", " # ./spec/rspec/core/notifications_spec.rb:226\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n...RuntimeError:\n", " boom\n", " # ./spec/rspec/core/notifications_spec.rb:226\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:225\n \n - 1.2) Failure/Error: raise "boom"\n + 1.2) Failure/Error: Unable to read failed line\n \n RuntimeError:\n boom\n # ./spec/rspec/core/notifications_spec.rb:232:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 194) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when the failure happened in a shared example group does not include the shared group backtrace in the sub-failure backtraces Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:77\n \n - 1.2) Failure/Error: expect(1).to fail_with_description("bar")\n + 1.2) Failure/Error: Unable to read failed line\n expected pass, but bar\n # ./spec/rspec/core/notifications_spec.rb:78\n # ./spec/rspec/core/notifications_spec.rb:161:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 195) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when `aggregate_failures` is used in nested fashion recursively formats the nested aggregated failures Failure/Error: Unable to read failed line expected: "\n 1) Example\n Got 3 failures from failure aggregation block \"outer\".\n # ./spec/rspec/c...x\")\n expected pass, but qux\n # ./spec/rspec/core/notifications_spec.rb:186\n" got: "\n 1) Example\n Got 3 failures from failure aggregation block \"outer\".\n # ./spec/rspec/c...line\n expected pass, but qux\n # ./spec/rspec/core/notifications_spec.rb:186\n" (compared using ==) Diff: @@ -3,22 +3,22 @@ Got 3 failures from failure aggregation block "outer". # ./spec/rspec/core/notifications_spec.rb:178 - 1.1) Failure/Error: expect(1).to fail_with_description("foo") + 1.1) Failure/Error: Unable to read failed line expected pass, but foo # ./spec/rspec/core/notifications_spec.rb:179 1.2) Got 2 failures from failure aggregation block "inner". # ./spec/rspec/core/notifications_spec.rb:181 - 1.2.1) Failure/Error: expect(2).to fail_with_description("bar") + 1.2.1) Failure/Error: Unable to read failed line expected pass, but bar # ./spec/rspec/core/notifications_spec.rb:182 - 1.2.2) Failure/Error: expect(3).to fail_with_description("baz") + 1.2.2) Failure/Error: Unable to read failed line expected pass, but baz # ./spec/rspec/core/notifications_spec.rb:183 - 1.3) Failure/Error: expect(1).to fail_with_description("qux") + 1.3) Failure/Error: Unable to read failed line expected pass, but qux # ./spec/rspec/core/notifications_spec.rb:186 # ./spec/rspec/core/notifications_spec.rb:192:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 196) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError due to using `:aggregate_failures` metadata uses an alternate format for the exception summary to avoid confusing references to the aggregation block or stack trace Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/notifications_spec.rb:122:in `block (5 levels) in ' # ./spec/rspec/core/notifications_spec.rb:19:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 197) RSpec::Core::Metadata RESERVED_KEYS contains all keys assigned by RSpec (and vice versa) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:40:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 198) RSpec::Core::Metadata :id on a top-level group starts the count at 1 for each file Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/metadata_spec.rb:247:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 199) RSpec::Core::Metadata :id on an example defined in a shared group defined in a separate file uses the host group's file name as the prefix Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:290:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 200) RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash returns the described_class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:875:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 201) RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:884:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 202) RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:865:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 203) RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash returns the described_class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:856:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 204) RSpec::Core::Metadata backwards compatibility :example_group can still be filtered via a nested key under [:example_group] as before Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:820:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 205) RSpec::Core::Metadata backwards compatibility :example_group can mutate attributes when accessing them via [:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:805:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 206) RSpec::Core::Metadata backwards compatibility :example_group works properly with shallow nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:767:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 207) RSpec::Core::Metadata backwards compatibility :example_group works properly with deep nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:749:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 208) RSpec::Core::Metadata backwards compatibility :example_group allows integration libraries like VCR to infer a fixture name from the example description by walking up nesting structure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:793:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 209) RSpec::Core::Metadata backwards compatibility :example_group issues a deprecation warning when the `:example_group` key is accessed Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:713:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 210) RSpec::Core::Metadata backwards compatibility :example_group can access the parent example group attributes via [:example_group][:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:735:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 211) RSpec::Core::Metadata backwards compatibility :example_group can still access the example group attributes via [:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:726:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 212) RSpec::Core::Metadata backwards compatibility :example_group_block returns the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:836:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 213) RSpec::Core::Metadata backwards compatibility :example_group_block issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:845:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 214) RSpec::Core::Metadata for an example group does not include example specific keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:163:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 215) RSpec::Core::Metadata.relative_path gracefully returns nil if run in a secure thread Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/metadata_spec.rb:21:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 216) RSpec::Core::Metadata for an example extracts location from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:117:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 217) RSpec::Core::Metadata for an example ignores nil description args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:97:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 218) RSpec::Core::Metadata for an example creates an empty execution result Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:105:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 219) RSpec::Core::Metadata for an example does not include example-group specific keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:147:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 220) RSpec::Core::Metadata for an example extracts file path from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:109:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 221) RSpec::Core::Metadata for an example stores the description args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:93:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 222) RSpec::Core::Metadata for an example uses :caller if passed as an option Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:121:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 223) RSpec::Core::Metadata for an example stores the full_description (group description + example description) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:101:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 224) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:132:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 225) RSpec::Core::Metadata for an example extracts line number from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:113:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 226) RSpec::Core::Metadata for an example merges arbitrary options Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:126:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 227) RSpec::Core::Metadata :block for example group metadata contains the example group block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:181:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 228) RSpec::Core::Metadata :block for example metadata contains the example block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 229) RSpec::Core::Metadata :line_number uses the number after the first : for ruby 1.9 Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:669:in `value_for' # ./spec/rspec/core/metadata_spec.rb:685:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 230) RSpec::Core::Metadata :line_number finds the line number with the first non-rspec lib file in the backtrace Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:669:in `value_for' # ./spec/rspec/core/metadata_spec.rb:677:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 231) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that adds the examples directly to the host group is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:344:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 232) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group included via metadata is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:322:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 233) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that generates a nested group is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:344:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 234) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example not generated by a shared group is a blank array Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:308:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 235) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that adds the examples directly to the host group contains a stack frame for each inclusion, in the same order as ruby backtraces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:369:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 236) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that generates a nested group contains a stack frame for each inclusion, in the same order as ruby backtraces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:369:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 237) RSpec::Core::Metadata :file_path finds the first non-rspec lib file in the caller array Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:656:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 238) RSpec::Core::Metadata child example group nests the parent's example group metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:693:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 239) RSpec::Core::Metadata :description on a group with a string provides the submitted description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:510:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 240) RSpec::Core::Metadata :description on a group with empty args returns empty string for [:description] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:534:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 241) RSpec::Core::Metadata :description on a group with a non-string and a string concats the args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:522:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 242) RSpec::Core::Metadata :description on a group with a non-string provides the string form of the submitted object Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:516:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 243) RSpec::Core::Metadata :description on a group with a string and a non-string concats the args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:528:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 244) RSpec::Core::Metadata :description on a example just has the example description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:489:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 245) RSpec::Core::Metadata :full_description omits description from groups with a `nil` description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:556:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 246) RSpec::Core::Metadata :full_description concats nested example group descriptions three deep Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:590:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 247) RSpec::Core::Metadata :full_description concats nested example group descriptions Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:576:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 248) RSpec::Core::Metadata :full_description omits description from groups with a description of `''` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:566:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 249) RSpec::Core::Metadata :full_description with a description starting with :: nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 250) RSpec::Core::Metadata :full_description with a description starting with # nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 251) RSpec::Core::Metadata :full_description with a 2nd arg starting with :: removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 252) RSpec::Core::Metadata :full_description with a description starting with . nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 253) RSpec::Core::Metadata :full_description with a 2nd arg starting with . removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 254) RSpec::Core::Metadata :full_description on an example concats example group name and description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:545:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 255) RSpec::Core::Metadata :full_description with a description starting with :: nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 256) RSpec::Core::Metadata :full_description with a description starting with # nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 257) RSpec::Core::Metadata :full_description with a 2nd arg starting with # removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 258) RSpec::Core::Metadata :full_description with a description starting with . nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 259) RSpec::Core::Metadata :described_class in a nested group can override a parent group's described class using metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:464:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 260) RSpec::Core::Metadata :described_class in a nested group sets the described class when passing a class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:440:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 261) RSpec::Core::Metadata :described_class in a nested group does not override the :described_class when passing no describe args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:452:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 262) RSpec::Core::Metadata :described_class in a nested group inherits the parent group's described class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:428:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 263) RSpec::Core::RakeTask sets the files to run in a consistent order, regardless of the underlying FileList ordering Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/rake_task_spec.rb:155:in `new' # ./spec/rspec/core/rake_task_spec.rb:155:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:168:in `block in specify_consistent_ordering_of_files_to_run' # ./spec/rspec/core/rake_task_spec.rb:165:in `map' # ./spec/rspec/core/rake_task_spec.rb:165:in `specify_consistent_ordering_of_files_to_run' # ./spec/rspec/core/rake_task_spec.rb:256:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 264) RSpec::Core::RakeTask with SPEC env var set sets files to run Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/rake_task_spec.rb:176:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - exist? # ./spec/rspec/core/rake_task_spec.rb:155:in `new' 265) RSpec::Core::RakeTask with SPEC env var set sets the files to run in a consistent order, regardless of the underlying FileList ordering Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/rake_task_spec.rb:182:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - exist? # ./spec/rspec/core/rake_task_spec.rb:155:in `new' 266) RSpec::Core::RakeTask with verbose enabled prints an additional message to stderr for failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:136:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 267) RSpec::Core::RakeTask with verbose enabled prints the command only to stdout for passing specs Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 268) RSpec::Core::RakeTask with verbose disabled does not print to stdout or stderr Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:147:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 269) RSpec::Core::RakeTask with an exclude_pattern excludes files when pattern and exclusion_pattern don't consistently start with ./ Failure/Error: Unable to read failed line SecurityError: Insecure operation - path # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/rspec/core/rake_task_spec.rb:387:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 270) RSpec::Core::RakeTask with an exclude_pattern it does not load matching files Failure/Error: Unable to read failed line SecurityError: Insecure operation - path # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/rspec/core/rake_task_spec.rb:387:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 271) RSpec::Core::RakeTask with an exclude_pattern shellescapes the pattern as necessary Failure/Error: Unable to read failed line SecurityError: Insecure operation - path # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/rspec/core/rake_task_spec.rb:387:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 272) RSpec::Core::RakeTask with ruby options renders them before the rspec path Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:60:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 273) RSpec::Core::RakeTask without an exclude_pattern does not pass the --exclude-pattern option Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:366:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 274) RSpec::Core::RakeTask with rspec_opts correctly excludes the default pattern if rspec_opts includes --pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:72:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 275) RSpec::Core::RakeTask with rspec_opts adds the rspec_opts Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:67:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 276) RSpec::Core::RakeTask with a pattern value that is a mixture of file globs and individual files or dirs loads all specified or matching files Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:345:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 277) RSpec::Core::RakeTask with a pattern value that is an existing directory, not a file glob loads the spec files in that directory Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:270:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 278) RSpec::Core::RakeTask with a pattern value that is an array of existing files or directories, not a file glob loads the specified spec files, and spec files from the specified directories Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:313:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 279) RSpec::Core::RakeTask with a pattern value that is a single glob that starts with ./ loads the spec files that match the glob Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:324:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 280) RSpec::Core::RakeTask with a pattern value that matches no files runs nothing Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:263:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 281) RSpec::Core::RakeTask with a pattern value that is an existing file, not a file glob loads the spec file Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:277:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 282) RSpec::Core::RakeTask with a pattern value that is a relative file glob, for a path not under the default spec dir (`spec`) loads the matching spec files Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:300:in `block (5 levels) in ' # ./spec/rspec/core/rake_task_spec.rb:297:in `chdir' # ./spec/rspec/core/rake_task_spec.rb:297:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 283) RSpec::Core::RakeTask with a pattern value that is an absolute path file glob loads the matching spec files Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/rake_task_spec.rb:285:in `expand_path' # ./spec/rspec/core/rake_task_spec.rb:285:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 284) RSpec::Core::RakeTask with a pattern value that is an array of globs relative to the current working dir loads spec files that match any of the globs Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:333:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 285) RSpec::Core::RakeTask with a pattern value that is a FileList loads the files from the FileList Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:152:in `loaded_files' # ./spec/rspec/core/rake_task_spec.rb:356:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 286) RSpec::Core::RakeTask with custom exit status returns the correct status on exit Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:109:in `silence_output' # ./spec/rspec/core/rake_task_spec.rb:115:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 287) RSpec::Core::RakeTask load path manipulation does not include extra load path entries for other gems that have `rspec-core` in its path Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:250:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 288) RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :git dependencies avoids adding the same load path entries twice Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:217:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 289) RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :git dependencies adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:206:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 290) RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :path dependencies adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:206:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 291) RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :path dependencies avoids adding the same load path entries twice Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:217:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 292) RSpec::Core::RakeTask load path manipulation when rspec is installed as a rubygem avoids adding the same load path entries twice Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:217:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 293) RSpec::Core::RakeTask load path manipulation when rspec is installed as a rubygem adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:206:in `block (2 levels) in it_configures_rspec_load_path' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 294) RSpec::Core::RakeTask behaves like handling symlinked directories when loading spec files finds the files Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/rake_task_spec.rb:430 # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/support/shared_example_groups.rb:24:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 295) RSpec::Core::RakeTask behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/rake_task_spec.rb:430 # /usr/share/ruby/fileutils.rb:1569:in `path' # /usr/share/ruby/fileutils.rb:1569:in `fu_each_src_dest0' # /usr/share/ruby/fileutils.rb:361:in `ln_s' # ./spec/support/shared_example_groups.rb:43:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 296) RSpec::Core::RakeTask default renders rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:39:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 297) RSpec::Core::RakeTask with paths with quotes or spaces matches files with quotes and spaces Failure/Error: Unable to read failed line SecurityError: Insecure operation - path # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/rspec/core/rake_task_spec.rb:420:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 298) RSpec::Core::RakeTask with space renders rspec with space escaped Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:46:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 299) RSpec::Core::RakeTask with pattern adds the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:81:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 300) RSpec::Core::RakeTask with pattern shellescapes the pattern as necessary Failure/Error: Unable to read failed line SecurityError: Insecure operation - glob # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:408:in `glob' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:351:in `add_matching' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:223:in `resolve_add' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `block in resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `each' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:213:in `resolve' # /usr/share/gems/gems/rake-12.3.2/lib/rake/file_list.rb:69:in `sort' # ./spec/rspec/core/rake_task_spec.rb:13:in `spec_command' # ./spec/rspec/core/rake_task_spec.rb:86:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 301) RSpec::Core::RakeTask when `failure_message` is configured prints it if the RSpec run failed Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:98:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 302) RSpec::Core::RakeTask when `failure_message` is configured does not print it if the RSpec run succeeded Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/rake_task_spec.rb:103:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 303) RSpec::Core::Runner when run configures streams before command line options Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/runner_spec.rb:312:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 304) RSpec::Core::Runner when run assigns submitted ConfigurationOptions to @options Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/runner_spec.rb:317:in `new' # ./spec/rspec/core/runner_spec.rb:317:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 305) RSpec::Core::Runner when run #run supports a test-queue like subclass that can perform setup once and run different sets of example groups multiple times Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/runner_spec.rb:326:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 306) RSpec::Core::Runner when run #run reports the expected example count accurately, even when subclasses filter example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/runner_spec.rb:352:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 307) RSpec::Core::Runner when run #run running files returns 0 if spec passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 308) RSpec::Core::Runner when run #run running files returns 1 if spec fails Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 309) RSpec::Core::Runner when run #run running files returns 2 if spec fails and --failure-exit-code is 2 Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/spec_files.rb:7:in `expand_path' # ./spec/support/spec_files.rb:7:in `passing_spec_filename' # ./spec/support/spec_files.rb:11:in `create_passing_spec_file' # ./spec/support/spec_files.rb:35:in `block (2 levels) in ' 310) RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is configured persists the status of all loaded examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/runner_spec.rb:397:in `run' # ./spec/rspec/core/runner_spec.rb:404:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 311) RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is not configured persists the status of all loaded examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/runner_spec.rb:397:in `run' # ./spec/rspec/core/runner_spec.rb:412:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 312) RSpec::Core::Runner when run #run with custom output doesn't override output_stream Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/runner_spec.rb:445:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 313) RSpec::Core::Runner.running_in_drb? when drb server is started with 127.0.0.1 Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/rspec/core/runner_spec.rb:181:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 314) RSpec::Core::Runner.running_in_drb? when IPSocket cannot resolve the current hostname Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/rspec/core/runner_spec.rb:223:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 315) RSpec::Core::Runner.running_in_drb? when drb server is started with localhost Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/rspec/core/runner_spec.rb:189:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 316) RSpec::Core::Runner.running_in_drb? when drb server is started with another local ip address Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/rspec/core/runner_spec.rb:201:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 317) RSpec::Core::Runner interrupt handling prints a message the first time, then exits the second time Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:101:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 318) RSpec::Core::Runner interrupt catching with SIGINT twice exits immediately Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:153:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 319) RSpec::Core::Runner interrupt catching with SIGINT once does not exit immediately, but notifies the user Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/runner_spec.rb:145:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 320) RSpec::Core::Formatters::JsonFormatter outputs expected json (brittle high level functional test) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:24:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 321) RSpec::Core::Formatters::JsonFormatter can be loaded via `--format json` Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/json_formatter_spec.rb:17:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 322) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides information Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 323) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups ranks the example groups by average time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 324) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides the slowest example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 325) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group provides example execution time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 326) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group has the summary of profile information Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 327) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 328) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group doesn't profile a single example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 329) Example status merging preserves any extra attributes include in the example hashes Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:252:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 330) Example status merging when there are no examples from this run returns the examples from the previous runs Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:263:in `merge' # ./spec/rspec/core/example_status_persister_spec.rb:168:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 331) Example status merging for examples that are only in the set for previous runs if there are other examples from this run for the same file deletes them since the examples must no longer exist Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:189:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 332) Example status merging for examples that are only in the set for previous runs if there are no other examples from this run for the same file keeps them if the file exists because the examples may still exist Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:263:in `merge' # ./spec/rspec/core/example_status_persister_spec.rb:204:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 333) Example status merging for examples that are only in the set for this run takes them indiscriminately, even if they did not execute Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:178:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 334) Example status merging for examples that are in both sets takes the status from this run as long as the example executed Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:216:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 335) Example status merging for examples that are in both sets takes the status from previous runs if the example was loaded but did not execute Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:224:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 336) Example status merging when there are no examples from previous runs returns the examples from this run Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_status_persister_spec.rb:157:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 337) RSpec::Core::Configuration allows file names with brackets Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/matchers.rb:99:in `block in ' # ./spec/rspec/core/configuration_spec.rb:852:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 338) RSpec::Core::Configuration#expectation_frameworks when rspec-expectations is not installed gracefully falls back to an anonymous module Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:313:in `an_anonymous_module' # ./spec/rspec/core/configuration_spec.rb:318:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 339) RSpec::Core::Configuration#on_example_group_definition successfully invokes the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:32:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 340) RSpec::Core::Configuration#mock_framework when rspec-mocks is not installed gracefully falls back to :nothing Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:194:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # LoadError: # LoadError # ./spec/rspec/core/configuration_spec.rb:194:in `block (4 levels) in ' 341) RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in matching groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:953:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 342) RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in the singleton class of matching examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/configuration_spec.rb:964:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 343) RSpec::Core::Configuration#exclude_pattern after `files_to_run` has been accessed but before files have been loaded still takes affect Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:797:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:797:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 344) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values with spaces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:764:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:764:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 345) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports curly braces glob syntax Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:772:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:772:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 346) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:756:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:756:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 347) RSpec::Core::Configuration#exclude_pattern with single pattern ignores exclude_pattern if files are specified Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:745:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:745:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 348) RSpec::Core::Configuration#exclude_pattern with single pattern loads files in directories not following exclude pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:738:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:738:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 349) RSpec::Core::Configuration#exclude_pattern with single pattern does not load files in directories following exclude pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:732:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:732:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 350) RSpec::Core::Configuration with full_description set overrides filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:810:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 351) RSpec::Core::Configuration#mock_with allows rspec-mocks to be configured with a provided block Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:238:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 352) RSpec::Core::Configuration#mock_with uses the null adapter when given :nothing Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:259:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 353) RSpec::Core::Configuration#expose_current_running_example_as exposes the current example via the named method Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2550:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 354) RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if no matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1936:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 355) RSpec::Core::Configuration#when_first_matching_example_defined still runs after the first matching example even if there is a group that matches earlier Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1966:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 356) RSpec::Core::Configuration#when_first_matching_example_defined runs the block when the first matching example is defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1902:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 357) RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if groups match the metadata but no examples do Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1950:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 358) RSpec::Core::Configuration#when_first_matching_example_defined does not fire when later matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1918:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 359) RSpec::Core::Configuration#when_first_matching_example_defined when a group is defined with matching metadata runs the callback after the first example in the group is defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1987:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 360) RSpec::Core::Configuration#when_first_matching_example_defined when a matching example group with other registered metadata has been defined does not fire when later matching examples with the other metadata are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2028:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 361) RSpec::Core::Configuration#when_first_matching_example_defined when the value of the registered metadata is a Proc does not fire when later matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2004:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 362) RSpec::Core::Configuration#files_to_run prevents repetition of dir when start of the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:441:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 363) RSpec::Core::Configuration#files_to_run deduplicates spec files that are listed individually and present in a passed dir Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:637:in `file_at' # ./spec/rspec/core/configuration_spec.rb:610:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 364) RSpec::Core::Configuration#files_to_run does not attempt to treat the pattern relative to `.` if it uses `**` in the first path segment as that would cause it load specs from vendored gems Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/matchers.rb:99:in `block in ' # ./spec/rspec/core/configuration_spec.rb:487:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:483:in `chdir' # ./spec/rspec/core/configuration_spec.rb:483:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 365) RSpec::Core::Configuration#files_to_run respects the user-specified order of files and directories passed at the command line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:637:in `file_at' # ./spec/rspec/core/configuration_spec.rb:595:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 366) RSpec::Core::Configuration#files_to_run supports absolute path patterns Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:460:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:460:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 367) RSpec::Core::Configuration#files_to_run loads files not following pattern if named explicitly Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/matchers.rb:99:in `block in ' # ./spec/rspec/core/configuration_spec.rb:436:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 368) RSpec::Core::Configuration#files_to_run loads files in passed directories in alphabetical order to avoid OS-specific file-globbing non-determinism Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:637:in `file_at' # ./spec/rspec/core/configuration_spec.rb:581:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 369) RSpec::Core::Configuration#files_to_run reloads when `files_or_directories_to_run` is reassigned Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/matchers.rb:99:in `block in ' # ./spec/rspec/core/configuration_spec.rb:498:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 370) RSpec::Core::Configuration#files_to_run supports patterns starting with ./ Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:453:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 371) RSpec::Core::Configuration#files_to_run supports relative path patterns for an alternate directory from `spec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - directory? # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:473:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:471:in `chdir' # ./spec/rspec/core/configuration_spec.rb:471:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 372) RSpec::Core::Configuration#files_to_run attempts to load the provided file names Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/matchers.rb:99:in `block in ' # ./spec/rspec/core/configuration_spec.rb:503:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 373) RSpec::Core::Configuration#files_to_run does not prevent repetition of dir when later of the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:447:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 374) RSpec::Core::Configuration#files_to_run with default pattern loads files named _spec.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:531:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 375) RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/configuration_spec.rb:545 # /usr/share/ruby/fileutils.rb:1569:in `path' # /usr/share/ruby/fileutils.rb:1569:in `fu_each_src_dest0' # /usr/share/ruby/fileutils.rb:361:in `ln_s' # ./spec/support/shared_example_groups.rb:43:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 376) RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files finds the files Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/configuration_spec.rb:545 # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/support/shared_example_groups.rb:24:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 377) RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run with DRB (e.g., spork) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:563:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 378) RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run by rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:556:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 379) RSpec::Core::Configuration#include with no filter includes the given module into each example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:996:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 380) RSpec::Core::Configuration#include with no filter includes the given module into each existing example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1002:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 381) RSpec::Core::Configuration#include with a filter ensures that `before` hooks have access to the module methods, even when only included in the singleton class of one example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1081:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 382) RSpec::Core::Configuration#include with a filter does not include the module in an example's singleton class when it has already been included in the group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1108:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 383) RSpec::Core::Configuration#include with a filter includes the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1019:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 384) RSpec::Core::Configuration#include with a filter includes in example groups that match a deprecated `:example_group` filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:1030:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 385) RSpec::Core::Configuration#include with a filter includes the given module into the singleton class of matching examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1060:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 386) RSpec::Core::Configuration#include with a filter includes the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1035:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 387) RSpec::Core::Configuration#filter_gems_from_backtrace filters the named gems from the backtrace Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration_spec.rb:1711:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 388) RSpec::Core::Configuration#define_derived_metadata registers top-level groups before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1802:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 389) RSpec::Core::Configuration#define_derived_metadata registers nested groups before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1816:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 390) RSpec::Core::Configuration#define_derived_metadata derives metadata before the group or example blocks are eval'd so their logic can depend on the derived metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1786:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 391) RSpec::Core::Configuration#define_derived_metadata registers examples before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1832:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 392) RSpec::Core::Configuration#requires= adds `lib` to the load path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:133:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:133:in `absolute_path_to' # ./spec/rspec/core/configuration_spec.rb:137:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 393) RSpec::Core::Configuration#requires= adds the configured `default_path` to the load path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:133:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:133:in `absolute_path_to' # ./spec/rspec/core/configuration_spec.rb:147:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 394) RSpec::Core::Configuration#extend extends the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1143:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 395) RSpec::Core::Configuration#extend extends the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1138:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 396) RSpec::Core::Configuration#pattern after `files_to_run` has been accessed but before files have been loaded still takes affect Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:718:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 397) RSpec::Core::Configuration#pattern with single pattern loads files in directories following pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:654:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:654:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 398) RSpec::Core::Configuration#pattern with single pattern ignores pattern if files are specified Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:667:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:667:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 399) RSpec::Core::Configuration#pattern with single pattern loads all explicitly specified files, even those that do not match the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:646:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:646:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 400) RSpec::Core::Configuration#pattern with single pattern does not load files in directories not following pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:660:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:660:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 401) RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values with spaces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:686:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:686:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 402) RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:678:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:678:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 403) RSpec::Core::Configuration#pattern with multiple patterns supports curly braces glob syntax Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:694:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 404) RSpec::Core::Configuration#prepend with no filter prepends the given module into each existing example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1184:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 405) RSpec::Core::Configuration#prepend with no filter prepends the given module into each example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1179:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 406) RSpec::Core::Configuration#prepend with a filter prepends the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1200:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 407) RSpec::Core::Configuration#prepend with a filter prepends the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1205:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 408) RSpec::Core::Configuration#disable_monkey_patching! stops using should syntax for mocks Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2601:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2599:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 409) RSpec::Core::Configuration#disable_monkey_patching! when user did not configure expectation framework disables monkey patching after example groups being configured Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2656:in `block (6 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2655:in `block (5 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2646:in `block in emulate_not_configured_expectation_framework' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2641:in `emulate_not_configured_expectation_framework' # ./spec/rspec/core/configuration_spec.rb:2651:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 410) RSpec::Core::Configuration#disable_monkey_patching! when user did not configure mock framework disables monkey patching after example groups being configured Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2633:in `block (6 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2632:in `block (5 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2623:in `block in emulate_not_configured_mock_framework' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2618:in `emulate_not_configured_mock_framework' # ./spec/rspec/core/configuration_spec.rb:2628:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 411) RSpec::Core::OutputWrapper redirects calls to the wrapped object Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/output_wrapper_spec.rb:9:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 412) #let raises an error when attempting to define a reserved method name Failure/Error: Unable to read failed line expected /#let or #subject called with a reserved name #initialize/, got # with backtrace: # ./spec/rspec/core/memoized_helpers_spec.rb:525:in `block (3 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:524:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:524:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 413) #let raises an error when referenced from `before(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 414) #let raises a useful error when called without a block Failure/Error: Unable to read failed line expected /#let or #subject called without a block/, got # with backtrace: # ./spec/rspec/core/memoized_helpers_spec.rb:519:in `block (3 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:518:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:518:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 415) #let raises an error when referenced from `after(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 416) #let when included modules have hooks that define memoized helpers allows memoized helpers to override methods in previously included modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:574:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 417) RSpec::Core::RubyProject#ascend_until works with a path with a trailing slash Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/ruby_project_spec.rb:30:in `expect_ascend' # ./spec/rspec/core/ruby_project_spec.rb:38:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 418) RSpec::Core::RubyProject#ascend_until works with a normal path Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/ruby_project_spec.rb:30:in `expect_ascend' # ./spec/rspec/core/ruby_project_spec.rb:34:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 419) RSpec::Core::RubyProject#ascend_until works with a path with double slashes Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/ruby_project_spec.rb:30:in `expect_ascend' # ./spec/rspec/core/ruby_project_spec.rb:42:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 420) RSpec::Core::RubyProject#ascend_until works with a path with escaped slashes Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/ruby_project_spec.rb:30:in `expect_ascend' # ./spec/rspec/core/ruby_project_spec.rb:46:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 421) RSpec::Core::Set is enumerable Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/set_spec.rb:21:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 422) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples uses the location to identify the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:64:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 423) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example defined in an file required by the user rather than loaded by rspec looks through ancestor metadata to find a workable re-run command Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:74:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 424) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location uses the id instead Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:100:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:1:in `example_group_defined_in' 425) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids quotes the id to be safe so the rerun command can be copied and pasted Got 0 failures and 2 other errors: 425.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:1:in `example_group_defined_in' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:87:in `instance_eval' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:87:in `example_group_defined_in' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:84:in `block (5 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:109:in `block (6 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 425.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 426) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids correctly escapes file names that have quotes in them Got 0 failures and 2 other errors: 426.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:120:in `expand_path' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:120:in `block in output_from_running' # ./spec/support/formatter_support.rb:372:in `notify' # ./spec/support/formatter_support.rb:250:in `send_notification' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:124:in `output_from_running' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:114:in `block (6 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 426.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 427) RSpec::Core::Formatters::BaseTextFormatter#dump_failures preserves formatting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:141:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 428) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception class other than RSpec does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:184:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 429) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed message expectation (rspec-mocks) does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:210:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 430) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has a differently encoded message runs without encountering an encoding exception Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 431) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message preserves ancestry Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:158:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 432) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message does not throw NoMethodError Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:153:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 433) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:220:in `block (6 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:224:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 434) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains nested example groups outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:237:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:243:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 435) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains shared group nesting includes each inclusion location in the output Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:257:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:262:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:266:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 436) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has an exception instance as its message does not raise NoMethodError Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 437) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:220:in `block (6 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:224:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 438) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains nested example groups outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:237:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:243:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 439) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains shared group nesting includes each inclusion location in the output Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:257:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:262:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:266:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 440) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an instance of an anonymous exception class substitutes '(anonymous error class)' for the missing class name Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:176:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 441) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed expectation (rspec-expectations) does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:202:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 442) Configuration :suite hooks always runs `after(:suite)` hooks even in the face of errors Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:98:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 443) Configuration :suite hooks the runner runs :suite hooks before and after example groups in the correct order Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/suite_hooks_spec.rb:111:in `define_and_run_example_group' # ./spec/rspec/core/suite_hooks_spec.rb:138:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 444) Configuration :suite hooks the runner still runs :suite hooks with metadata even though the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/runner_support.rb:13:in `new' # ./spec/support/runner_support.rb:13:in `build_config_options' # ./spec/support/runner_support.rb:9:in `build_runner' # ./spec/rspec/core/suite_hooks_spec.rb:111:in `define_and_run_example_group' # ./spec/rspec/core/suite_hooks_spec.rb:121:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 445) Configuration :suite hooks a `:suite` hook registered with `append_before` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 446) Configuration :suite hooks a `:suite` hook registered with `append_before` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 447) Configuration :suite hooks a `:suite` hook registered with `append_before` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 448) Configuration :suite hooks a `:suite` hook registered with `after` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 449) Configuration :suite hooks a `:suite` hook registered with `after` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 450) Configuration :suite hooks a `:suite` hook registered with `after` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 451) Configuration :suite hooks a `:suite` hook registered with `before` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 452) Configuration :suite hooks a `:suite` hook registered with `before` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 453) Configuration :suite hooks a `:suite` hook registered with `before` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 454) Configuration :suite hooks a `:suite` hook registered with `append_after` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 455) Configuration :suite hooks a `:suite` hook registered with `append_after` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 456) Configuration :suite hooks a `:suite` hook registered with `append_after` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 457) Configuration :suite hooks a `:suite` hook registered with `prepend_after` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 458) Configuration :suite hooks a `:suite` hook registered with `prepend_after` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 459) Configuration :suite hooks a `:suite` hook registered with `prepend_after` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 460) Configuration :suite hooks a `:suite` hook registered with `prepend_before` is skipped when in dry run mode Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 461) Configuration :suite hooks a `:suite` hook registered with `prepend_before` registered with metadata explicitly warns that the metadata is ignored Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:88:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 462) Configuration :suite hooks a `:suite` hook registered with `prepend_before` registered on an example group is ignored with a clear warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/suite_hooks_spec.rb:78:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 463) RSpec::Core::Formatters::ProgressFormatter produces the expected full output Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/progress_formatter_spec.rb:44:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 464) RSpec::Core::MetadataFilter.filter_applies? with an Array does not match a proc that evaluates to false Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:215:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 465) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a symbol Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:187:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 466) RSpec::Core::MetadataFilter.filter_applies? with an Array matches an integer Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:199:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 467) RSpec::Core::MetadataFilter.filter_applies? with an Array matches when a metadata key is specified without a value and exists in the metadata hash Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:219:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 468) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a proc that evaluates to true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:211:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 469) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a string Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 470) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a regexp Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:205:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 471) Aggregating failures for a pending example via `:aggregate_failures` metadata applies `aggregate_failures` to examples or groups tagged with `:aggregate_failures` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:161 # ./spec/rspec/core/aggregate_failures_spec.rb:63:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 472) Aggregating failures for a pending example via `:aggregate_failures` metadata when the example has multiple exceptions, plus another error reports it as a flat multiple exception error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:161 # ./spec/rspec/core/aggregate_failures_spec.rb:104:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 473) Aggregating failures for a pending example via `:aggregate_failures` metadata when the example has an exception, plus another error reports it as a multiple exception error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:161 # ./spec/rspec/core/aggregate_failures_spec.rb:84:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 474) Aggregating failures for a pending example via the `aggregate_failures` method when the example has an expectation failure, plus an `after` hook and an `around` hook failure presents a flat list of three failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:161 # ./spec/rspec/core/aggregate_failures_spec.rb:8:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 475) Aggregating failures for a pending example via the `aggregate_failures` method when the example has multiple expectation failures, plus an `after` hook and an `around` hook failure nests the expectation failures so that they can be labeled with the aggregation block label Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:161 # ./spec/rspec/core/aggregate_failures_spec.rb:30:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 476) Aggregating failures for a non-pending example does not interfere with other `around` hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/aggregate_failures_spec.rb:130:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 477) Aggregating failures for a non-pending example via `:aggregate_failures` metadata applies `aggregate_failures` to examples or groups tagged with `:aggregate_failures` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:125 # ./spec/rspec/core/aggregate_failures_spec.rb:63:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 478) Aggregating failures for a non-pending example via `:aggregate_failures` metadata when the example has an exception, plus another error reports it as a multiple exception error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:125 # ./spec/rspec/core/aggregate_failures_spec.rb:84:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 479) Aggregating failures for a non-pending example via `:aggregate_failures` metadata when the example has multiple exceptions, plus another error reports it as a flat multiple exception error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:125 # ./spec/rspec/core/aggregate_failures_spec.rb:104:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 480) Aggregating failures for a non-pending example via the `aggregate_failures` method when the example has an expectation failure, plus an `after` hook and an `around` hook failure presents a flat list of three failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:125 # ./spec/rspec/core/aggregate_failures_spec.rb:8:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 481) Aggregating failures for a non-pending example via the `aggregate_failures` method when the example has multiple expectation failures, plus an `after` hook and an `around` hook failure nests the expectation failures so that they can be labeled with the aggregation block label Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "failure aggregation" called from ./spec/rspec/core/aggregate_failures_spec.rb:125 # ./spec/rspec/core/aggregate_failures_spec.rb:30:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 482) RSpec::Core::Notifications::ExamplesNotification#notifications returns an array of notification objects for all the examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/notifications_spec.rb:354:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 483) RSpec::Core::Bisect::Runner#repro_command_from prints the files in alphabetical order Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 484) RSpec::Core::Bisect::Runner#repro_command_from starts with `rspec #{example_ids}` Got 0 failures and 2 other errors: 484.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 484.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 485) RSpec::Core::Bisect::Runner#repro_command_from prints ids from the same file in sequential order Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 486) RSpec::Core::Bisect::Runner#repro_command_from includes original options that `command_for` excludes Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 487) RSpec::Core::Bisect::Runner#repro_command_from groups multiple ids for the same file together Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 488) RSpec::Core::Bisect::Runner#repro_command_from does not include `--bisect` even though the original args do Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 489) RSpec::Core::Bisect::Runner#repro_command_from quotes the ids on a shell like ZSH that requires it Got 0 failures and 2 other errors: 489.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:211:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 489.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 490) RSpec::Core::Bisect::Runner#repro_command_from includes the original SPEC_OPTS but excludes the --bisect flag Got 0 failures and 2 other errors: 490.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:171:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:173:in `block (4 levels) in ' 490.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 491) RSpec::Core::Bisect::Runner#repro_command_from includes the original CLI args but excludes the original CLI locations Got 0 failures and 2 other errors: 491.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:167:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 491.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 492) RSpec::Core::Bisect::Runner#command_for excludes any --format and matching --out options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:89:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:97:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 493) RSpec::Core::Bisect::Runner#command_for starts with the path to the current ruby executable Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:112:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 494) RSpec::Core::Bisect::Runner#command_for replaces the locations from the original CLI args with the provided locations Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 495) RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:89:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:102:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 496) RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:89:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 497) RSpec::Core::Bisect::Runner#command_for ignores an existing --drb-port option (since we use the server's port instead) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/runner_spec.rb:70:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 498) RSpec::Core::Bisect::Runner#original_results runs the suite with the original CLI options Failure/Error: Unable to read failed line expected # to invoke command with env a string including "--seed 1234" and {} # ./spec/rspec/core/bisect/runner_spec.rb:263:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 499) RSpec::Core::Bisect::Runner#original_results when --bisect=verbose is present in SPEC_OPTS runs the suite with --bisect removed from the environment Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:284:in `block (5 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:230:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:283:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 500) RSpec::Core::Bisect::Runner#original_results when --bisect is present in SPEC_OPTS runs the suite with --bisect removed from the environment Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:271:in `block (5 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:230:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:270:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 501) RSpec::Core::Formatters::HtmlFormatter produced HTML is identical to the one we designed manually Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/html_formatter_spec.rb:17:in `block (2 levels) in ' # ./spec/rspec/core/formatters/html_formatter_spec.rb:62:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 502) config block hook filtering hooks with single filters runs before|after :all hooks on matching nested example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:267:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 503) config block hook filtering hooks with single filters does not run local :all|:context hooks if the entire context is skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:358:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 504) config block hook filtering hooks with single filters runs before|after :all hooks only on the highest level group that matches the filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:289:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 505) config block hook filtering hooks with single filters is run if the filter matches the example group's filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:247:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 506) config block hook filtering hooks with single filters runs :all|:context hooks even if there are no unskipped examples in that context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:324:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 507) config block hook filtering hooks with single filters does not run if the filter doesn't match the example group's filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:317:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 508) config block hook filtering hooks with single filters does not run :all|:context hooks in global config if the entire context is skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:347:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 509) config block hook filtering hooks with single filters when the hook filters apply to individual examples instead of example groups an example with matching metadata runs the `:each` hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:379:in `block (4 levels) in ' # ./spec/rspec/core/hooks_filtering_spec.rb:399:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 510) config block hook filtering hooks with single filters when the hook filters apply to individual examples instead of example groups an example without matching metadata does not run any of the hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:379:in `block (4 levels) in ' # ./spec/rspec/core/hooks_filtering_spec.rb:399:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 511) config block hook filtering hooks with single filters with no scope specified is run around|before|after :each if the filter matches the example group's filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:227:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 512) config block hook filtering :context hooks defined in configuration with metadata does not apply to individual matching examples for which it also applies to a parent example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:513:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 513) config block hook filtering :context hooks defined in configuration with metadata applies to individual matching examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:498:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 514) config block hook filtering hooks with multiple filters is run if all hook filters match the group's filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:435:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 515) config block hook filtering hooks with multiple filters does not run for examples that do not match, even if their group matches Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:480:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 516) config block hook filtering hooks with multiple filters does not run if some hook filters don't match the group's filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:457:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 517) config block hook filtering unfiltered hooks is run Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:204:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 518) config block hook filtering when hooks are defined after a group has been defined only runs example hooks once when there are multiple nested example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:139:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 519) config block hook filtering when hooks are defined after a group has been defined applies only to examples with matching metadata (for hooks declared with :each) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:91:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 520) config block hook filtering when hooks are defined after a group has been defined applies only to groups with matching metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:45:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 521) config block hook filtering when hooks are defined after a group has been defined still applies Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:7:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 522) config block hook filtering when hooks are defined after a group has been defined only runs context hooks around the highest level group with matching filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:171:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 523) config block hook filtering when hooks are defined after a group has been defined applies only to examples with matching metadata (for hooks declared with :example) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:91:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 524) config block hook filtering when hooks are defined after a group has been defined does not apply `suite` hooks to groups (or print warnings about suite hooks applied to example groups) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_filtering_spec.rb:121:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 525) RSpec::Core::SharedExampleGroup shared_context generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 526) RSpec::Core::SharedExampleGroup shared_context is not exposed to the global namespace when monkey patching is disabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:69:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 527) RSpec::Core::SharedExampleGroup shared_context works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 528) RSpec::Core::SharedExampleGroup shared_context is exposed to the global namespace when expose_dsl_globally is enabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:62:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:60:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 529) RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 530) RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 531) RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 532) RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 533) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:211:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 534) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 535) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 536) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 537) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 538) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 539) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 540) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 541) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 542) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 543) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 544) RSpec::Core::SharedExampleGroup shared_context when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 545) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 546) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 547) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 548) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:162:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 549) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:181:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 550) RSpec::Core::SharedExampleGroup shared_examples_for is exposed to the global namespace when expose_dsl_globally is enabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:62:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:60:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 551) RSpec::Core::SharedExampleGroup shared_examples_for is not exposed to the global namespace when monkey patching is disabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:69:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 552) RSpec::Core::SharedExampleGroup shared_examples_for generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 553) RSpec::Core::SharedExampleGroup shared_examples_for works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 554) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 555) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 556) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 557) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 558) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 559) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:211:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 560) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 561) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 562) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:162:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 563) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:181:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 564) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 565) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 566) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 567) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 568) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 569) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 570) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 571) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 572) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 573) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 574) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 575) RSpec::Core::SharedExampleGroup shared_examples is not exposed to the global namespace when monkey patching is disabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:69:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 576) RSpec::Core::SharedExampleGroup shared_examples generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 577) RSpec::Core::SharedExampleGroup shared_examples is exposed to the global namespace when expose_dsl_globally is enabled Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:62:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:60:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 578) RSpec::Core::SharedExampleGroup shared_examples works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 579) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 580) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 581) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 582) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 583) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 584) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 585) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 586) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:162:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 587) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:181:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 588) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:211:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 589) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 590) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 591) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 592) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 593) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 594) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 595) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 596) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 597) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 598) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 599) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 600) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the caller to specify additional indentation Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:69:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 601) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows a caller to specify extra details that are added to the bottom Failure/Error: Unable to read failed line expected: "\n 2) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n ... # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n extra detail for failure: 2\n" got: "\n 2) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n extra detail for failure: 2\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 2) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:133:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 602) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted wont produce a stack error when the cause is an older exception Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n ...ed by: ---\n # A loop\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./...ed by: ---\n # A loop\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:201:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 603) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted includes the first exception that caused the failure Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n ...# Real\n # culprit\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:153\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./...# Real\n # culprit\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:153\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:159:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 604) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted prints no identifier when no number argument is given Failure/Error: Unable to read failed line expected: "\n Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:55:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 605) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted adds extra failure lines from the example metadata Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n ...ample.com/job_details/123\n\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n\...ample.com/job_details/123\n\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:221:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 606) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted aligns lines Failure/Error: Unable to read failed line expected: "\n 1) Example\n Some Detail\n Failure/Error: # The failure happened here! Handles enc... Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Some Detail\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,7 +1,7 @@ 1) Example Some Detail - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:85:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 607) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted wont produce a stack error when cause is the exception itself Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n ... # Boom\n # Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./... # Boom\n # Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:179:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 608) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the failure/error line to be used as the description Failure/Error: Unable to read failed line expected: "\n 1) Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,5 +1,5 @@ - 1) Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + 1) Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:116:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 609) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted indents properly when given a multiple-digit failure index Failure/Error: Unable to read failed line expected: "\n 100) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 100) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 100) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:43:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 610) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted formats the exception with all the normal details Failure/Error: Unable to read failed line expected: "\n 1) Example\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Example\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Example - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:31:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 611) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the caller to omit the description Failure/Error: Unable to read failed line expected: "\n 1) Detail!\n Failure/Error: # The failure happened here! Handles encoding too! ЙЦ\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" got: "\n 1) Detail!\n Failure/Error: Unable to read failed line\n\n Boom\n Bam\n # ./spec/rspec/core/formatters/exception_presenter_spec.rb:26\n" (compared using ==) Diff: @@ -1,6 +1,6 @@ 1) Detail! - Failure/Error: # The failure happened here! Handles encoding too! ЙЦ + Failure/Error: Unable to read failed line Boom Bam # ./spec/rspec/core/formatters/exception_presenter_spec.rb:102:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 612) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and multiline RSpec exception message inserts a blank line between the expression and the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:304:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 613) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and multiline RSpec exception message inserts a blank line between the expression and the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:323:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 614) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and RSpec exception message starting with linefeed (like `eq` matcher) does not insert a superfluous blank line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:364:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 615) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and RSpec exception message starting with linefeed (like `eq` matcher) does not insert a superfluous blank line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:343:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 616) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and single line RSpec exception message inserts a blank line between the expression and the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:285:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 617) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and single line non-RSpec exception message inserts a blank line between the expression and the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:405:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 618) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and single line RSpec exception message crams them without blank line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:268:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 619) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format syntax highlighting uses our syntax highlighter on the code snippet to format it nicely Failure/Error: Unable to read failed line expected "\n 1) Example\n Failure/Error: Unable to read failed line\n expected \"RSpec\" to be a ki...top (required)>'\n # ./spec/support/sandboxing.rb:7:in `block (2 levels) in '\n" to include "expect('RSpec').to be_a(Integer)" Diff: @@ -1,2 +1,10 @@ -expect('RSpec').to be_a(Integer) + + 1) Example + Failure/Error: Unable to read failed line + expected "RSpec" to be a kind of Integer + # ./spec/rspec/core/formatters/exception_presenter_spec.rb:246:in `block (5 levels) in ' + # ./spec/rspec/core/formatters/exception_presenter_spec.rb:238:in `block (4 levels) in ' + # ./spec/rspec/core/formatters/exception_presenter_spec.rb:14:in `block (2 levels) in ' + # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' + # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:258:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 620) RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and single line non-RSpec exception message inserts a blank line between the expression and the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:386:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 621) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count exceeds RSpec.configuration.max_displayed_failure_line_count returns the lines without exceeding the max count Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:430:in `block (4 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:14:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 622) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:430:in `block (4 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:14:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 623) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when String alias to_int to_i doesn't hang when file exists Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:540:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 624) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a file that does not exist reports the filename and that it was unable to find the matching line Failure/Error: Unable to read failed line expected "Unable to read failed line" to include "Unable to find /builddir/build/BUILD/rspec-core-3.7.1/spec/rspec/core/formatters/exception_presenter_spec.rb/blah.rb to read failed line" # ./spec/rspec/core/formatters/exception_presenter_spec.rb:510:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 625) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the stacktrace includes relative paths (which can happen when using `rspec/autorun` and running files through `ruby`) still finds the backtrace line Failure/Error: Unable to read failed line expected "Unable to read failed line" to include "line = __LINE__" # ./spec/rspec/core/formatters/exception_presenter_spec.rb:520:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 626) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when backtrace will generate a security error is handled gracefully Failure/Error: Unable to read failed line expected no Exception, got # with backtrace: # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:483:in `block (5 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:482:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:482:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 627) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a bogus line number in the stack trace reports the filename and that it was unable to find the matching line Failure/Error: Unable to read failed line expected "Unable to read failed line" to include "Unable to find matching line" # ./spec/rspec/core/formatters/exception_presenter_spec.rb:492:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 628) Example status persisting can load a previously persisted set of example statuses from disk Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:16:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 629) Example status persisting persisting example statuses persists a loaded but unexecuted example with an unknown status Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:118:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 630) Example status persisting persisting example statuses persists a skipped example properly Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:131:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 631) Example status persisting persisting example statuses includes the spec run times so users can use it for their own purposes Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:109:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 632) Example status persisting persisting example statuses creates any necessary intermediary directories Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:53:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 633) Example status persisting persisting example statuses prevents simultaneous access to the file Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:80:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 634) Example status persisting persisting example statuses merges the example statuses with the existing records in the named file Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:95:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 635) Example status persisting persisting example statuses writes the given example statuses to disk Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:40:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 636) The RSpec DSL custom example group aliases when adding aliases before exposing the DSL globally when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:66 # ./spec/rspec/core/dsl_spec.rb:23:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:17:in `block in enable' # ./spec/rspec/core/dsl_spec.rb:11:in `enable' # ./spec/rspec/core/dsl_spec.rb:22:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 637) The RSpec DSL custom example group aliases when adding aliases before exposing the DSL globally when expose_dsl_globally is disabled makes them only available off of `RSpec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:66 # ./spec/rspec/core/dsl_spec.rb:46:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:40:in `block in disable' # ./spec/rspec/core/dsl_spec.rb:34:in `disable' # ./spec/rspec/core/dsl_spec.rb:45:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 638) The RSpec DSL custom example group aliases when adding aliases after exposing the DSL globally when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:75 # ./spec/rspec/core/dsl_spec.rb:23:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:17:in `block in enable' # ./spec/rspec/core/dsl_spec.rb:11:in `enable' # ./spec/rspec/core/dsl_spec.rb:22:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 639) The RSpec DSL custom example group aliases when adding aliases after exposing the DSL globally when expose_dsl_globally is disabled makes them only available off of `RSpec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:75 # ./spec/rspec/core/dsl_spec.rb:46:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:40:in `block in disable' # ./spec/rspec/core/dsl_spec.rb:34:in `disable' # ./spec/rspec/core/dsl_spec.rb:45:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 640) The RSpec DSL built in DSL methods when expose_dsl_globally is disabled makes them only available off of `RSpec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:57 # ./spec/rspec/core/dsl_spec.rb:46:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:40:in `block in disable' # ./spec/rspec/core/dsl_spec.rb:34:in `disable' # ./spec/rspec/core/dsl_spec.rb:45:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 641) The RSpec DSL built in DSL methods when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "dsl methods" called from ./spec/rspec/core/dsl_spec.rb:57 # ./spec/rspec/core/dsl_spec.rb:23:in `block (5 levels) in ' # ./spec/rspec/core/dsl_spec.rb:17:in `block in enable' # ./spec/rspec/core/dsl_spec.rb:11:in `enable' # ./spec/rspec/core/dsl_spec.rb:22:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 642) RSpec::Core::Bisect::Coordinator can use the bisect debug formatter to get detailed progress Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 643) RSpec::Core::Bisect::Coordinator notifies the bisect progress formatter of progress and closes the output Got 0 failures and 2 other errors: 643.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `initialize' # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `open' # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `block (2 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 643.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 644) RSpec::Core::Bisect::Coordinator when the user aborst the bisect with ctrl-c prints the most minimal repro command it has found so far Got 0 failures and 2 other errors: 644.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/coordinator_spec.rb:177:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 644.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 645) RSpec::Core::Bisect::Coordinator with an order-independent failure detects the independent case and prints the minimal reproduction Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 646) RSpec::Core::Bisect::Coordinator with an order-independent failure can use the debug formatter for detailed output Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 647) RSpec::Core::Formatters::DeprecationFormatter#deprecation_summary with a File deprecation_stream does not print duplicate messages Failure/Error: Unable to read failed line SecurityError: Insecure operation - read # ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:111:in `read' # ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:111:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 648) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the location of the slow groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 649) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 650) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the slowest example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 651) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups ranks the example groups by average time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 652) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 653) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 654) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the percentage taken from the total runtime Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 655) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 656) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group doesn't profile a single example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 657) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 658) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 659) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the percentage taken from the total runtime Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 660) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 661) RSpec::Core::BacktraceFormatter#backtrace_line trims current working directory Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/backtrace_formatter_spec.rb:238:in `expand_path' # ./spec/rspec/core/backtrace_formatter_spec.rb:238:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 662) RSpec::Core::BacktraceFormatter#backtrace_line preserves the original line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/backtrace_formatter_spec.rb:242:in `expand_path' # ./spec/rspec/core/backtrace_formatter_spec.rb:242:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 663) RSpec::Core::BacktraceFormatter#backtrace_line deals gracefully with a security error Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/backtrace_formatter_spec.rb:249:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 664) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have no metadata returns those items, regardless of the provided argument Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:32:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 665) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:63:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 666) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:77:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 667) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns matching items for the provided metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:53:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 668) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:70:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 669) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:92:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 670) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:119:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 671) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:105:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 672) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization is optimized to check metadata filter application for a given pair of metadata hashes only once Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:190:in `block (6 levels) in ' # ./spec/rspec/core/filterable_item_repository_spec.rb:189:in `times' # ./spec/rspec/core/filterable_item_repository_spec.rb:189:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 673) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization ignores extraneous metadata keys when doing memoized lookups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:200:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 674) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization when there are some proc keys still performs memoization for metadata hashes that lack those keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:215:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 675) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:77:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 676) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:63:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 677) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:70:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 678) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns matching items for the provided metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:53:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 679) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:105:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 680) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:92:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 681) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:119:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 682) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization ignores extraneous metadata keys when doing memoized lookups Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:200:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 683) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization is optimized to check metadata filter application for a given pair of metadata hashes only once Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:190:in `block (6 levels) in ' # ./spec/rspec/core/filterable_item_repository_spec.rb:189:in `times' # ./spec/rspec/core/filterable_item_repository_spec.rb:189:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 684) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization when there are some proc keys still performs memoization for metadata hashes that lack those keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:215:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 685) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have no metadata returns those items, regardless of the provided argument Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:32:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 686) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized#delete deletes the specified item with the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/filterable_item_repository_spec.rb:163:in `block (2 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 687) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have no metadata returns those items, regardless of the provided argument Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:32:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 688) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns matching items for the provided metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:53:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 689) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:63:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 690) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:70:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 691) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:77:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 692) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:105:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 693) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:119:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 694) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:132 # ./spec/rspec/core/filterable_item_repository_spec.rb:92:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 695) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized#delete deletes the specified item with the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/filterable_item_repository_spec.rb:163:in `block (2 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 696) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have no metadata returns those items, regardless of the provided argument Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:32:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 697) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns matching items for the provided metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:53:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 698) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:77:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 699) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:70:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 700) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:63:in `block (4 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 701) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:92:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 702) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:105:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 703) RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require Shared Example Group: "adding items to the repository" called from ./spec/rspec/core/filterable_item_repository_spec.rb:128 # ./spec/rspec/core/filterable_item_repository_spec.rb:119:in `block (5 levels) in it_behaves_like_a_filterable_item_repo' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 704) RSpec::Core::Notifications::FailedExampleNotification uses the default color for the shared example backtrace line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/failed_example_notification_spec.rb:9:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 705) RSpec::Core::SharedContext supports nested example groups using context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 706) RSpec::Core::SharedContext supports nested example groups using describe Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 707) RSpec::Core::SharedContext supports before and after hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:22:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 708) RSpec::Core::SharedContext runs the before each hooks in configuration before those of the shared context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:47:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 709) RSpec::Core::SharedContext supports explicit subjects Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:92:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 710) RSpec::Core::SharedContext supports let when applied to an individual example via metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:78:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 711) RSpec::Core::SharedContext supports let Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:62:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 712) RSpec::Core::World#all_example_groups contains all example groups from all levels of nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 713) RSpec::Core::World#syntax_highlighter returns a memoized SyntaxHighlighter Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/world_spec.rb:200:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 714) RSpec::Core::World#source_from_file caches Source instances by file path Failure/Error: Unable to read failed line SecurityError: Insecure operation - read # ./spec/rspec/core/world_spec.rb:192:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 715) RSpec::Core::World#all_examples contains all examples from all levels of nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:71:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 716) RSpec::Core::World#example_groups contains all registered example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:43:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 717) RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if an example starts on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:114:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:130:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 718) RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of a group that immediately precedes the argument line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:134:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 719) RSpec::Core::World#preceding_declaration_line (again) with one example returns nil if no example or group precedes the line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 720) RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if a group starts on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:126:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 721) RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of an example that immediately precedes the argument line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:114:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:138:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 722) RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered considers only declaration lines from the provided files Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:169:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 723) RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered returns nil if given a file name with no declarations Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:169:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 724) RSpec::Core::World#preceding_declaration_line (again) with two groups and the second example is registered first return line number of group if a group start on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:106:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:146:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 725) RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater returns an exception with all the same attributes (except backtrace) as the provided one Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/exception_presenter_spec.rb:606:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 726) RSpec::Core::Formatters::SnippetExtractor when the given line does not exist in the file raises NoSuchLineError Failure/Error: Unable to read failed line expected RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError, got # with backtrace: # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (4 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 727) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans multiple lines returns the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:101:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 728) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression is a method definition and ends with "end"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:177:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 729) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression includes paren and heredoc pairs as non-nested structure returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:209:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 730) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with multiple paren-only lines of same type returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 731) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression contains do-end block and ends with "end"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:157:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 732) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's first line includes a closing paren of another multiline expression ignores another expression Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:262:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 733) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's final line includes the same type of opening paren of another multiline expression ignores another expression Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:247:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 734) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is given returns the lines without exceeding the given count Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:321:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 735) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "]"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:143:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 736) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans lines after the closing paren line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:231:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 737) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is 1 returns the line without parsing the source for efficiency Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:345:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 738) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when no expression exists at the line returns the line by falling back to the simple single line extraction Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:280:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 739) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with ")"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:115:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 740) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "}"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:129:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 741) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when Ripper cannot parse the source (which can happen on JRuby -- see jruby/jruby#2427) returns the line by falling back to the simple single line extraction Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:302:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 742) RSpec::Core::Formatters::SnippetExtractor when the expression fits into a single line returns the line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:87:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 743) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter receives suite results Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:63:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:62:in `block (3 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 744) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts as soon as the last expected failure finishes, since we don't care about what happens after that Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:99:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:98:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 745) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure is pending instead, even when there are remaining failing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:144:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:143:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 746) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure passes instead, even when there are remaining failing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:123:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:122:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 747) RSpec::Core::Bisect::Server when results are failed to be reported raises an error with the output Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/bisect/server_spec.rb:37:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 748) RSpec::Core::Ordering::Random.order shuffles the items randomly Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/ordering_spec.rb:23:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 749) RSpec::Core::Example does not interfere with per-example randomness when running examples in a random order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:865:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 750) RSpec::Core::Example captures example timing even for exceptions unhandled by RSpec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:109:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 751) RSpec::Core::Example can be pretty printed Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_spec.rb:22:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 752) RSpec::Core::Example when there is an explicit description when RSpec.configuration.format_docstrings is set to a block formats the description using the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:156:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 753) RSpec::Core::Example human readable output prints a human readable description when inspected Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:11:in `block (2 levels) in ' # ./spec/rspec/core/example_spec.rb:27:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 754) RSpec::Core::Example human readable output prints a human readable description for #to_s Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:11:in `block (2 levels) in ' # ./spec/rspec/core/example_spec.rb:31:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 755) RSpec::Core::Example#exception supplies the exception raised, if there is one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:121:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 756) RSpec::Core::Example#exception returns nil if there is no exception Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 757) RSpec::Core::Example#exception provides a `MultipleExceptionError` if there are multiple exceptions (e.g. from `it`, `around` and `after`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:139:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 758) RSpec::Core::Example#pending in before(:each) sets each example to pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:703:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 759) RSpec::Core::Example#pending in before(:each) sets example to pending when failure occurs in before(:each) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:713:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 760) RSpec::Core::Example#pending in after(:each) sets each example to pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:770:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 761) RSpec::Core::Example#pending in the example allows post-example processing in around hooks (see https://github.com/rspec/rspec-core/issues/322) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:676:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 762) RSpec::Core::Example#pending in the example sets the backtrace to the example definition so it can be located by the user Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:689:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 763) RSpec::Core::Example#pending in the example sets the example to pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:668:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 764) RSpec::Core::Example#pending in around(:each) sets the example to pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:752:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 765) RSpec::Core::Example#pending in around(:each) sets example to pending when failure occurs in around(:each) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:760:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 766) RSpec::Core::Example#pending in before(:all) fails with an ArgumentError if a block is provided Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:735:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 767) RSpec::Core::Example#pending in before(:all) is forbidden Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:723:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 768) RSpec::Core::Example when there is no explicit description when RSpec.configuration.format_docstrings is set to a block formats the description using the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:177:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 769) RSpec::Core::Example when there is no explicit description when `expect_with :stdlib` is configured does not attempt to get the generated description from RSpec::Matchers when not loaded Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:314:in `block (4 levels) in ' # ./spec/rspec/core/example_spec.rb:304:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 770) RSpec::Core::Example when there is no explicit description when `expect_with :stdlib` is configured uses the file and line number Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:325:in `block (4 levels) in ' # ./spec/rspec/core/example_spec.rb:304:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 771) RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the file and line number if there is no matcher-generated description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:286:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 772) RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the matcher-generated description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:280:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 773) RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the file and line number if there is an error before the matcher Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:292:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 774) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the file and line number if there is an error before the matcher Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:206:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 775) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the file and line number if there is no matcher-generated description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:200:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 776) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the matcher-generated description in the full description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:194:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 777) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the matcher-generated description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:188:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 778) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when the matcher's `description` method raises an error allows the example to pass and surfaces the failing description in the example description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:249:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 779) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured if the example is pending uses the file and line number of the example if no matcher ran Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:220:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 780) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured if the example is pending still uses the matcher-generated description if a matcher ran Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:214:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 781) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when an `after(:example)` hook raises an error still assigns the description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:230:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 782) RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when an `after(:example)` hook has an expectation assigns the description based on the example's last expectation, ignoring the `after` expectation since it can apply to many examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:266:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 783) RSpec::Core::Example setting the current example sets RSpec.current_example to the example that is currently running Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:887:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 784) RSpec::Core::Example#duplicate_with successfully duplicates an example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:88:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 785) RSpec::Core::Example#skip in around(:each) sets the example to skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:839:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 786) RSpec::Core::Example#skip in before(:all) sets each example to skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:827:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 787) RSpec::Core::Example#skip in before(:each) sets each example to skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:815:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 788) RSpec::Core::Example#skip in the example allows post-example processing in around hooks (see https://github.com/rspec/rspec-core/issues/322) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:793:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 789) RSpec::Core::Example#skip in the example sets the example to skipped Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:785:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 790) RSpec::Core::Example#skip in the example with a message sets the example to skipped with the provided message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:805:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 791) RSpec::Core::Example mock framework integration skips mock verification if the example has already failed Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:913:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 792) RSpec::Core::Example mock framework integration allows `after(:example)` hooks to satisfy mock expectations, since examples are not complete until their `after` hooks run Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:927:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 793) RSpec::Core::Example mock framework integration verifies mock expectations after each example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:899:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 794) RSpec::Core::Example#run runs after(:each) when the example raises an Exception Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:389:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 795) RSpec::Core::Example#run generates a description before tearing down mocks in case a mock object is used in the description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:357:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 796) RSpec::Core::Example#run runs after(:each) when the example fails Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:379:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 797) RSpec::Core::Example#run runs after(:each) when the example passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:369:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 798) RSpec::Core::Example#run wraps before/after(:each) inside around Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:422:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 799) RSpec::Core::Example#run with --dry-run does not execute any examples or hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:536:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 800) RSpec::Core::Example#run with an after(:each) that raises stores the exception Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:412:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 801) RSpec::Core::Example#run with an after(:each) that raises runs subsequent after(:each)'s Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:400:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 802) RSpec::Core::Example#run memory leaks, see GH-321, GH-1921 releases references to the examples / their ivars Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:475:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 803) RSpec::Core::Example#run memory leaks, see GH-321, GH-1921 can still be referenced by user code afterwards Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:498:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 804) RSpec::Core::Example#update_inherited_metadata does not replace the existing metadata object with a new one or change its default proc Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_spec.rb:65:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 805) RSpec::Core::Example#update_inherited_metadata applies new metadata-based config items based on the update Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_spec.rb:75:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 806) RSpec::Core::Example reporting example_finished from a context hook fills in the execution result details before reporting a failed example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "when skipped or failed" called from ./spec/rspec/core/example_spec.rb:655 # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:649:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:584:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 807) RSpec::Core::Example reporting example_finished from a context hook fills in the execution result details before reporting a skipped example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "when skipped or failed" called from ./spec/rspec/core/example_spec.rb:655 # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:649:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:597:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 808) RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a passed example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:613:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:617:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 809) RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a pending example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:613:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:630:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 810) RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a failed example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "when skipped or failed" called from ./spec/rspec/core/example_spec.rb:644 # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:613:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:584:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 811) RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a skipped example as finished Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "when skipped or failed" called from ./spec/rspec/core/example_spec.rb:644 # ./spec/rspec/core/example_spec.rb:577:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:613:in `capture_reported_execution_result_for_example' # ./spec/rspec/core/example_spec.rb:597:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 812) RSpec::Core::ExampleGroup prevents defining nested isolated contexts Failure/Error: Unable to read failed line expected /not allowed/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1907:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1906:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1906:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 813) RSpec::Core::ExampleGroup prevents defining nested isolated shared contexts Failure/Error: Unable to read failed line expected /not allowed/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1916:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1915:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1915:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 814) RSpec::Core::ExampleGroup allows adding examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:2024:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 815) RSpec::Core::ExampleGroup allows removing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:2038:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 816) RSpec::Core::ExampleGroup minimizes the number of methods that users could inadvertantly overwrite Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:1897:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 817) RSpec::Core::ExampleGroup surfaces NameError from an example for other missing APIs, like normal Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:45:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 818) RSpec::Core::ExampleGroup surfaces NameError from an example group for other missing APIs, like normal Failure/Error: Unable to read failed line expected NameError with message matching /foobar/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:38:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:37:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:37:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 819) RSpec::Core::ExampleGroup#metadata adds the the file_path to metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:648:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 820) RSpec::Core::ExampleGroup#metadata has a reader for file_path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:652:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 821) RSpec::Core::ExampleGroup#metadata adds the line_number to metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:656:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 822) RSpec::Core::ExampleGroup#metadata adds the third parameter to the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:644:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 823) RSpec::Core::ExampleGroup.fcontext generates an example group that can be filtered with :focus Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 824) RSpec::Core::ExampleGroup.fdescribe generates an example group that can be filtered with :focus Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 825) RSpec::Core::ExampleGroup when calling `context`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 826) RSpec::Core::ExampleGroup#run with all examples passing returns true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1492:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 827) RSpec::Core::ExampleGroup#run with nested example failing returns true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1526:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 828) RSpec::Core::ExampleGroup#run with `fail_fast` set to `nil` does not run abort due to failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1401:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 829) RSpec::Core::ExampleGroup#run with fail_fast enabled does not run examples after the failed example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1418:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 830) RSpec::Core::ExampleGroup#run with fail_fast enabled sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1429:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 831) RSpec::Core::ExampleGroup#run with fail_fast set to 3 sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing at least 3 failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1465:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 832) RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not run examples after 3 failed examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1442:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 833) RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not set RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing less than 3 failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1455:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 834) RSpec::Core::ExampleGroup#run with top level example failing returns false Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1509:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 835) RSpec::Core::ExampleGroup skip with metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1106:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1116:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 836) RSpec::Core::ExampleGroup skip with metadata generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1106:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1111:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 837) RSpec::Core::ExampleGroup#run_examples returns false if any of the examples fail Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1298:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 838) RSpec::Core::ExampleGroup#run_examples runs all examples, regardless of any of them failing Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1307:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 839) RSpec::Core::ExampleGroup#run_examples returns true if all examples pass Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1289:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 840) RSpec::Core::ExampleGroup#description grabs the description from the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:637:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 841) RSpec::Core::ExampleGroup when calling `expect`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 842) RSpec::Core::ExampleGroup.xexample sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 843) RSpec::Core::ExampleGroup.xexample generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 844) RSpec::Core::ExampleGroup#update_inherited_metadata overwrites metadata originating from a parent Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 845) RSpec::Core::ExampleGroup#update_inherited_metadata applies new metadata-based config items based on the update Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_group_spec.rb:1610:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 846) RSpec::Core::ExampleGroup#update_inherited_metadata does not cause duplicate hooks to be added when re-configuring the group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_group_spec.rb:1650:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 847) RSpec::Core::ExampleGroup#update_inherited_metadata does not replace the existing metadata object with a new one or change its default proc Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:1576:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 848) RSpec::Core::ExampleGroup#include_context includes the named examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1673:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 849) RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1695:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 850) RSpec::Core::ExampleGroup#include_context evals the block when given Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1743:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 851) RSpec::Core::ExampleGroup#include_context raises a helpful error message when shared content is accessed recursively Failure/Error: Unable to read failed line expected ArgumentError with message matching /can't include shared examples recursively/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1685:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1689:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 852) RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:1704:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 853) RSpec::Core::ExampleGroup#include_context passes parameters to the shared content Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1712:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 854) RSpec::Core::ExampleGroup.skip sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1092:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1100:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 855) RSpec::Core::ExampleGroup.skip generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1092:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1095:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 856) RSpec::Core::ExampleGroup setting pending metadata in parent marks every example as pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1216:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 857) RSpec::Core::ExampleGroup ordering when tagged with a custom ordering uses the custom orderings Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:271:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 858) RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering falls back to the global ordering Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:231:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:239:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 859) RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering prints a warning so users are notified of their mistake Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:231:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:239:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 860) RSpec::Core::ExampleGroup ordering when tagged with `:order => :defined` orders the subgroups and examples in defined order regardless of global order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:208:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 861) RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has the inner described class as the described_class of the inner group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:600:in `define_and_run_group' # ./spec/rspec/core/example_group_spec.rb:617:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 862) RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has a `nil` described_class in the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:600:in `define_and_run_group' # ./spec/rspec/core/example_group_spec.rb:612:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 863) RSpec::Core::ExampleGroup#described_class with a constant in an outer group and metadata redefinition after `described_class` call is the redefined level constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:544:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 864) RSpec::Core::ExampleGroup#described_class with a constant in an outer group and a string in an inner group is the top level constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:530:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 865) RSpec::Core::ExampleGroup#described_class in a nested group inherits the described class/module from the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:561:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 866) RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:576:in `described_class_value' # ./spec/rspec/core/example_group_spec.rb:587:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 867) RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class even when described_class is referenced in the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:576:in `described_class_value' # ./spec/rspec/core/example_group_spec.rb:591:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 868) RSpec::Core::ExampleGroup#described_class with a string as the first parameter is nil Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:523:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 869) RSpec::Core::ExampleGroup#described_class with a constant as the first parameter is that constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:517:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 870) RSpec::Core::ExampleGroup when calling `it_behaves_like`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 871) RSpec::Core::ExampleGroup inspect output handles before context hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1968:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 872) RSpec::Core::ExampleGroup inspect output does not pollute an example's `inspect` output with the inspect ivar from `before(:context)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1999:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 873) RSpec::Core::ExampleGroup inspect output handles after context hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1983:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 874) RSpec::Core::ExampleGroup inspect output when an example has a description includes description and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1934:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 875) RSpec::Core::ExampleGroup inspect output when an example does not have a description includes fallback description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1952:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 876) RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1695:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 877) RSpec::Core::ExampleGroup#include_examples includes the named examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1673:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 878) RSpec::Core::ExampleGroup#include_examples passes parameters to the shared content Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1712:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 879) RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:1704:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 880) RSpec::Core::ExampleGroup#include_examples evals the block when given Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1743:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 881) RSpec::Core::ExampleGroup#include_examples raises a helpful error message when shared content is accessed recursively Failure/Error: Unable to read failed line expected ArgumentError with message matching /can't include shared examples recursively/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1685:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1689:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 882) RSpec::Core::ExampleGroup.xdescribe generates a pending example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1164:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 883) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure for a spec in a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:971:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 884) RSpec::Core::ExampleGroup#before, after, and around hooks runs the after alls in reverse order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:816:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 885) RSpec::Core::ExampleGroup#before, after, and around hooks only runs before/after(:all) hooks from example groups that have specs that run Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:830:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 886) RSpec::Core::ExampleGroup#before, after, and around hooks runs the before eachs in order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:790:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 887) RSpec::Core::ExampleGroup#before, after, and around hooks runs the after eachs in reverse order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:803:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 888) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:943:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 889) RSpec::Core::ExampleGroup#before, after, and around hooks runs before_all_defined_in_config, before all, before each, example, after each, after all, after_all_defined_in_config in that order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:867:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 890) RSpec::Core::ExampleGroup#before, after, and around hooks runs the before alls in order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:768:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 891) RSpec::Core::ExampleGroup#before, after, and around hooks exposes instance variables set in before(:all) from after(:all) even if a before(:all) error occurs Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:954:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 892) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:each) as a failure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:934:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 893) RSpec::Core::ExampleGroup#before, after, and around hooks does not set RSpec.world.wants_to_quit in case of an error in before all (without fail_fast?) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:778:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 894) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook allows the example to pass Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1002:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 895) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook sets `world.non_example_failure` so the exit status will be non-zero Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1020:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1019:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 896) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook still runs both after blocks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1014:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 897) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook rescues any error(s) and prints them out Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1010:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 898) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for before-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:676:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 899) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for after-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:708:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 900) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for before-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:687:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 901) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for after-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:697:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 902) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during after(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:747:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 903) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during before(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:726:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 904) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? does not set currently_executing_a_context_hook? outside of before(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:737:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 905) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? unsets currently_executing_a_context_hook? after an after(:context) hook is done Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:755:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 906) RSpec::Core::ExampleGroup skip with message in metadata generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1122:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 907) RSpec::Core::ExampleGroup skip with message in metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1122:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1132:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 908) RSpec::Core::ExampleGroup.xcontext generates a pending example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1164:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 909) RSpec::Core::ExampleGroup when calling `describe`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 910) RSpec::Core::ExampleGroup.xit generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 911) RSpec::Core::ExampleGroup.xit sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 912) RSpec::Core::ExampleGroup top level group runs its children Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:309:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 913) RSpec::Core::ExampleGroup top level group with a failure in the top level group runs its children Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:324:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 914) RSpec::Core::ExampleGroup top level group descendants returns self + all descendants Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:343:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 915) RSpec::Core::ExampleGroup when calling `let`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 916) RSpec::Core::ExampleGroup pending with message in metadata generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1076:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1081:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 917) RSpec::Core::ExampleGroup pending with message in metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1076:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1086:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 918) RSpec::Core::ExampleGroup when calling `spy`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 919) RSpec::Core::ExampleGroup adding examples exposes all examples at examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1245:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 920) RSpec::Core::ExampleGroup adding examples allows adding an example using 'it' Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1239:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 921) RSpec::Core::ExampleGroup adding examples maintains the example order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1253:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 922) RSpec::Core::ExampleGroup when calling `before`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 923) RSpec::Core::ExampleGroup when calling `double`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 924) RSpec::Core::ExampleGroup constant naming does not warn when defining a Config example group (since RbConfig triggers warnings when Config is referenced) Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:133:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 925) RSpec::Core::ExampleGroup constant naming assigns the const before evaling the group so error messages include the name Failure/Error: Unable to read failed line expected /ExampleGroups::CallingAnUndefinedMethod/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:167:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:166:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:166:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 926) RSpec::Core::ExampleGroup when calling `it`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 927) RSpec::Core::ExampleGroup pending with metadata generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1060:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1065:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 928) RSpec::Core::ExampleGroup pending with metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1060:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1070:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 929) RSpec::Core::ExampleGroup.xspecify generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 930) RSpec::Core::ExampleGroup.xspecify sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 931) RSpec::Core::ExampleGroup.pending generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1027:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1030:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 932) RSpec::Core::ExampleGroup.pending sets the backtrace to the example definition so it can be located by the user Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1042:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 933) RSpec::Core::ExampleGroup.pending sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1027:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1035:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 934) RSpec::Core::ExampleGroup#top_level_description returns the description from the outermost example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1382:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 935) RSpec::Core::ExampleGroup#it_should_behave_like passes parameters to the shared example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1805:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 936) RSpec::Core::ExampleGroup#it_should_behave_like raises a helpful error message when shared context is not found Failure/Error: Unable to read failed line expected ArgumentError with "Could not find shared examples \"shared stuff\"", got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1861:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1860:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1860:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 937) RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1869:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1868:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 938) RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/example_group_spec.rb:1884:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 939) RSpec::Core::ExampleGroup#it_should_behave_like given a block evaluates the block in nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1841:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 940) an example with no args is listed as pending with the default message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:98:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 941) an example with no args does not mutate the :pending attribute of the user metadata when the rest of the example passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 942) an example with no args fails when the rest of the example passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:111:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 943) an example with a block does not yield to the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:209:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 944) an example with a block fails with an ArgumentError stating the syntax is deprecated Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:191:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 945) an example with no block is listed as pending with 'Not yet implemented' Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:87:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 946) an example with a message is listed as pending with the supplied message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:177:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 947) an example with no docstring after another example with some assertion does not show any message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:161:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 948) an example with no docstring declared with the pending method has an auto-generated description if it has an expectation Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 949) an example declared pending with metadata passes if a mock expectation is not satisifed Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:26:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 950) an example declared pending with metadata does not mutate the :pending attribute of the user metadata when handling mock expectation errors Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:39:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 951) an example declared pending with metadata uses the value assigned to :pending as the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:4:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 952) an example declared pending with metadata sets the message to 'No reason given' if :pending => true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:15:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 953) an example made pending with `define_derived_metadata` has a pending result if there is an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:61:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 954) an example made pending with `define_derived_metadata` fails if there is no error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 955) RSpec::Core::Pending only defines methods that are part of the DSL Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/pending_spec.rb:4:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 956) RSpec::Core::FilterManager#prune prefers description to exclusion filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:241:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 957) RSpec::Core::FilterManager#prune location filtering skips examples in external files when included from a location filtered file Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:187 # ./spec/rspec/core/filter_manager_spec.rb:189:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:178:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 958) RSpec::Core::FilterManager#prune location filtering prefers location on entire group to exclusion filter on a nested example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:187 # ./spec/rspec/core/filter_manager_spec.rb:189:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:138:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 959) RSpec::Core::FilterManager#prune location filtering prefers location filter to exclusion filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:187 # ./spec/rspec/core/filter_manager_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 960) RSpec::Core::FilterManager#prune location filtering still applies inclusion filters to examples from files with no location filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:187 # ./spec/rspec/core/filter_manager_spec.rb:189:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:154:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 961) RSpec::Core::FilterManager#prune id filtering skips examples in external files when included from a id filtered file Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:195 # ./spec/rspec/core/filter_manager_spec.rb:197:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:178:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 962) RSpec::Core::FilterManager#prune id filtering prefers id filter to exclusion filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:195 # ./spec/rspec/core/filter_manager_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 963) RSpec::Core::FilterManager#prune id filtering still applies inclusion filters to examples from files with no id filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:195 # ./spec/rspec/core/filter_manager_spec.rb:197:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:154:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 964) RSpec::Core::FilterManager#prune id filtering prefers id on entire group to exclusion filter on a nested example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "example identification filter preference" called from ./spec/rspec/core/filter_manager_spec.rb:195 # ./spec/rspec/core/filter_manager_spec.rb:197:in `add_filter' # ./spec/rspec/core/filter_manager_spec.rb:138:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 965) RSpec::Core::FilterManager#prune with :id filters can work with relative paths that lack the leading `.` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:334:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 966) RSpec::Core::FilterManager#prune with :id filters can select groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:345:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 967) RSpec::Core::FilterManager#prune with :id filters can work with absolute file paths Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:321:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 968) RSpec::Core::FilterManager#prune with :id filters uses the rerun file path when applying the id filter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:367:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 969) RSpec::Core::FilterManager#prune with :id filters selects only the matched example when a single example id is given Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:310:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 970) RSpec::Core::FilterManager#prune with a location and an id filter takes the set union of matched examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:211:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 971) RSpec::Core::FilterManager#prune with multiple inclusion filters includes objects that match any of them Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/filter_manager_spec.rb:303:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 972) RSpec::Core::FilterManager#prune with examples from multiple spec source files applies exclusions only to examples defined in files with no location filters Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:224:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 973) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter does not exclude a spec with { :unless => nil } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:478:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 974) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter does not exclude a spec with { :unless => false } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:473:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 975) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter continues to be an exclusion even if exclusions are cleared Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:483:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 976) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter excludes a spec with { :unless => true } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:468:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 977) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter excludes a spec with { :if => false } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:450:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 978) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter does not exclude a spec with { :if => true } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:445:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 979) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter continues to be an exclusion even if exclusions are cleared Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:460:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 980) RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter excludes a spec with { :if => nil } metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/filter_manager_spec.rb:433:in `example_with_metadata' # ./spec/rspec/core/filter_manager_spec.rb:455:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 981) RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and a path has been set loads the intersection of files matching the path and files with failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration/only_failures_support_spec.rb:192:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:196:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `chdir' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `block (4 levels) in ' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:181:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 982) RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and a path has been set loads all files matching the path when there are no intersecting files Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration/only_failures_support_spec.rb:192:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:196:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `chdir' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `block (4 levels) in ' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:181:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 983) RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and no explicit paths have been set loads only the files that have failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration/only_failures_support_spec.rb:192:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:196:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `chdir' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `block (4 levels) in ' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:181:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 984) RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and no explicit paths have been set loads the default path if there are no files with failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration/only_failures_support_spec.rb:192:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:196:in `block (3 levels) in ' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `chdir' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:182:in `block (4 levels) in ' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/rspec/core/configuration/only_failures_support_spec.rb:181:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 985) RSpec::Core::Configuration --only-failures support #spec_files_with_failures when `example_status_persistence_file_path` is configured returns a memoized array of unique spec files that contain failed exaples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration/only_failures_support_spec.rb:106:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 986) RSpec::Core::Configuration --only-failures support #spec_files_with_failures when `example_status_persistence_file_path` is not configured returns a memoized blank array Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration/only_failures_support_spec.rb:151:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 987) RSpec::Core::Configuration --only-failures support #spec_files_with_failures when the file at `example_status_persistence_file_path` has corrupted `status` values defaults invalid statuses to unknown Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/configuration/only_failures_support_spec.rb:130:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' Finished in 2.79 seconds (files took 0.42841 seconds to load) 2049 examples, 987 failures, 2 pending, 2 errors occurred outside of examples Failed examples: rspec ./spec/rspec/core_spec.rb:230 # RSpec.clear_examples restores exclusion rules set by configuration rspec ./spec/rspec/core_spec.rb:210 # RSpec.clear_examples restores inclusion rules set by configuration rspec ./spec/rspec/core_spec.rb[1:1:2] # RSpec behaves like library wide checks issues no warnings when the spec files are loaded rspec ./spec/rspec/core/formatters/html_snippet_extractor_spec.rb:15 # RSpec::Core::Formatters::HtmlSnippetExtractor falls back on a default message when it gets a security error rspec ./spec/rspec/core/drb_spec.rb[2:1:3] # RSpec::Core::DRbOptions DRB args includes --force-color rspec ./spec/rspec/core/drb_spec.rb[2:1:7] # RSpec::Core::DRbOptions DRB args includes --backtrace rspec ./spec/rspec/core/drb_spec.rb:145 # RSpec::Core::DRbOptions DRB args includes --order rspec ./spec/rspec/core/drb_spec.rb[2:1:2] # RSpec::Core::DRbOptions DRB args includes --color rspec ./spec/rspec/core/drb_spec.rb:126 # RSpec::Core::DRbOptions DRB args preserves extra arguments rspec ./spec/rspec/core/drb_spec.rb[2:1:6] # RSpec::Core::DRbOptions DRB args includes --profile rspec ./spec/rspec/core/drb_spec.rb:141 # RSpec::Core::DRbOptions DRB args includes --options rspec ./spec/rspec/core/drb_spec.rb[2:1:5] # RSpec::Core::DRbOptions DRB args includes --fail-fast rspec ./spec/rspec/core/drb_spec.rb:137 # RSpec::Core::DRbOptions DRB args includes --failure-exit-code rspec ./spec/rspec/core/drb_spec.rb[2:1:4] # RSpec::Core::DRbOptions DRB args includes --no-color rspec ./spec/rspec/core/drb_spec.rb[2:1:8] # RSpec::Core::DRbOptions DRB args includes --tty rspec ./spec/rspec/core/drb_spec.rb:238 # RSpec::Core::DRbOptions DRB args with --require includes multiple paths rspec ./spec/rspec/core/drb_spec.rb:234 # RSpec::Core::DRbOptions DRB args with --require includes --require rspec ./spec/rspec/core/drb_spec.rb:208 # RSpec::Core::DRbOptions DRB args with formatters leaves output intact rspec ./spec/rspec/core/drb_spec.rb:202 # RSpec::Core::DRbOptions DRB args with formatters leaves formatters intact rspec ./spec/rspec/core/drb_spec.rb:198 # RSpec::Core::DRbOptions DRB args with formatters includes the formatters rspec ./spec/rspec/core/drb_spec.rb:160 # RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags rspec ./spec/rspec/core/drb_spec.rb:186 # RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags intact rspec ./spec/rspec/core/drb_spec.rb:182 # RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags with values rspec ./spec/rspec/core/drb_spec.rb:168 # RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags intact rspec ./spec/rspec/core/drb_spec.rb:164 # RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags with values rspec ./spec/rspec/core/drb_spec.rb:173 # RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags with values intact rspec ./spec/rspec/core/drb_spec.rb:191 # RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags with values intact rspec ./spec/rspec/core/drb_spec.rb:178 # RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags rspec ./spec/rspec/core/drb_spec.rb:245 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV renders all the original arguments except --drb rspec ./spec/rspec/core/drb_spec.rb:216 # RSpec::Core::DRbOptions DRB args with --out combines with formatters rspec ./spec/rspec/core/drb_spec.rb:227 # RSpec::Core::DRbOptions DRB args with -I libs includes multiple paths rspec ./spec/rspec/core/drb_spec.rb:223 # RSpec::Core::DRbOptions DRB args with -I libs includes -I rspec ./spec/rspec/core/drb_spec.rb:279 # RSpec::Core::DRbOptions DRB args --drb, -X does not send --drb back to the parser after parsing options rspec ./spec/rspec/core/drb_spec.rb:150 # RSpec::Core::DRbOptions DRB args with --example includes --example rspec ./spec/rspec/core/drb_spec.rb:154 # RSpec::Core::DRbOptions DRB args with --example unescapes characters which were escaped upon storing --example originally rspec ./spec/rspec/core/drb_spec.rb:255 # RSpec::Core::DRbOptions DRB args --drb specified in the options file renders all the original arguments except --drb rspec ./spec/rspec/core/drb_spec.rb:263 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV and the options file renders all the original arguments except --drb rspec ./spec/rspec/core/drb_spec.rb:271 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV and in as ARGV-specified --options file renders all the original arguments except --drb and --options rspec ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:22 # RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available leaves leading spaces alone so it can be re-indented as needed without the leading reset code interfering rspec ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:11 # RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available highlights the syntax of the provided lines rspec ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:17 # RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available prefixes the each line with a reset escape code so it can be interpolated in a colored string without affecting the syntax highlighting of the snippet rspec ./spec/rspec/core/formatters/syntax_highlighter_spec.rb:47 # RSpec::Core::Formatters::SyntaxHighlighter when CodeRay is available highlights core RSpec keyword-like methods rspec ./spec/rspec/core/profiler_spec.rb:6 # RSpec::Core::Profiler starts with an empty hash of example_groups rspec ./spec/rspec/core/drb_spec.rb:19 # RSpec::Core::DRbRunner without server running raises an error rspec ./spec/rspec/core/drb_spec.rb:32 # RSpec::Core::DRbRunner --drb-port without RSPEC_DRB environment variable set defaults to 8989 rspec ./spec/rspec/core/drb_spec.rb:38 # RSpec::Core::DRbRunner --drb-port without RSPEC_DRB environment variable set sets the DRb port rspec ./spec/rspec/core/drb_spec.rb:48 # RSpec::Core::DRbRunner --drb-port with RSPEC_DRB environment variable set without config variable set uses RSPEC_DRB value rspec ./spec/rspec/core/drb_spec.rb:56 # RSpec::Core::DRbRunner --drb-port with RSPEC_DRB environment variable set and config variable set uses configured value rspec ./spec/rspec/core/drb_spec.rb:84 # RSpec::Core::DRbRunner with server running falls back to `druby://:0` when `druby://localhost:0` fails rspec ./spec/rspec/core/drb_spec.rb:93 # RSpec::Core::DRbRunner with server running returns 0 if spec passes rspec ./spec/rspec/core/drb_spec.rb:98 # RSpec::Core::DRbRunner with server running returns 1 if spec fails rspec ./spec/rspec/core/drb_spec.rb:103 # RSpec::Core::DRbRunner with server running outputs colorized text when running with --force-color option rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb[3:3] # RSpec::Expectations::ExpectationNotMetError ignores `Pending::PendingExampleFixedError` since it does not represent a real failure but rather the lack of one rspec ./spec/rspec/core/project_initializer_spec.rb:67 # RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:59 # RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file says spec/spec_helper.rb exists rspec ./spec/rspec/core/project_initializer_spec.rb:20 # RSpec::Core::ProjectInitializer#run with no args with no .rspec file generates a .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:13 # RSpec::Core::ProjectInitializer#run with no args with no .rspec file says it's creating .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:35 # RSpec::Core::ProjectInitializer#run with no args with a .rspec file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:27 # RSpec::Core::ProjectInitializer#run with no args with a .rspec file says .rspec exists rspec ./spec/rspec/core/project_initializer_spec.rb:43 # RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file says it's creating spec/spec_helper.rb rspec ./spec/rspec/core/project_initializer_spec.rb:50 # RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file generates a spec/spec_helper.rb rspec ./spec/rspec/core/project_initializer_spec.rb:94 # RSpec::Core::ProjectInitializer#run with a target directory with a .rspec file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:110 # RSpec::Core::ProjectInitializer#run with a target directory with a spec/spec_helper.rb file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:87 # RSpec::Core::ProjectInitializer#run with a target directory with no .rspec file generates a .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:103 # RSpec::Core::ProjectInitializer#run with a target directory with no spec/spec_helper.rb file generates a spec/spec_helper.rb rspec ./spec/rspec/core/formatters/documentation_formatter_spec.rb:48 # RSpec::Core::Formatters::DocumentationFormatter represents nested group using hierarchy tree rspec ./spec/rspec/core/formatters/documentation_formatter_spec.rb:97 # RSpec::Core::Formatters::DocumentationFormatter produces the expected full output rspec ./spec/rspec/core/formatters/documentation_formatter_spec.rb:78 # RSpec::Core::Formatters::DocumentationFormatter strips whitespace for each row rspec ./spec/rspec/core/hooks_spec.rb:485 # RSpec::Core::Hooks only defines methods that are intended to be part of RSpec's public API (+ `hooks`) rspec ./spec/rspec/core/hooks_spec.rb[1:18:3] # RSpec::Core::Hooks#after(:context) does not run when in dry run mode rspec ./spec/rspec/core/hooks_spec.rb[1:27:1] # RSpec::Core::Hooks append_after(each) adds to the back of the list of after(:each) hooks rspec ./spec/rspec/core/hooks_spec.rb[1:6:1] # RSpec::Core::Hooks#after(suite) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:4:1] # RSpec::Core::Hooks#after(context) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:1:1] # RSpec::Core::Hooks#before(example) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:2:1] # RSpec::Core::Hooks#after(example) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:15:3] # RSpec::Core::Hooks#before(:example) does not run when in dry run mode rspec ./spec/rspec/core/hooks_spec.rb[1:15:4] # RSpec::Core::Hooks#before(:example) yields the example as an argument to the hook rspec ./spec/rspec/core/hooks_spec.rb:469 # RSpec::Core::Hooks lambda can be used as a hook rspec ./spec/rspec/core/hooks_spec.rb[1:22:1] # RSpec::Core::Hooks prepend_after(all) adds to the front of the list of after(:all) hooks (same as `after`) rspec ./spec/rspec/core/hooks_spec.rb[1:5:1] # RSpec::Core::Hooks#before(suite) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:16:3] # RSpec::Core::Hooks#before(:context) does not run when in dry run mode rspec ./spec/rspec/core/hooks_spec.rb[1:3:1] # RSpec::Core::Hooks#before(context) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:24:1] # RSpec::Core::Hooks prepend_before(each) adds to the front of the list of before(:each) hooks rspec ./spec/rspec/core/hooks_spec.rb[1:20:1] # RSpec::Core::Hooks prepend_before(all) adds to the front of the list of before(:all) hooks rspec ./spec/rspec/core/hooks_spec.rb[1:17:4] # RSpec::Core::Hooks#after(:example) yields the example as an argument to the hook rspec ./spec/rspec/core/hooks_spec.rb[1:17:3] # RSpec::Core::Hooks#after(:example) does not run when in dry run mode rspec ./spec/rspec/core/hooks_spec.rb[1:21:1] # RSpec::Core::Hooks append_before(all) adds to the back of the list of before(:all) hooks (same as `before`) rspec ./spec/rspec/core/hooks_spec.rb[1:26:1] # RSpec::Core::Hooks prepend_after(each) adds to the front of the list of after(:each) hooks (same as `after`) rspec ./spec/rspec/core/hooks_spec.rb[1:23:1] # RSpec::Core::Hooks append_after(all) adds to the back of the list of after(:all) hooks rspec ./spec/rspec/core/hooks_spec.rb:203 # RSpec::Core::Hooks#around considers the hook to have run when passed as a block to a method that yields rspec ./spec/rspec/core/hooks_spec.rb:218 # RSpec::Core::Hooks#around does not consider the hook to have run when passed as a block to a method that does not yield rspec ./spec/rspec/core/hooks_spec.rb:333 # RSpec::Core::Hooks#around when running the example within a block passed to a method runs the example rspec ./spec/rspec/core/hooks_spec.rb:187 # RSpec::Core::Hooks#around when it does not run the example indicates which around hook did not run the example in the pending message rspec ./spec/rspec/core/hooks_spec.rb:151 # RSpec::Core::Hooks#around when it does not run the example for a hook declared in the group converts the example to a skipped example so the user is made aware of it rspec ./spec/rspec/core/hooks_spec.rb:164 # RSpec::Core::Hooks#around when it does not run the example for a hook declared in config converts the example to a skipped example so the user is made aware of it rspec ./spec/rspec/core/hooks_spec.rb:261 # RSpec::Core::Hooks#around when running the example within the around block exposes example metadata to each around hook rspec ./spec/rspec/core/hooks_spec.rb:280 # RSpec::Core::Hooks#around when running the example within the around block exposes the full example interface to each around hook rspec ./spec/rspec/core/hooks_spec.rb:247 # RSpec::Core::Hooks#around when running the example within the around block runs the example rspec ./spec/rspec/core/hooks_spec.rb:316 # RSpec::Core::Hooks#around when running the example within the around block exposes a sensible inspect value rspec ./spec/rspec/core/hooks_spec.rb:232 # RSpec::Core::Hooks#around when not running the example within the around block does not run the example rspec ./spec/rspec/core/hooks_spec.rb[1:25:1] # RSpec::Core::Hooks append_before(each) adds to the back of the list of before(:each) hooks (same as `before`) rspec ./spec/rspec/core/configuration_options_spec.rb:16 # RSpec::Core::ConfigurationOptions does not mutate the provided args array rspec ./spec/rspec/core/configuration_options_spec.rb:335 # RSpec::Core::ConfigurationOptions --options sets :custom_options_file rspec ./spec/rspec/core/configuration_options_spec.rb:292 # RSpec::Core::ConfigurationOptions --backtrace, -b sets full_backtrace on config rspec ./spec/rspec/core/configuration_options_spec.rb:385 # RSpec::Core::ConfigurationOptions default_path gets set before files_or_directories_to_run rspec ./spec/rspec/core/configuration_options_spec.rb:325 # RSpec::Core::ConfigurationOptions --dry-run defaults to false rspec ./spec/rspec/core/configuration_options_spec.rb:329 # RSpec::Core::ConfigurationOptions --dry-run sets dry_run on config rspec ./spec/rspec/core/configuration_options_spec.rb:25 # RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before loading requires (since required files may issue deprecations) rspec ./spec/rspec/core/configuration_options_spec.rb:102 # RSpec::Core::ConfigurationOptions#configure configures the seed (via `order`) before requires so that required files can use the configured seed rspec ./spec/rspec/core/configuration_options_spec.rb:111 # RSpec::Core::ConfigurationOptions#configure configures `only_failures` before `files_or_directories_to_run` since it affects loaded files rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:19] # RSpec::Core::ConfigurationOptions#configure forces failure_exit_code rspec ./spec/rspec/core/configuration_options_spec.rb:152 # RSpec::Core::ConfigurationOptions#configure forces no_color rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:25] # RSpec::Core::ConfigurationOptions#configure forces drb_port rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:21] # RSpec::Core::ConfigurationOptions#configure forces failure_exit_code rspec ./spec/rspec/core/configuration_options_spec.rb:88 # RSpec::Core::ConfigurationOptions#configure sets `files_or_directories_to_run` before `requires` so users can check `files_to_run` in a spec_helper loaded by `--require` rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:13] # RSpec::Core::ConfigurationOptions#configure sets exclude_pattern before `requires` so users can check `files_to_run` in a `spec_helper` loaded by `--require` rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:20] # RSpec::Core::ConfigurationOptions#configure forces pattern rspec ./spec/rspec/core/configuration_options_spec.rb:139 # RSpec::Core::ConfigurationOptions#configure forces color rspec ./spec/rspec/core/configuration_options_spec.rb:186 # RSpec::Core::ConfigurationOptions#configure merges --I specified by multiple configuration sources rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:23] # RSpec::Core::ConfigurationOptions#configure forces order rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:22] # RSpec::Core::ConfigurationOptions#configure forces default_path rspec ./spec/rspec/core/configuration_options_spec.rb:177 # RSpec::Core::ConfigurationOptions#configure merges --require specified by multiple configuration sources rspec ./spec/rspec/core/configuration_options_spec.rb:56 # RSpec::Core::ConfigurationOptions#configure sends libs before requires rspec ./spec/rspec/core/configuration_options_spec.rb:72 # RSpec::Core::ConfigurationOptions#configure sets up load path and requires before formatter rspec ./spec/rspec/core/configuration_options_spec.rb:133 # RSpec::Core::ConfigurationOptions#configure merges the :exclusion_filter option with the default exclusion_filter rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:24] # RSpec::Core::ConfigurationOptions#configure forces order rspec ./spec/rspec/core/configuration_options_spec.rb:146 # RSpec::Core::ConfigurationOptions#configure forces force_color rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:12] # RSpec::Core::ConfigurationOptions#configure sets pattern before `requires` so users can check `files_to_run` in a `spec_helper` loaded by `--require` rspec ./spec/rspec/core/configuration_options_spec.rb:80 # RSpec::Core::ConfigurationOptions#configure sets default_path before loading specs rspec ./spec/rspec/core/configuration_options_spec.rb:95 # RSpec::Core::ConfigurationOptions#configure sets default_path before `files_or_directories_to_run` since it relies on it rspec ./spec/rspec/core/configuration_options_spec.rb:64 # RSpec::Core::ConfigurationOptions#configure loads requires before loading specs rspec ./spec/rspec/core/configuration_options_spec.rb:46 # RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before configuring formatters rspec ./spec/rspec/core/configuration_options_spec.rb:35 # RSpec::Core::ConfigurationOptions#configure configures deprecation_stream before configuring filter_manager rspec ./spec/rspec/core/configuration_options_spec.rb:127 # RSpec::Core::ConfigurationOptions#configure assigns inclusion_filter rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:29:1] # RSpec::Core::ConfigurationOptions#configure --next-failure changes `config.only_failures?` to true rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:28:1] # RSpec::Core::ConfigurationOptions#configure --only-failures changes `config.only_failures?` to true rspec ./spec/rspec/core/configuration_options_spec.rb[1:3:30:1] # RSpec::Core::ConfigurationOptions#configure -n changes `config.only_failures?` to true rspec ./spec/rspec/core/configuration_options_spec.rb:313 # RSpec::Core::ConfigurationOptions --failure-exit-code sets :failure_exit_code rspec ./spec/rspec/core/configuration_options_spec.rb:319 # RSpec::Core::ConfigurationOptions --failure-exit-code overrides previous :failure_exit_code rspec ./spec/rspec/core/configuration_options_spec.rb:285 # RSpec::Core::ConfigurationOptions --example sets :full_description rspec ./spec/rspec/core/configuration_options_spec.rb:230 # RSpec::Core::ConfigurationOptions --force-color sets :color_mode => :on rspec ./spec/rspec/core/configuration_options_spec.rb:234 # RSpec::Core::ConfigurationOptions --force-color overrides previous color flag rspec ./spec/rspec/core/configuration_options_spec.rb:378 # RSpec::Core::ConfigurationOptions files_or_directories_to_run provides no files or directories if spec directory does not exist rspec ./spec/rspec/core/configuration_options_spec.rb:372 # RSpec::Core::ConfigurationOptions files_or_directories_to_run parses file names that look like `default-path` option rspec ./spec/rspec/core/configuration_options_spec.rb:366 # RSpec::Core::ConfigurationOptions files_or_directories_to_run parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb' rspec ./spec/rspec/core/configuration_options_spec.rb:356 # RSpec::Core::ConfigurationOptions files_or_directories_to_run parses files from '-c file.rb dir/file.rb' rspec ./spec/rspec/core/configuration_options_spec.rb:362 # RSpec::Core::ConfigurationOptions files_or_directories_to_run parses dir from 'dir' rspec ./spec/rspec/core/configuration_options_spec.rb:279 # RSpec::Core::ConfigurationOptions --no-profile sets :profile_examples to false rspec ./spec/rspec/core/configuration_options_spec.rb:416 # RSpec::Core::ConfigurationOptions invalid options defined in SPEC_OPTS mentions ENV['SPEC_OPTS'] as the source in the error so users know where to look for it rspec ./spec/rspec/core/configuration_options_spec.rb[1:21:3:1] # RSpec::Core::ConfigurationOptions invalid options defined in ./.rspec-local mentions the file name in the error so users know where to look for it rspec ./spec/rspec/core/configuration_options_spec.rb:424 # RSpec::Core::ConfigurationOptions invalid options defined in a custom file mentions the custom file as the source of the error so users know where to look for it rspec ./spec/rspec/core/configuration_options_spec.rb:431 # RSpec::Core::ConfigurationOptions invalid options defined in a custom file passed at the command line does not mention the source since it is obvious where it came from rspec ./spec/rspec/core/configuration_options_spec.rb[1:21:2:1] # RSpec::Core::ConfigurationOptions invalid options defined in ./.rspec mentions the file name in the error so users know where to look for it rspec ./spec/rspec/core/configuration_options_spec.rb[1:21:1:1] # RSpec::Core::ConfigurationOptions invalid options defined in ~/.rspec mentions the file name in the error so users know where to look for it rspec ./spec/rspec/core/configuration_options_spec.rb:458 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS ignores file or dir names put in one of the option files or in SPEC_OPTS, since those are for persistent options rspec ./spec/rspec/core/configuration_options_spec.rb:468 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers SPEC_OPTS over CLI rspec ./spec/rspec/core/configuration_options_spec.rb:489 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers project file options over global file options rspec ./spec/rspec/core/configuration_options_spec.rb:444 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS merges global, local, SPEC_OPTS, and CLI rspec ./spec/rspec/core/configuration_options_spec.rb:495 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers local file options over project file options rspec ./spec/rspec/core/configuration_options_spec.rb:474 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options rspec ./spec/rspec/core/configuration_options_spec.rb:480 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options for filter inclusion rspec ./spec/rspec/core/configuration_options_spec.rb:501 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS parses options file correctly if erb code has trimming options rspec ./spec/rspec/core/configuration_options_spec.rb:521 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file parses -e 'full spec description' rspec ./spec/rspec/core/configuration_options_spec.rb:512 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file ignores project and global options files rspec ./spec/rspec/core/configuration_options_spec.rb:243 # RSpec::Core::ConfigurationOptions -I can be used more than once rspec ./spec/rspec/core/configuration_options_spec.rb:240 # RSpec::Core::ConfigurationOptions -I adds to :libs rspec ./spec/rspec/core/configuration_options_spec.rb:258 # RSpec::Core::ConfigurationOptions --format, -f sets :formatter rspec ./spec/rspec/core/configuration_options_spec.rb:264 # RSpec::Core::ConfigurationOptions --format, -f can accept a class name rspec ./spec/rspec/core/configuration_options_spec.rb:214 # RSpec::Core::ConfigurationOptions -c, --color, and --colour overrides previous color flag rspec ./spec/rspec/core/configuration_options_spec.rb:208 # RSpec::Core::ConfigurationOptions -c, --color, and --colour sets :color_mode => :automatic rspec ./spec/rspec/core/configuration_options_spec.rb:307 # RSpec::Core::ConfigurationOptions --fail-fast sets fail_fast on config rspec ./spec/rspec/core/configuration_options_spec.rb:299 # RSpec::Core::ConfigurationOptions --fail-fast defaults to false rspec ./spec/rspec/core/configuration_options_spec.rb:303 # RSpec::Core::ConfigurationOptions --fail-fast sets fail_fast on config rspec ./spec/rspec/core/configuration_options_spec.rb:249 # RSpec::Core::ConfigurationOptions --require requires files rspec ./spec/rspec/core/configuration_options_spec.rb:252 # RSpec::Core::ConfigurationOptions --require can be used more than once rspec ./spec/rspec/core/configuration_options_spec.rb:270 # RSpec::Core::ConfigurationOptions --profile, -p sets :profile_examples rspec ./spec/rspec/core/configuration_options_spec.rb:342 # RSpec::Core::ConfigurationOptions --no-drb disables drb rspec ./spec/rspec/core/configuration_options_spec.rb:346 # RSpec::Core::ConfigurationOptions --no-drb overrides a previous drb => true rspec ./spec/rspec/core/configuration_options_spec.rb:350 # RSpec::Core::ConfigurationOptions --no-drb gets overriden by a subsquent drb => true rspec ./spec/rspec/core/configuration_options_spec.rb:220 # RSpec::Core::ConfigurationOptions --no-color sets :color_mode => :off rspec ./spec/rspec/core/configuration_options_spec.rb:224 # RSpec::Core::ConfigurationOptions --no-color overrides previous color flag rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:727 # RSpec::Core::MultipleExceptionError supports the same interface as `RSpec::Expectations::MultipleExpectationsNotMetError` rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:736 # RSpec::Core::MultipleExceptionError allows you to instantiate it with an initial list of exceptions rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb[4:3] # RSpec::Core::MultipleExceptionError ignores `Pending::PendingExampleFixedError` since it does not represent a real failure but rather the lack of one rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:789 # RSpec::Core::MultipleExceptionError presents the same aggregation metadata that an `:aggregate_failures`-tagged example produces rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:825 # RSpec::Core::MultipleExceptionError::InterfaceTag.for when given any other exception wraps it in a `RSpec::Expectations::MultipleExceptionError` rspec ./spec/rspec/core/reporter_spec.rb:81 # RSpec::Core::Reporter given one formatter passes messages to the formatter in the correct order rspec ./spec/rspec/core/reporter_spec.rb:286 # RSpec::Core::Reporter#notify_non_example_exception sends a `message` notification that contains the formatted exception details rspec ./spec/rspec/core/reporter_spec.rb:221 # RSpec::Core::Reporter#publish will provide a custom notification object based on the options hash rspec ./spec/rspec/core/reporter_spec.rb:56 # RSpec::Core::Reporter start notifies the formatter of the seed used before notifing of start rspec ./spec/rspec/core/reporter_spec.rb:232 # RSpec::Core::Reporter#abort_with publishes the message and notifies :close rspec ./spec/rspec/core/notifications_spec.rb:93 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError lists each individual expectation failure, with a backtrace relative to the aggregation block rspec ./spec/rspec/core/notifications_spec.rb:231 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when there are failures and other errors lists both types in the exception listing rspec ./spec/rspec/core/notifications_spec.rb:160 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when the failure happened in a shared example group does not include the shared group backtrace in the sub-failure backtraces rspec ./spec/rspec/core/notifications_spec.rb:191 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when `aggregate_failures` is used in nested fashion recursively formats the nested aggregated failures rspec ./spec/rspec/core/notifications_spec.rb:132 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError due to using `:aggregate_failures` metadata uses an alternate format for the exception summary to avoid confusing references to the aggregation block or stack trace rspec ./spec/rspec/core/metadata_spec.rb:38 # RSpec::Core::Metadata RESERVED_KEYS contains all keys assigned by RSpec (and vice versa) rspec ./spec/rspec/core/metadata_spec.rb:236 # RSpec::Core::Metadata :id on a top-level group starts the count at 1 for each file rspec ./spec/rspec/core/metadata_spec.rb:282 # RSpec::Core::Metadata :id on an example defined in a shared group defined in a separate file uses the host group's file name as the prefix rspec ./spec/rspec/core/metadata_spec.rb:872 # RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash returns the described_class rspec ./spec/rspec/core/metadata_spec.rb:882 # RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:863 # RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:853 # RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash returns the described_class rspec ./spec/rspec/core/metadata_spec.rb:816 # RSpec::Core::Metadata backwards compatibility :example_group can still be filtered via a nested key under [:example_group] as before rspec ./spec/rspec/core/metadata_spec.rb:802 # RSpec::Core::Metadata backwards compatibility :example_group can mutate attributes when accessing them via [:example_group] rspec ./spec/rspec/core/metadata_spec.rb:764 # RSpec::Core::Metadata backwards compatibility :example_group works properly with shallow nesting rspec ./spec/rspec/core/metadata_spec.rb:746 # RSpec::Core::Metadata backwards compatibility :example_group works properly with deep nesting rspec ./spec/rspec/core/metadata_spec.rb:776 # RSpec::Core::Metadata backwards compatibility :example_group allows integration libraries like VCR to infer a fixture name from the example description by walking up nesting structure rspec ./spec/rspec/core/metadata_spec.rb:711 # RSpec::Core::Metadata backwards compatibility :example_group issues a deprecation warning when the `:example_group` key is accessed rspec ./spec/rspec/core/metadata_spec.rb:732 # RSpec::Core::Metadata backwards compatibility :example_group can access the parent example group attributes via [:example_group][:example_group] rspec ./spec/rspec/core/metadata_spec.rb:724 # RSpec::Core::Metadata backwards compatibility :example_group can still access the example group attributes via [:example_group] rspec ./spec/rspec/core/metadata_spec.rb:833 # RSpec::Core::Metadata backwards compatibility :example_group_block returns the block rspec ./spec/rspec/core/metadata_spec.rb:843 # RSpec::Core::Metadata backwards compatibility :example_group_block issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:159 # RSpec::Core::Metadata for an example group does not include example specific keys rspec ./spec/rspec/core/metadata_spec.rb:17 # RSpec::Core::Metadata.relative_path gracefully returns nil if run in a secure thread rspec ./spec/rspec/core/metadata_spec.rb:116 # RSpec::Core::Metadata for an example extracts location from caller rspec ./spec/rspec/core/metadata_spec.rb:96 # RSpec::Core::Metadata for an example ignores nil description args rspec ./spec/rspec/core/metadata_spec.rb:104 # RSpec::Core::Metadata for an example creates an empty execution result rspec ./spec/rspec/core/metadata_spec.rb:143 # RSpec::Core::Metadata for an example does not include example-group specific keys rspec ./spec/rspec/core/metadata_spec.rb:108 # RSpec::Core::Metadata for an example extracts file path from caller rspec ./spec/rspec/core/metadata_spec.rb:92 # RSpec::Core::Metadata for an example stores the description args rspec ./spec/rspec/core/metadata_spec.rb:120 # RSpec::Core::Metadata for an example uses :caller if passed as an option rspec ./spec/rspec/core/metadata_spec.rb:100 # RSpec::Core::Metadata for an example stores the full_description (group description + example description) rspec ./spec/rspec/core/metadata_spec.rb:129 # RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group rspec ./spec/rspec/core/metadata_spec.rb:112 # RSpec::Core::Metadata for an example extracts line number from caller rspec ./spec/rspec/core/metadata_spec.rb:125 # RSpec::Core::Metadata for an example merges arbitrary options rspec ./spec/rspec/core/metadata_spec.rb:179 # RSpec::Core::Metadata :block for example group metadata contains the example group block rspec ./spec/rspec/core/metadata_spec.rb:187 # RSpec::Core::Metadata :block for example metadata contains the example block rspec ./spec/rspec/core/metadata_spec.rb:684 # RSpec::Core::Metadata :line_number uses the number after the first : for ruby 1.9 rspec ./spec/rspec/core/metadata_spec.rb:676 # RSpec::Core::Metadata :line_number finds the line number with the first non-rspec lib file in the backtrace rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:5:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that adds the examples directly to the host group is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb:314 # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group included via metadata is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:3:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that generates a nested group is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb:306 # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example not generated by a shared group is a blank array rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:6:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that adds the examples directly to the host group contains a stack frame for each inclusion, in the same order as ruby backtraces rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:4:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that generates a nested group contains a stack frame for each inclusion, in the same order as ruby backtraces rspec ./spec/rspec/core/metadata_spec.rb:653 # RSpec::Core::Metadata :file_path finds the first non-rspec lib file in the caller array rspec ./spec/rspec/core/metadata_spec.rb:690 # RSpec::Core::Metadata child example group nests the parent's example group metadata rspec ./spec/rspec/core/metadata_spec.rb:509 # RSpec::Core::Metadata :description on a group with a string provides the submitted description rspec ./spec/rspec/core/metadata_spec.rb:533 # RSpec::Core::Metadata :description on a group with empty args returns empty string for [:description] rspec ./spec/rspec/core/metadata_spec.rb:521 # RSpec::Core::Metadata :description on a group with a non-string and a string concats the args rspec ./spec/rspec/core/metadata_spec.rb:515 # RSpec::Core::Metadata :description on a group with a non-string provides the string form of the submitted object rspec ./spec/rspec/core/metadata_spec.rb:527 # RSpec::Core::Metadata :description on a group with a string and a non-string concats the args rspec ./spec/rspec/core/metadata_spec.rb:486 # RSpec::Core::Metadata :description on a example just has the example description rspec ./spec/rspec/core/metadata_spec.rb:553 # RSpec::Core::Metadata :full_description omits description from groups with a `nil` description rspec ./spec/rspec/core/metadata_spec.rb:587 # RSpec::Core::Metadata :full_description concats nested example group descriptions three deep rspec ./spec/rspec/core/metadata_spec.rb:573 # RSpec::Core::Metadata :full_description concats nested example group descriptions rspec ./spec/rspec/core/metadata_spec.rb:563 # RSpec::Core::Metadata :full_description omits description from groups with a description of `''` rspec ./spec/rspec/core/metadata_spec.rb[1:12:13:1] # RSpec::Core::Metadata :full_description with a description starting with :: nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:8:1] # RSpec::Core::Metadata :full_description with a description starting with # nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:12:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with :: removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:10:1] # RSpec::Core::Metadata :full_description with a description starting with . nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:9:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with . removes the space rspec ./spec/rspec/core/metadata_spec.rb:542 # RSpec::Core::Metadata :full_description on an example concats example group name and description rspec ./spec/rspec/core/metadata_spec.rb[1:12:14:1] # RSpec::Core::Metadata :full_description with a description starting with :: nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:7:1] # RSpec::Core::Metadata :full_description with a description starting with # nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:6:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with # removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:11:1] # RSpec::Core::Metadata :full_description with a description starting with . nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb:461 # RSpec::Core::Metadata :described_class in a nested group can override a parent group's described class using metadata rspec ./spec/rspec/core/metadata_spec.rb:437 # RSpec::Core::Metadata :described_class in a nested group sets the described class when passing a class rspec ./spec/rspec/core/metadata_spec.rb:449 # RSpec::Core::Metadata :described_class in a nested group does not override the :described_class when passing no describe args rspec ./spec/rspec/core/metadata_spec.rb:425 # RSpec::Core::Metadata :described_class in a nested group inherits the parent group's described class rspec ./spec/rspec/core/rake_task_spec.rb:254 # RSpec::Core::RakeTask sets the files to run in a consistent order, regardless of the underlying FileList ordering rspec ./spec/rspec/core/rake_task_spec.rb:175 # RSpec::Core::RakeTask with SPEC env var set sets files to run rspec ./spec/rspec/core/rake_task_spec.rb:181 # RSpec::Core::RakeTask with SPEC env var set sets the files to run in a consistent order, regardless of the underlying FileList ordering rspec ./spec/rspec/core/rake_task_spec.rb:130 # RSpec::Core::RakeTask with verbose enabled prints an additional message to stderr for failures rspec ./spec/rspec/core/rake_task_spec.rb:123 # RSpec::Core::RakeTask with verbose enabled prints the command only to stdout for passing specs rspec ./spec/rspec/core/rake_task_spec.rb:141 # RSpec::Core::RakeTask with verbose disabled does not print to stdout or stderr rspec ./spec/rspec/core/rake_task_spec.rb:405 # RSpec::Core::RakeTask with an exclude_pattern excludes files when pattern and exclusion_pattern don't consistently start with ./ rspec ./spec/rspec/core/rake_task_spec.rb:398 # RSpec::Core::RakeTask with an exclude_pattern it does not load matching files rspec ./spec/rspec/core/rake_task_spec.rb:393 # RSpec::Core::RakeTask with an exclude_pattern shellescapes the pattern as necessary rspec ./spec/rspec/core/rake_task_spec.rb:58 # RSpec::Core::RakeTask with ruby options renders them before the rspec path rspec ./spec/rspec/core/rake_task_spec.rb:365 # RSpec::Core::RakeTask without an exclude_pattern does not pass the --exclude-pattern option rspec ./spec/rspec/core/rake_task_spec.rb:70 # RSpec::Core::RakeTask with rspec_opts correctly excludes the default pattern if rspec_opts includes --pattern rspec ./spec/rspec/core/rake_task_spec.rb:65 # RSpec::Core::RakeTask with rspec_opts adds the rspec_opts rspec ./spec/rspec/core/rake_task_spec.rb:341 # RSpec::Core::RakeTask with a pattern value that is a mixture of file globs and individual files or dirs loads all specified or matching files rspec ./spec/rspec/core/rake_task_spec.rb:268 # RSpec::Core::RakeTask with a pattern value that is an existing directory, not a file glob loads the spec files in that directory rspec ./spec/rspec/core/rake_task_spec.rb:309 # RSpec::Core::RakeTask with a pattern value that is an array of existing files or directories, not a file glob loads the specified spec files, and spec files from the specified directories rspec ./spec/rspec/core/rake_task_spec.rb:322 # RSpec::Core::RakeTask with a pattern value that is a single glob that starts with ./ loads the spec files that match the glob rspec ./spec/rspec/core/rake_task_spec.rb:261 # RSpec::Core::RakeTask with a pattern value that matches no files runs nothing rspec ./spec/rspec/core/rake_task_spec.rb:275 # RSpec::Core::RakeTask with a pattern value that is an existing file, not a file glob loads the spec file rspec ./spec/rspec/core/rake_task_spec.rb:296 # RSpec::Core::RakeTask with a pattern value that is a relative file glob, for a path not under the default spec dir (`spec`) loads the matching spec files rspec ./spec/rspec/core/rake_task_spec.rb:282 # RSpec::Core::RakeTask with a pattern value that is an absolute path file glob loads the matching spec files rspec ./spec/rspec/core/rake_task_spec.rb:329 # RSpec::Core::RakeTask with a pattern value that is an array of globs relative to the current working dir loads spec files that match any of the globs rspec ./spec/rspec/core/rake_task_spec.rb:353 # RSpec::Core::RakeTask with a pattern value that is a FileList loads the files from the FileList rspec ./spec/rspec/core/rake_task_spec.rb:112 # RSpec::Core::RakeTask with custom exit status returns the correct status on exit rspec ./spec/rspec/core/rake_task_spec.rb:231 # RSpec::Core::RakeTask load path manipulation does not include extra load path entries for other gems that have `rspec-core` in its path rspec ./spec/rspec/core/rake_task_spec.rb[1:14:1:2] # RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :git dependencies avoids adding the same load path entries twice rspec ./spec/rspec/core/rake_task_spec.rb[1:14:1:1] # RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :git dependencies adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used rspec ./spec/rspec/core/rake_task_spec.rb[1:14:2:1] # RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :path dependencies adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used rspec ./spec/rspec/core/rake_task_spec.rb[1:14:2:2] # RSpec::Core::RakeTask load path manipulation when rspec is installed as bundler :path dependencies avoids adding the same load path entries twice rspec ./spec/rspec/core/rake_task_spec.rb[1:14:3:2] # RSpec::Core::RakeTask load path manipulation when rspec is installed as a rubygem avoids adding the same load path entries twice rspec ./spec/rspec/core/rake_task_spec.rb[1:14:3:1] # RSpec::Core::RakeTask load path manipulation when rspec is installed as a rubygem adds the current rspec-core and rspec-support dirs to the load path to ensure the current version is used rspec ./spec/rspec/core/rake_task_spec.rb[1:20:1] # RSpec::Core::RakeTask behaves like handling symlinked directories when loading spec files finds the files rspec ./spec/rspec/core/rake_task_spec.rb[1:20:2] # RSpec::Core::RakeTask behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) rspec ./spec/rspec/core/rake_task_spec.rb:38 # RSpec::Core::RakeTask default renders rspec rspec ./spec/rspec/core/rake_task_spec.rb:417 # RSpec::Core::RakeTask with paths with quotes or spaces matches files with quotes and spaces rspec ./spec/rspec/core/rake_task_spec.rb:44 # RSpec::Core::RakeTask with space renders rspec with space escaped rspec ./spec/rspec/core/rake_task_spec.rb:79 # RSpec::Core::RakeTask with pattern adds the pattern rspec ./spec/rspec/core/rake_task_spec.rb:84 # RSpec::Core::RakeTask with pattern shellescapes the pattern as necessary rspec ./spec/rspec/core/rake_task_spec.rb:96 # RSpec::Core::RakeTask when `failure_message` is configured prints it if the RSpec run failed rspec ./spec/rspec/core/rake_task_spec.rb:101 # RSpec::Core::RakeTask when `failure_message` is configured does not print it if the RSpec run succeeded rspec ./spec/rspec/core/runner_spec.rb:300 # RSpec::Core::Runner when run configures streams before command line options rspec ./spec/rspec/core/runner_spec.rb:316 # RSpec::Core::Runner when run assigns submitted ConfigurationOptions to @options rspec ./spec/rspec/core/runner_spec.rb:323 # RSpec::Core::Runner when run #run supports a test-queue like subclass that can perform setup once and run different sets of example groups multiple times rspec ./spec/rspec/core/runner_spec.rb:351 # RSpec::Core::Runner when run #run reports the expected example count accurately, even when subclasses filter example groups rspec ./spec/rspec/core/runner_spec.rb:421 # RSpec::Core::Runner when run #run running files returns 0 if spec passes rspec ./spec/rspec/core/runner_spec.rb:426 # RSpec::Core::Runner when run #run running files returns 1 if spec fails rspec ./spec/rspec/core/runner_spec.rb:431 # RSpec::Core::Runner when run #run running files returns 2 if spec fails and --failure-exit-code is 2 rspec ./spec/rspec/core/runner_spec.rb:402 # RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is configured persists the status of all loaded examples rspec ./spec/rspec/core/runner_spec.rb:410 # RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is not configured persists the status of all loaded examples rspec ./spec/rspec/core/runner_spec.rb:443 # RSpec::Core::Runner when run #run with custom output doesn't override output_stream rspec ./spec/rspec/core/runner_spec.rb:181 # RSpec::Core::Runner.running_in_drb? when drb server is started with 127.0.0.1 rspec ./spec/rspec/core/runner_spec.rb:223 # RSpec::Core::Runner.running_in_drb? when IPSocket cannot resolve the current hostname rspec ./spec/rspec/core/runner_spec.rb:189 # RSpec::Core::Runner.running_in_drb? when drb server is started with localhost rspec ./spec/rspec/core/runner_spec.rb:201 # RSpec::Core::Runner.running_in_drb? when drb server is started with another local ip address rspec ./spec/rspec/core/runner_spec.rb:98 # RSpec::Core::Runner interrupt handling prints a message the first time, then exits the second time rspec ./spec/rspec/core/runner_spec.rb:150 # RSpec::Core::Runner interrupt catching with SIGINT twice exits immediately rspec ./spec/rspec/core/runner_spec.rb:140 # RSpec::Core::Runner interrupt catching with SIGINT once does not exit immediately, but notifies the user rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:22 # RSpec::Core::Formatters::JsonFormatter outputs expected json (brittle high level functional test) rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:16 # RSpec::Core::Formatters::JsonFormatter can be loaded via `--format json` rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:213 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides information rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:217 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups ranks the example groups by average time rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:209 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides the slowest example groups rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:177 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group provides example execution time rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:185 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group has the summary of profile information rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:173 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group names the example rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:181 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group doesn't profile a single example group rspec ./spec/rspec/core/example_status_persister_spec.rb:240 # Example status merging preserves any extra attributes include in the example hashes rspec ./spec/rspec/core/example_status_persister_spec.rb:162 # Example status merging when there are no examples from this run returns the examples from the previous runs rspec ./spec/rspec/core/example_status_persister_spec.rb:184 # Example status merging for examples that are only in the set for previous runs if there are other examples from this run for the same file deletes them since the examples must no longer exist rspec ./spec/rspec/core/example_status_persister_spec.rb:201 # Example status merging for examples that are only in the set for previous runs if there are no other examples from this run for the same file keeps them if the file exists because the examples may still exist rspec ./spec/rspec/core/example_status_persister_spec.rb:174 # Example status merging for examples that are only in the set for this run takes them indiscriminately, even if they did not execute rspec ./spec/rspec/core/example_status_persister_spec.rb:211 # Example status merging for examples that are in both sets takes the status from this run as long as the example executed rspec ./spec/rspec/core/example_status_persister_spec.rb:219 # Example status merging for examples that are in both sets takes the status from previous runs if the example was loaded but did not execute rspec ./spec/rspec/core/example_status_persister_spec.rb:150 # Example status merging when there are no examples from previous runs returns the examples from this run rspec ./spec/rspec/core/configuration_spec.rb:850 # RSpec::Core::Configuration allows file names with brackets rspec ./spec/rspec/core/configuration_spec.rb:316 # RSpec::Core::Configuration#expectation_frameworks when rspec-expectations is not installed gracefully falls back to an anonymous module rspec ./spec/rspec/core/configuration_spec.rb:31 # RSpec::Core::Configuration#on_example_group_definition successfully invokes the block rspec ./spec/rspec/core/configuration_spec.rb:190 # RSpec::Core::Configuration#mock_framework when rspec-mocks is not installed gracefully falls back to :nothing rspec ./spec/rspec/core/configuration_spec.rb:947 # RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in matching groups rspec ./spec/rspec/core/configuration_spec.rb:957 # RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in the singleton class of matching examples rspec ./spec/rspec/core/configuration_spec.rb:795 # RSpec::Core::Configuration#exclude_pattern after `files_to_run` has been accessed but before files have been loaded still takes affect rspec ./spec/rspec/core/configuration_spec.rb:762 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values with spaces rspec ./spec/rspec/core/configuration_spec.rb:770 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports curly braces glob syntax rspec ./spec/rspec/core/configuration_spec.rb:754 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values rspec ./spec/rspec/core/configuration_spec.rb:743 # RSpec::Core::Configuration#exclude_pattern with single pattern ignores exclude_pattern if files are specified rspec ./spec/rspec/core/configuration_spec.rb:737 # RSpec::Core::Configuration#exclude_pattern with single pattern loads files in directories not following exclude pattern rspec ./spec/rspec/core/configuration_spec.rb:731 # RSpec::Core::Configuration#exclude_pattern with single pattern does not load files in directories following exclude pattern rspec ./spec/rspec/core/configuration_spec.rb:807 # RSpec::Core::Configuration with full_description set overrides filters rspec ./spec/rspec/core/configuration_spec.rb:233 # RSpec::Core::Configuration#mock_with allows rspec-mocks to be configured with a provided block rspec ./spec/rspec/core/configuration_spec.rb:257 # RSpec::Core::Configuration#mock_with uses the null adapter when given :nothing rspec ./spec/rspec/core/configuration_spec.rb:2544 # RSpec::Core::Configuration#expose_current_running_example_as exposes the current example via the named method rspec ./spec/rspec/core/configuration_spec.rb:1930 # RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if no matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:1960 # RSpec::Core::Configuration#when_first_matching_example_defined still runs after the first matching example even if there is a group that matches earlier rspec ./spec/rspec/core/configuration_spec.rb:1896 # RSpec::Core::Configuration#when_first_matching_example_defined runs the block when the first matching example is defined rspec ./spec/rspec/core/configuration_spec.rb:1944 # RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if groups match the metadata but no examples do rspec ./spec/rspec/core/configuration_spec.rb:1912 # RSpec::Core::Configuration#when_first_matching_example_defined does not fire when later matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:1980 # RSpec::Core::Configuration#when_first_matching_example_defined when a group is defined with matching metadata runs the callback after the first example in the group is defined rspec ./spec/rspec/core/configuration_spec.rb:2018 # RSpec::Core::Configuration#when_first_matching_example_defined when a matching example group with other registered metadata has been defined does not fire when later matching examples with the other metadata are defined rspec ./spec/rspec/core/configuration_spec.rb:1998 # RSpec::Core::Configuration#when_first_matching_example_defined when the value of the registered metadata is a Proc does not fire when later matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:439 # RSpec::Core::Configuration#files_to_run prevents repetition of dir when start of the pattern rspec ./spec/rspec/core/configuration_spec.rb:602 # RSpec::Core::Configuration#files_to_run deduplicates spec files that are listed individually and present in a passed dir rspec ./spec/rspec/core/configuration_spec.rb:482 # RSpec::Core::Configuration#files_to_run does not attempt to treat the pattern relative to `.` if it uses `**` in the first path segment as that would cause it load specs from vendored gems rspec ./spec/rspec/core/configuration_spec.rb:590 # RSpec::Core::Configuration#files_to_run respects the user-specified order of files and directories passed at the command line rspec ./spec/rspec/core/configuration_spec.rb:457 # RSpec::Core::Configuration#files_to_run supports absolute path patterns rspec ./spec/rspec/core/configuration_spec.rb:434 # RSpec::Core::Configuration#files_to_run loads files not following pattern if named explicitly rspec ./spec/rspec/core/configuration_spec.rb:574 # RSpec::Core::Configuration#files_to_run loads files in passed directories in alphabetical order to avoid OS-specific file-globbing non-determinism rspec ./spec/rspec/core/configuration_spec.rb:491 # RSpec::Core::Configuration#files_to_run reloads when `files_or_directories_to_run` is reassigned rspec ./spec/rspec/core/configuration_spec.rb:451 # RSpec::Core::Configuration#files_to_run supports patterns starting with ./ rspec ./spec/rspec/core/configuration_spec.rb:470 # RSpec::Core::Configuration#files_to_run supports relative path patterns for an alternate directory from `spec` rspec ./spec/rspec/core/configuration_spec.rb:501 # RSpec::Core::Configuration#files_to_run attempts to load the provided file names rspec ./spec/rspec/core/configuration_spec.rb:445 # RSpec::Core::Configuration#files_to_run does not prevent repetition of dir when later of the pattern rspec ./spec/rspec/core/configuration_spec.rb:530 # RSpec::Core::Configuration#files_to_run with default pattern loads files named _spec.rb rspec ./spec/rspec/core/configuration_spec.rb[1:15:12:4:2] # RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) rspec ./spec/rspec/core/configuration_spec.rb[1:15:12:4:1] # RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files finds the files rspec ./spec/rspec/core/configuration_spec.rb:560 # RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run with DRB (e.g., spork) rspec ./spec/rspec/core/configuration_spec.rb:554 # RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run by rspec rspec ./spec/rspec/core/configuration_spec.rb:991 # RSpec::Core::Configuration#include with no filter includes the given module into each example group rspec ./spec/rspec/core/configuration_spec.rb:1001 # RSpec::Core::Configuration#include with no filter includes the given module into each existing example group rspec ./spec/rspec/core/configuration_spec.rb:1073 # RSpec::Core::Configuration#include with a filter ensures that `before` hooks have access to the module methods, even when only included in the singleton class of one example rspec ./spec/rspec/core/configuration_spec.rb:1093 # RSpec::Core::Configuration#include with a filter does not include the module in an example's singleton class when it has already been included in the group rspec ./spec/rspec/core/configuration_spec.rb:1014 # RSpec::Core::Configuration#include with a filter includes the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:1024 # RSpec::Core::Configuration#include with a filter includes in example groups that match a deprecated `:example_group` filter rspec ./spec/rspec/core/configuration_spec.rb:1053 # RSpec::Core::Configuration#include with a filter includes the given module into the singleton class of matching examples rspec ./spec/rspec/core/configuration_spec.rb:1034 # RSpec::Core::Configuration#include with a filter includes the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:1705 # RSpec::Core::Configuration#filter_gems_from_backtrace filters the named gems from the backtrace rspec ./spec/rspec/core/configuration_spec.rb:1795 # RSpec::Core::Configuration#define_derived_metadata registers top-level groups before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:1808 # RSpec::Core::Configuration#define_derived_metadata registers nested groups before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:1777 # RSpec::Core::Configuration#define_derived_metadata derives metadata before the group or example blocks are eval'd so their logic can depend on the derived metadata rspec ./spec/rspec/core/configuration_spec.rb:1824 # RSpec::Core::Configuration#define_derived_metadata registers examples before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:136 # RSpec::Core::Configuration#requires= adds `lib` to the load path rspec ./spec/rspec/core/configuration_spec.rb:145 # RSpec::Core::Configuration#requires= adds the configured `default_path` to the load path rspec ./spec/rspec/core/configuration_spec.rb:1142 # RSpec::Core::Configuration#extend extends the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:1133 # RSpec::Core::Configuration#extend extends the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:717 # RSpec::Core::Configuration#pattern after `files_to_run` has been accessed but before files have been loaded still takes affect rspec ./spec/rspec/core/configuration_spec.rb:653 # RSpec::Core::Configuration#pattern with single pattern loads files in directories following pattern rspec ./spec/rspec/core/configuration_spec.rb:665 # RSpec::Core::Configuration#pattern with single pattern ignores pattern if files are specified rspec ./spec/rspec/core/configuration_spec.rb:645 # RSpec::Core::Configuration#pattern with single pattern loads all explicitly specified files, even those that do not match the pattern rspec ./spec/rspec/core/configuration_spec.rb:659 # RSpec::Core::Configuration#pattern with single pattern does not load files in directories not following pattern rspec ./spec/rspec/core/configuration_spec.rb:684 # RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values with spaces rspec ./spec/rspec/core/configuration_spec.rb:676 # RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values rspec ./spec/rspec/core/configuration_spec.rb:692 # RSpec::Core::Configuration#pattern with multiple patterns supports curly braces glob syntax rspec ./spec/rspec/core/configuration_spec.rb:1183 # RSpec::Core::Configuration#prepend with no filter prepends the given module into each existing example group rspec ./spec/rspec/core/configuration_spec.rb:1174 # RSpec::Core::Configuration#prepend with no filter prepends the given module into each example group rspec ./spec/rspec/core/configuration_spec.rb:1195 # RSpec::Core::Configuration#prepend with a filter prepends the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:1204 # RSpec::Core::Configuration#prepend with a filter prepends the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:2598 # RSpec::Core::Configuration#disable_monkey_patching! stops using should syntax for mocks rspec ./spec/rspec/core/configuration_spec.rb:2650 # RSpec::Core::Configuration#disable_monkey_patching! when user did not configure expectation framework disables monkey patching after example groups being configured rspec ./spec/rspec/core/configuration_spec.rb:2627 # RSpec::Core::Configuration#disable_monkey_patching! when user did not configure mock framework disables monkey patching after example groups being configured rspec ./spec/rspec/core/output_wrapper_spec.rb:6 # RSpec::Core::OutputWrapper redirects calls to the wrapped object rspec ./spec/rspec/core/memoized_helpers_spec.rb:523 # #let raises an error when attempting to define a reserved method name rspec ./spec/rspec/core/memoized_helpers_spec.rb[2:10] # #let raises an error when referenced from `before(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:517 # #let raises a useful error when called without a block rspec ./spec/rspec/core/memoized_helpers_spec.rb[2:11] # #let raises an error when referenced from `after(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:573 # #let when included modules have hooks that define memoized helpers allows memoized helpers to override methods in previously included modules rspec ./spec/rspec/core/ruby_project_spec.rb:37 # RSpec::Core::RubyProject#ascend_until works with a path with a trailing slash rspec ./spec/rspec/core/ruby_project_spec.rb:33 # RSpec::Core::RubyProject#ascend_until works with a normal path rspec ./spec/rspec/core/ruby_project_spec.rb:41 # RSpec::Core::RubyProject#ascend_until works with a path with double slashes rspec ./spec/rspec/core/ruby_project_spec.rb:45 # RSpec::Core::RubyProject#ascend_until works with a path with escaped slashes rspec ./spec/rspec/core/set_spec.rb:19 # RSpec::Core::Set is enumerable rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:62 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples uses the location to identify the example rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:72 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example defined in an file required by the user rather than loaded by rspec looks through ancestor metadata to find a workable re-run command rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:99 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location uses the id instead rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:108 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids quotes the id to be safe so the rerun command can be copied and pasted rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:112 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids correctly escapes file names that have quotes in them rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:140 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures preserves formatting rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:183 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception class other than RSpec does not show the error class rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:209 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed message expectation (rspec-mocks) does not show the error class rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:192 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has a differently encoded message runs without encountering an encoding exception rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:157 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message preserves ancestry rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:150 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message does not throw NoMethodError rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:2:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains nested example groups outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:3:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains shared group nesting includes each inclusion location in the output rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:165 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has an exception instance as its message does not raise NoMethodError rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:2:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains nested example groups outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:3:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains shared group nesting includes each inclusion location in the output rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:174 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an instance of an anonymous exception class substitutes '(anonymous error class)' for the missing class name rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:201 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed expectation (rspec-expectations) does not show the error class rspec ./spec/rspec/core/suite_hooks_spec.rb:94 # Configuration :suite hooks always runs `after(:suite)` hooks even in the face of errors rspec ./spec/rspec/core/suite_hooks_spec.rb:126 # Configuration :suite hooks the runner runs :suite hooks before and after example groups in the correct order rspec ./spec/rspec/core/suite_hooks_spec.rb:115 # Configuration :suite hooks the runner still runs :suite hooks with metadata even though the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:4:1] # Configuration :suite hooks a `:suite` hook registered with `append_before` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:4:7:1] # Configuration :suite hooks a `:suite` hook registered with `append_before` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/suite_hooks_spec.rb[1:4:8:1] # Configuration :suite hooks a `:suite` hook registered with `append_before` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:2:1] # Configuration :suite hooks a `:suite` hook registered with `after` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:2:7:1] # Configuration :suite hooks a `:suite` hook registered with `after` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/suite_hooks_spec.rb[1:2:8:1] # Configuration :suite hooks a `:suite` hook registered with `after` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:1:1] # Configuration :suite hooks a `:suite` hook registered with `before` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:1:7:1] # Configuration :suite hooks a `:suite` hook registered with `before` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/suite_hooks_spec.rb[1:1:8:1] # Configuration :suite hooks a `:suite` hook registered with `before` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:6:1] # Configuration :suite hooks a `:suite` hook registered with `append_after` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:6:8:1] # Configuration :suite hooks a `:suite` hook registered with `append_after` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:6:7:1] # Configuration :suite hooks a `:suite` hook registered with `append_after` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/suite_hooks_spec.rb[1:5:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_after` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:5:7:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_after` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/suite_hooks_spec.rb[1:5:8:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_after` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:3:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_before` is skipped when in dry run mode rspec ./spec/rspec/core/suite_hooks_spec.rb[1:3:8:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_before` registered with metadata explicitly warns that the metadata is ignored rspec ./spec/rspec/core/suite_hooks_spec.rb[1:3:7:1] # Configuration :suite hooks a `:suite` hook registered with `prepend_before` registered on an example group is ignored with a clear warning rspec ./spec/rspec/core/formatters/progress_formatter_spec.rb:43 # RSpec::Core::Formatters::ProgressFormatter produces the expected full output rspec ./spec/rspec/core/metadata_filter_spec.rb:214 # RSpec::Core::MetadataFilter.filter_applies? with an Array does not match a proc that evaluates to false rspec ./spec/rspec/core/metadata_filter_spec.rb:186 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a symbol rspec ./spec/rspec/core/metadata_filter_spec.rb:198 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches an integer rspec ./spec/rspec/core/metadata_filter_spec.rb:218 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches when a metadata key is specified without a value and exists in the metadata hash rspec ./spec/rspec/core/metadata_filter_spec.rb:210 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a proc that evaluates to true rspec ./spec/rspec/core/metadata_filter_spec.rb:192 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a string rspec ./spec/rspec/core/metadata_filter_spec.rb:204 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a regexp rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:2:2:1] # Aggregating failures for a pending example via `:aggregate_failures` metadata applies `aggregate_failures` to examples or groups tagged with `:aggregate_failures` rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:2:2:3:1] # Aggregating failures for a pending example via `:aggregate_failures` metadata when the example has multiple exceptions, plus another error reports it as a flat multiple exception error rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:2:2:2:1] # Aggregating failures for a pending example via `:aggregate_failures` metadata when the example has an exception, plus another error reports it as a multiple exception error rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:2:1:1:1] # Aggregating failures for a pending example via the `aggregate_failures` method when the example has an expectation failure, plus an `after` hook and an `around` hook failure presents a flat list of three failures rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:2:1:2:1] # Aggregating failures for a pending example via the `aggregate_failures` method when the example has multiple expectation failures, plus an `after` hook and an `around` hook failure nests the expectation failures so that they can be labeled with the aggregation block label rspec ./spec/rspec/core/aggregate_failures_spec.rb:127 # Aggregating failures for a non-pending example does not interfere with other `around` hooks rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:1:2:1] # Aggregating failures for a non-pending example via `:aggregate_failures` metadata applies `aggregate_failures` to examples or groups tagged with `:aggregate_failures` rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:1:2:2:1] # Aggregating failures for a non-pending example via `:aggregate_failures` metadata when the example has an exception, plus another error reports it as a multiple exception error rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:1:2:3:1] # Aggregating failures for a non-pending example via `:aggregate_failures` metadata when the example has multiple exceptions, plus another error reports it as a flat multiple exception error rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:1:1:1:1] # Aggregating failures for a non-pending example via the `aggregate_failures` method when the example has an expectation failure, plus an `after` hook and an `around` hook failure presents a flat list of three failures rspec ./spec/rspec/core/aggregate_failures_spec.rb[1:1:1:2:1] # Aggregating failures for a non-pending example via the `aggregate_failures` method when the example has multiple expectation failures, plus an `after` hook and an `around` hook failure nests the expectation failures so that they can be labeled with the aggregation block label rspec ./spec/rspec/core/notifications_spec.rb:345 # RSpec::Core::Notifications::ExamplesNotification#notifications returns an array of notification objects for all the examples rspec ./spec/rspec/core/bisect/runner_spec.rb:188 # RSpec::Core::Bisect::Runner#repro_command_from prints the files in alphabetical order rspec ./spec/rspec/core/bisect/runner_spec.rb:160 # RSpec::Core::Bisect::Runner#repro_command_from starts with `rspec #{example_ids}` rspec ./spec/rspec/core/bisect/runner_spec.rb:193 # RSpec::Core::Bisect::Runner#repro_command_from prints ids from the same file in sequential order rspec ./spec/rspec/core/bisect/runner_spec.rb:177 # RSpec::Core::Bisect::Runner#repro_command_from includes original options that `command_for` excludes rspec ./spec/rspec/core/bisect/runner_spec.rb:183 # RSpec::Core::Bisect::Runner#repro_command_from groups multiple ids for the same file together rspec ./spec/rspec/core/bisect/runner_spec.rb:205 # RSpec::Core::Bisect::Runner#repro_command_from does not include `--bisect` even though the original args do rspec ./spec/rspec/core/bisect/runner_spec.rb:210 # RSpec::Core::Bisect::Runner#repro_command_from quotes the ids on a shell like ZSH that requires it rspec ./spec/rspec/core/bisect/runner_spec.rb:170 # RSpec::Core::Bisect::Runner#repro_command_from includes the original SPEC_OPTS but excludes the --bisect flag rspec ./spec/rspec/core/bisect/runner_spec.rb:165 # RSpec::Core::Bisect::Runner#repro_command_from includes the original CLI args but excludes the original CLI locations rspec ./spec/rspec/core/bisect/runner_spec.rb:95 # RSpec::Core::Bisect::Runner#command_for excludes any --format and matching --out options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb:110 # RSpec::Core::Bisect::Runner#command_for starts with the path to the current ruby executable rspec ./spec/rspec/core/bisect/runner_spec.rb:48 # RSpec::Core::Bisect::Runner#command_for replaces the locations from the original CLI args with the provided locations rspec ./spec/rspec/core/bisect/runner_spec.rb:100 # RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb:105 # RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb:67 # RSpec::Core::Bisect::Runner#command_for ignores an existing --drb-port option (since we use the server's port instead) rspec ./spec/rspec/core/bisect/runner_spec.rb:262 # RSpec::Core::Bisect::Runner#original_results runs the suite with the original CLI options rspec ./spec/rspec/core/bisect/runner_spec.rb:282 # RSpec::Core::Bisect::Runner#original_results when --bisect=verbose is present in SPEC_OPTS runs the suite with --bisect removed from the environment rspec ./spec/rspec/core/bisect/runner_spec.rb:269 # RSpec::Core::Bisect::Runner#original_results when --bisect is present in SPEC_OPTS runs the suite with --bisect removed from the environment rspec ./spec/rspec/core/formatters/html_formatter_spec.rb:61 # RSpec::Core::Formatters::HtmlFormatter produced HTML is identical to the one we designed manually rspec ./spec/rspec/core/hooks_filtering_spec.rb:258 # config block hook filtering hooks with single filters runs before|after :all hooks on matching nested example groups rspec ./spec/rspec/core/hooks_filtering_spec.rb:356 # config block hook filtering hooks with single filters does not run local :all|:context hooks if the entire context is skipped rspec ./spec/rspec/core/hooks_filtering_spec.rb:280 # config block hook filtering hooks with single filters runs before|after :all hooks only on the highest level group that matches the filter rspec ./spec/rspec/core/hooks_filtering_spec.rb:237 # config block hook filtering hooks with single filters is run if the filter matches the example group's filter rspec ./spec/rspec/core/hooks_filtering_spec.rb:322 # config block hook filtering hooks with single filters runs :all|:context hooks even if there are no unskipped examples in that context rspec ./spec/rspec/core/hooks_filtering_spec.rb:307 # config block hook filtering hooks with single filters does not run if the filter doesn't match the example group's filter rspec ./spec/rspec/core/hooks_filtering_spec.rb:339 # config block hook filtering hooks with single filters does not run :all|:context hooks in global config if the entire context is skipped rspec ./spec/rspec/core/hooks_filtering_spec.rb:405 # config block hook filtering hooks with single filters when the hook filters apply to individual examples instead of example groups an example with matching metadata runs the `:each` hooks rspec ./spec/rspec/core/hooks_filtering_spec.rb:417 # config block hook filtering hooks with single filters when the hook filters apply to individual examples instead of example groups an example without matching metadata does not run any of the hooks rspec ./spec/rspec/core/hooks_filtering_spec.rb:219 # config block hook filtering hooks with single filters with no scope specified is run around|before|after :each if the filter matches the example group's filter rspec ./spec/rspec/core/hooks_filtering_spec.rb:505 # config block hook filtering :context hooks defined in configuration with metadata does not apply to individual matching examples for which it also applies to a parent example group rspec ./spec/rspec/core/hooks_filtering_spec.rb:490 # config block hook filtering :context hooks defined in configuration with metadata applies to individual matching examples rspec ./spec/rspec/core/hooks_filtering_spec.rb:425 # config block hook filtering hooks with multiple filters is run if all hook filters match the group's filters rspec ./spec/rspec/core/hooks_filtering_spec.rb:473 # config block hook filtering hooks with multiple filters does not run for examples that do not match, even if their group matches rspec ./spec/rspec/core/hooks_filtering_spec.rb:446 # config block hook filtering hooks with multiple filters does not run if some hook filters don't match the group's filters rspec ./spec/rspec/core/hooks_filtering_spec.rb:194 # config block hook filtering unfiltered hooks is run rspec ./spec/rspec/core/hooks_filtering_spec.rb:136 # config block hook filtering when hooks are defined after a group has been defined only runs example hooks once when there are multiple nested example groups rspec ./spec/rspec/core/hooks_filtering_spec.rb[1:1:4] # config block hook filtering when hooks are defined after a group has been defined applies only to examples with matching metadata (for hooks declared with :each) rspec ./spec/rspec/core/hooks_filtering_spec.rb:42 # config block hook filtering when hooks are defined after a group has been defined applies only to groups with matching metadata rspec ./spec/rspec/core/hooks_filtering_spec.rb:4 # config block hook filtering when hooks are defined after a group has been defined still applies rspec ./spec/rspec/core/hooks_filtering_spec.rb:168 # config block hook filtering when hooks are defined after a group has been defined only runs context hooks around the highest level group with matching filters rspec ./spec/rspec/core/hooks_filtering_spec.rb[1:1:3] # config block hook filtering when hooks are defined after a group has been defined applies only to examples with matching metadata (for hooks declared with :example) rspec ./spec/rspec/core/hooks_filtering_spec.rb:118 # config block hook filtering when hooks are defined after a group has been defined does not apply `suite` hooks to groups (or print warnings about suite hooks applied to example groups) rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:8] # RSpec::Core::SharedExampleGroup shared_context generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:2] # RSpec::Core::SharedExampleGroup shared_context is not exposed to the global namespace when monkey patching is disabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:7] # RSpec::Core::SharedExampleGroup shared_context works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:1] # RSpec::Core::SharedExampleGroup shared_context is exposed to the global namespace when expose_dsl_globally is enabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:1] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:4] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:3] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:2] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:1] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:4] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:5] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:2] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:6] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:6] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:1] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:7] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:2] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:3] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:4] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:5] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:1:1] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:2:1] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:2:2] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:13:1:1] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:13:2:2] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:1] # RSpec::Core::SharedExampleGroup shared_examples_for is exposed to the global namespace when expose_dsl_globally is enabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:2] # RSpec::Core::SharedExampleGroup shared_examples_for is not exposed to the global namespace when monkey patching is disabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:8] # RSpec::Core::SharedExampleGroup shared_examples_for generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:7] # RSpec::Core::SharedExampleGroup shared_examples_for works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:2:1] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:2:2] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:1:1] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:4] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:2] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:1] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:5] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:6] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:13:1:1] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:13:2:2] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:5] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:1] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:6] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:3] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:4] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:7] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:2] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:4] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:1] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:2] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:3] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:2] # RSpec::Core::SharedExampleGroup shared_examples is not exposed to the global namespace when monkey patching is disabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:8] # RSpec::Core::SharedExampleGroup shared_examples generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:1] # RSpec::Core::SharedExampleGroup shared_examples is exposed to the global namespace when expose_dsl_globally is enabled rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:7] # RSpec::Core::SharedExampleGroup shared_examples works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:2:2] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:2:1] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:1:1] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:3] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:1] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:2] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:4] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:13:1:1] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :trigger_inclusion` given a hash includes itself in matching example groups rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:13:2:2] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :trigger_inclusion` given a string and a hash delegates include on configuration rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:1] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not auto-include the shared group based on passed metadata rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:6] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:4] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:5] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:2] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:3] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:1] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:4] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:5] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:6] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:2] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:7] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:66 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the caller to specify additional indentation rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:126 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows a caller to specify extra details that are added to the bottom rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:195 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted wont produce a stack error when the cause is an older exception rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:156 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted includes the first exception that caused the failure rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:54 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted prints no identifier when no number argument is given rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:216 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted adds extra failure lines from the example metadata rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:80 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted aligns lines rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:175 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted wont produce a stack error when cause is the exception itself rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:113 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the failure/error line to be used as the description rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:42 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted indents properly when given a multiple-digit failure index rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:30 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted formats the exception with all the normal details rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:97 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted allows the caller to omit the description rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:303 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and multiline RSpec exception message inserts a blank line between the expression and the message rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:322 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and multiline RSpec exception message inserts a blank line between the expression and the message rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:363 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and RSpec exception message starting with linefeed (like `eq` matcher) does not insert a superfluous blank line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:342 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and RSpec exception message starting with linefeed (like `eq` matcher) does not insert a superfluous blank line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:284 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and single line RSpec exception message inserts a blank line between the expression and the message rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:404 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with multiline expression and single line non-RSpec exception message inserts a blank line between the expression and the message rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:267 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and single line RSpec exception message crams them without blank line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:249 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format syntax highlighting uses our syntax highlighter on the code snippet to format it nicely rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:385 # RSpec::Core::Formatters::ExceptionPresenter#fully_formatted line format with single line expression and single line non-RSpec exception message inserts a blank line between the expression and the message rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:453 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count exceeds RSpec.configuration.max_displayed_failure_line_count returns the lines without exceeding the max count rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:438 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count returns all the lines rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:539 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when String alias to_int to_i doesn't hang when file exists rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:508 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a file that does not exist reports the filename and that it was unable to find the matching line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:519 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the stacktrace includes relative paths (which can happen when using `rspec/autorun` and running files through `ruby`) still finds the backtrace line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:481 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when backtrace will generate a security error is handled gracefully rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:491 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a bogus line number in the stack trace reports the filename and that it was unable to find the matching line rspec ./spec/rspec/core/example_status_persister_spec.rb:6 # Example status persisting can load a previously persisted set of example statuses from disk rspec ./spec/rspec/core/example_status_persister_spec.rb:115 # Example status persisting persisting example statuses persists a loaded but unexecuted example with an unknown status rspec ./spec/rspec/core/example_status_persister_spec.rb:126 # Example status persisting persisting example statuses persists a skipped example properly rspec ./spec/rspec/core/example_status_persister_spec.rb:105 # Example status persisting persisting example statuses includes the spec run times so users can use it for their own purposes rspec ./spec/rspec/core/example_status_persister_spec.rb:49 # Example status persisting persisting example statuses creates any necessary intermediary directories rspec ./spec/rspec/core/example_status_persister_spec.rb:61 # Example status persisting persisting example statuses prevents simultaneous access to the file rspec ./spec/rspec/core/example_status_persister_spec.rb:91 # Example status persisting persisting example statuses merges the example statuses with the existing records in the named file rspec ./spec/rspec/core/example_status_persister_spec.rb:36 # Example status persisting persisting example statuses writes the given example statuses to disk rspec ./spec/rspec/core/dsl_spec.rb[1:2:1:1:1] # The RSpec DSL custom example group aliases when adding aliases before exposing the DSL globally when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules rspec ./spec/rspec/core/dsl_spec.rb[1:2:1:2:1] # The RSpec DSL custom example group aliases when adding aliases before exposing the DSL globally when expose_dsl_globally is disabled makes them only available off of `RSpec` rspec ./spec/rspec/core/dsl_spec.rb[1:2:2:1:1] # The RSpec DSL custom example group aliases when adding aliases after exposing the DSL globally when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules rspec ./spec/rspec/core/dsl_spec.rb[1:2:2:2:1] # The RSpec DSL custom example group aliases when adding aliases after exposing the DSL globally when expose_dsl_globally is disabled makes them only available off of `RSpec` rspec ./spec/rspec/core/dsl_spec.rb[1:1:2:1] # The RSpec DSL built in DSL methods when expose_dsl_globally is disabled makes them only available off of `RSpec` rspec ./spec/rspec/core/dsl_spec.rb[1:1:1:1] # The RSpec DSL built in DSL methods when expose_dsl_globally is enabled makes them only available off of `RSpec`, `main` and modules rspec ./spec/rspec/core/bisect/coordinator_spec.rb:50 # RSpec::Core::Bisect::Coordinator can use the bisect debug formatter to get detailed progress rspec ./spec/rspec/core/bisect/coordinator_spec.rb:27 # RSpec::Core::Bisect::Coordinator notifies the bisect progress formatter of progress and closes the output rspec ./spec/rspec/core/bisect/coordinator_spec.rb:173 # RSpec::Core::Bisect::Coordinator when the user aborst the bisect with ctrl-c prints the most minimal repro command it has found so far rspec ./spec/rspec/core/bisect/coordinator_spec.rb:103 # RSpec::Core::Bisect::Coordinator with an order-independent failure detects the independent case and prints the minimal reproduction rspec ./spec/rspec/core/bisect/coordinator_spec.rb:123 # RSpec::Core::Bisect::Coordinator with an order-independent failure can use the debug formatter for detailed output rspec ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:106 # RSpec::Core::Formatters::DeprecationFormatter#deprecation_summary with a File deprecation_stream does not print duplicate messages rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:89 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the location of the slow groups rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:81 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:77 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the slowest example groups rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:85 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups ranks the example groups by average time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:2] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:1] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples names the example rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:4] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the percentage taken from the total runtime rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:3] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the path rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:51 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group doesn't profile a single example group rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:2] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:1] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples names the example rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:4] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the percentage taken from the total runtime rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:3] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the path rspec ./spec/rspec/core/backtrace_formatter_spec.rb:237 # RSpec::Core::BacktraceFormatter#backtrace_line trims current working directory rspec ./spec/rspec/core/backtrace_formatter_spec.rb:241 # RSpec::Core::BacktraceFormatter#backtrace_line preserves the original line rspec ./spec/rspec/core/backtrace_formatter_spec.rb:247 # RSpec::Core::BacktraceFormatter#backtrace_line deals gracefully with a security error rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:1:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have no metadata returns those items, regardless of the provided argument rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:5] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:7] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:3] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns matching items for the provided metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:6] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:8:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:10:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:9:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:11:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization is optimized to check metadata filter application for a given pair of metadata hashes only once rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:11:2] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization ignores extraneous metadata keys when doing memoized lookups rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:3:1:2:11:3:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata performance optimization when there are some proc keys still performs memoization for metadata hashes that lack those keys rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:7] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:5] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:6] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:3] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns matching items for the provided metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:9:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:8:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:10:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:11:2] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization ignores extraneous metadata keys when doing memoized lookups rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:11:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization is optimized to check metadata filter application for a given pair of metadata hashes only once rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:2:11:3:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata performance optimization when there are some proc keys still performs memoization for metadata hashes that lack those keys rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:2:1:1:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have no metadata returns those items, regardless of the provided argument rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:2:4:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::QueryOptimized#delete deletes the specified item with the metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:1:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have no metadata returns those items, regardless of the provided argument rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:3] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns matching items for the provided metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:5] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:6] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:7] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:9:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:10:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:3:1:2:8:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `prepend` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:4:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized#delete deletes the specified item with the metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:1:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have no metadata returns those items, regardless of the provided argument rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:3] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns matching items for the provided metadata rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:7] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata returns the correct items when they are appended after a memoized lookup rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:6] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata differentiates between an applicable key being missing and having an explicit `nil` value rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:5] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata ignores other metadata keys that are not related to the appended items rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:8:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata with proc values evaluates the proc each time since the logic can return a different value each time rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:9:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:any?` predicate matches against multi-entry items when any of the metadata entries match rspec ./spec/rspec/core/filterable_item_repository_spec.rb[1:1:2:1:2:10:1] # RSpec::Core::FilterableItemRepository#items_for RSpec::Core::FilterableItemRepository::UpdateOptimized behaves like adding items to the repository adding items using `append` when the repository has items that have metadata when initialized with the `:all?` predicate matches against multi-entry items when all of the metadata entries match rspec ./spec/rspec/core/failed_example_notification_spec.rb:7 # RSpec::Core::Notifications::FailedExampleNotification uses the default color for the shared example backtrace line rspec ./spec/rspec/core/shared_context_spec.rb[1:9] # RSpec::Core::SharedContext supports nested example groups using context rspec ./spec/rspec/core/shared_context_spec.rb[1:8] # RSpec::Core::SharedContext supports nested example groups using describe rspec ./spec/rspec/core/shared_context_spec.rb:10 # RSpec::Core::SharedContext supports before and after hooks rspec ./spec/rspec/core/shared_context_spec.rb:37 # RSpec::Core::SharedContext runs the before each hooks in configuration before those of the shared context rspec ./spec/rspec/core/shared_context_spec.rb:86 # RSpec::Core::SharedContext supports explicit subjects rspec ./spec/rspec/core/shared_context_spec.rb:69 # RSpec::Core::SharedContext supports let when applied to an individual example via metadata rspec ./spec/rspec/core/shared_context_spec.rb:57 # RSpec::Core::SharedContext supports let rspec ./spec/rspec/core/world_spec.rb:49 # RSpec::Core::World#all_example_groups contains all example groups from all levels of nesting rspec ./spec/rspec/core/world_spec.rb:199 # RSpec::Core::World#syntax_highlighter returns a memoized SyntaxHighlighter rspec ./spec/rspec/core/world_spec.rb:191 # RSpec::Core::World#source_from_file caches Source instances by file path rspec ./spec/rspec/core/world_spec.rb:70 # RSpec::Core::World#all_examples contains all examples from all levels of nesting rspec ./spec/rspec/core/world_spec.rb:42 # RSpec::Core::World#example_groups contains all registered example groups rspec ./spec/rspec/core/world_spec.rb:129 # RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if an example starts on that line rspec ./spec/rspec/core/world_spec.rb:133 # RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of a group that immediately precedes the argument line rspec ./spec/rspec/core/world_spec.rb:121 # RSpec::Core::World#preceding_declaration_line (again) with one example returns nil if no example or group precedes the line rspec ./spec/rspec/core/world_spec.rb:125 # RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if a group starts on that line rspec ./spec/rspec/core/world_spec.rb:137 # RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of an example that immediately precedes the argument line rspec ./spec/rspec/core/world_spec.rb:177 # RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered considers only declaration lines from the provided files rspec ./spec/rspec/core/world_spec.rb:173 # RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered returns nil if given a file name with no declarations rspec ./spec/rspec/core/world_spec.rb:150 # RSpec::Core::World#preceding_declaration_line (again) with two groups and the second example is registered first return line number of group if a group start on that line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:592 # RSpec::Core::Formatters::ExceptionPresenter::Factory::CommonBacktraceTruncater returns an exception with all the same attributes (except backtrace) as the provided one rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:76 # RSpec::Core::Formatters::SnippetExtractor when the given line does not exist in the file raises NoSuchLineError rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:100 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans multiple lines returns the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:176 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression is a method definition and ends with "end"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:208 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression includes paren and heredoc pairs as non-nested structure returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:192 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with multiple paren-only lines of same type returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:156 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression contains do-end block and ends with "end"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:261 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's first line includes a closing paren of another multiline expression ignores another expression rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:246 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's final line includes the same type of opening paren of another multiline expression ignores another expression rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:320 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is given returns the lines without exceeding the given count rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:142 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "]"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:230 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans lines after the closing paren line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:344 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is 1 returns the line without parsing the source for efficiency rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:279 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when no expression exists at the line returns the line by falling back to the simple single line extraction rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:114 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with ")"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:128 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "}"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:301 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when Ripper cannot parse the source (which can happen on JRuby -- see jruby/jruby#2427) returns the line by falling back to the simple single line extraction rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:86 # RSpec::Core::Formatters::SnippetExtractor when the expression fits into a single line returns the line rspec ./spec/rspec/core/bisect/server_spec.rb:61 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter receives suite results rspec ./spec/rspec/core/bisect/server_spec.rb:92 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts as soon as the last expected failure finishes, since we don't care about what happens after that rspec ./spec/rspec/core/bisect/server_spec.rb:139 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure is pending instead, even when there are remaining failing examples rspec ./spec/rspec/core/bisect/server_spec.rb:118 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure passes instead, even when there are remaining failing examples rspec ./spec/rspec/core/bisect/server_spec.rb:34 # RSpec::Core::Bisect::Server when results are failed to be reported raises an error with the output rspec ./spec/rspec/core/ordering_spec.rb:22 # RSpec::Core::Ordering::Random.order shuffles the items randomly rspec ./spec/rspec/core/example_spec.rb:860 # RSpec::Core::Example does not interfere with per-example randomness when running examples in a random order rspec ./spec/rspec/core/example_spec.rb:107 # RSpec::Core::Example captures example timing even for exceptions unhandled by RSpec rspec ./spec/rspec/core/example_spec.rb:21 # RSpec::Core::Example can be pretty printed rspec ./spec/rspec/core/example_spec.rb:154 # RSpec::Core::Example when there is an explicit description when RSpec.configuration.format_docstrings is set to a block formats the description using the block rspec ./spec/rspec/core/example_spec.rb:26 # RSpec::Core::Example human readable output prints a human readable description when inspected rspec ./spec/rspec/core/example_spec.rb:30 # RSpec::Core::Example human readable output prints a human readable description for #to_s rspec ./spec/rspec/core/example_spec.rb:120 # RSpec::Core::Example#exception supplies the exception raised, if there is one rspec ./spec/rspec/core/example_spec.rb:126 # RSpec::Core::Example#exception returns nil if there is no exception rspec ./spec/rspec/core/example_spec.rb:132 # RSpec::Core::Example#exception provides a `MultipleExceptionError` if there are multiple exceptions (e.g. from `it`, `around` and `after`) rspec ./spec/rspec/core/example_spec.rb:702 # RSpec::Core::Example#pending in before(:each) sets each example to pending rspec ./spec/rspec/core/example_spec.rb:712 # RSpec::Core::Example#pending in before(:each) sets example to pending when failure occurs in before(:each) rspec ./spec/rspec/core/example_spec.rb:769 # RSpec::Core::Example#pending in after(:each) sets each example to pending rspec ./spec/rspec/core/example_spec.rb:674 # RSpec::Core::Example#pending in the example allows post-example processing in around hooks (see https://github.com/rspec/rspec-core/issues/322) rspec ./spec/rspec/core/example_spec.rb:686 # RSpec::Core::Example#pending in the example sets the backtrace to the example definition so it can be located by the user rspec ./spec/rspec/core/example_spec.rb:667 # RSpec::Core::Example#pending in the example sets the example to pending rspec ./spec/rspec/core/example_spec.rb:751 # RSpec::Core::Example#pending in around(:each) sets the example to pending rspec ./spec/rspec/core/example_spec.rb:759 # RSpec::Core::Example#pending in around(:each) sets example to pending when failure occurs in around(:each) rspec ./spec/rspec/core/example_spec.rb:734 # RSpec::Core::Example#pending in before(:all) fails with an ArgumentError if a block is provided rspec ./spec/rspec/core/example_spec.rb:722 # RSpec::Core::Example#pending in before(:all) is forbidden rspec ./spec/rspec/core/example_spec.rb:175 # RSpec::Core::Example when there is no explicit description when RSpec.configuration.format_docstrings is set to a block formats the description using the block rspec ./spec/rspec/core/example_spec.rb:310 # RSpec::Core::Example when there is no explicit description when `expect_with :stdlib` is configured does not attempt to get the generated description from RSpec::Matchers when not loaded rspec ./spec/rspec/core/example_spec.rb:324 # RSpec::Core::Example when there is no explicit description when `expect_with :stdlib` is configured uses the file and line number rspec ./spec/rspec/core/example_spec.rb:285 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the file and line number if there is no matcher-generated description rspec ./spec/rspec/core/example_spec.rb:279 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the matcher-generated description rspec ./spec/rspec/core/example_spec.rb:291 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec, :stdlib` is configured uses the file and line number if there is an error before the matcher rspec ./spec/rspec/core/example_spec.rb:205 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the file and line number if there is an error before the matcher rspec ./spec/rspec/core/example_spec.rb:199 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the file and line number if there is no matcher-generated description rspec ./spec/rspec/core/example_spec.rb:193 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the matcher-generated description in the full description rspec ./spec/rspec/core/example_spec.rb:187 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured uses the matcher-generated description rspec ./spec/rspec/core/example_spec.rb:246 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when the matcher's `description` method raises an error allows the example to pass and surfaces the failing description in the example description rspec ./spec/rspec/core/example_spec.rb:219 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured if the example is pending uses the file and line number of the example if no matcher ran rspec ./spec/rspec/core/example_spec.rb:213 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured if the example is pending still uses the matcher-generated description if a matcher ran rspec ./spec/rspec/core/example_spec.rb:227 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when an `after(:example)` hook raises an error still assigns the description rspec ./spec/rspec/core/example_spec.rb:263 # RSpec::Core::Example when there is no explicit description when `expect_with :rspec` is configured when an `after(:example)` hook has an expectation assigns the description based on the example's last expectation, ignoring the `after` expectation since it can apply to many examples rspec ./spec/rspec/core/example_spec.rb:883 # RSpec::Core::Example setting the current example sets RSpec.current_example to the example that is currently running rspec ./spec/rspec/core/example_spec.rb:86 # RSpec::Core::Example#duplicate_with successfully duplicates an example rspec ./spec/rspec/core/example_spec.rb:838 # RSpec::Core::Example#skip in around(:each) sets the example to skipped rspec ./spec/rspec/core/example_spec.rb:826 # RSpec::Core::Example#skip in before(:all) sets each example to skipped rspec ./spec/rspec/core/example_spec.rb:814 # RSpec::Core::Example#skip in before(:each) sets each example to skipped rspec ./spec/rspec/core/example_spec.rb:791 # RSpec::Core::Example#skip in the example allows post-example processing in around hooks (see https://github.com/rspec/rspec-core/issues/322) rspec ./spec/rspec/core/example_spec.rb:784 # RSpec::Core::Example#skip in the example sets the example to skipped rspec ./spec/rspec/core/example_spec.rb:804 # RSpec::Core::Example#skip in the example with a message sets the example to skipped with the provided message rspec ./spec/rspec/core/example_spec.rb:909 # RSpec::Core::Example mock framework integration skips mock verification if the example has already failed rspec ./spec/rspec/core/example_spec.rb:924 # RSpec::Core::Example mock framework integration allows `after(:example)` hooks to satisfy mock expectations, since examples are not complete until their `after` hooks run rspec ./spec/rspec/core/example_spec.rb:896 # RSpec::Core::Example mock framework integration verifies mock expectations after each example rspec ./spec/rspec/core/example_spec.rb:387 # RSpec::Core::Example#run runs after(:each) when the example raises an Exception rspec ./spec/rspec/core/example_spec.rb:356 # RSpec::Core::Example#run generates a description before tearing down mocks in case a mock object is used in the description rspec ./spec/rspec/core/example_spec.rb:377 # RSpec::Core::Example#run runs after(:each) when the example fails rspec ./spec/rspec/core/example_spec.rb:367 # RSpec::Core::Example#run runs after(:each) when the example passes rspec ./spec/rspec/core/example_spec.rb:420 # RSpec::Core::Example#run wraps before/after(:each) inside around rspec ./spec/rspec/core/example_spec.rb:525 # RSpec::Core::Example#run with --dry-run does not execute any examples or hooks rspec ./spec/rspec/core/example_spec.rb:409 # RSpec::Core::Example#run with an after(:each) that raises stores the exception rspec ./spec/rspec/core/example_spec.rb:398 # RSpec::Core::Example#run with an after(:each) that raises runs subsequent after(:each)'s rspec ./spec/rspec/core/example_spec.rb:470 # RSpec::Core::Example#run memory leaks, see GH-321, GH-1921 releases references to the examples / their ivars rspec ./spec/rspec/core/example_spec.rb:496 # RSpec::Core::Example#run memory leaks, see GH-321, GH-1921 can still be referenced by user code afterwards rspec ./spec/rspec/core/example_spec.rb:60 # RSpec::Core::Example#update_inherited_metadata does not replace the existing metadata object with a new one or change its default proc rspec ./spec/rspec/core/example_spec.rb:68 # RSpec::Core::Example#update_inherited_metadata applies new metadata-based config items based on the update rspec ./spec/rspec/core/example_spec.rb[1:15:2:1] # RSpec::Core::Example reporting example_finished from a context hook fills in the execution result details before reporting a failed example as finished rspec ./spec/rspec/core/example_spec.rb[1:15:2:2] # RSpec::Core::Example reporting example_finished from a context hook fills in the execution result details before reporting a skipped example as finished rspec ./spec/rspec/core/example_spec.rb:616 # RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a passed example as finished rspec ./spec/rspec/core/example_spec.rb:629 # RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a pending example as finished rspec ./spec/rspec/core/example_spec.rb[1:15:1:3] # RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a failed example as finished rspec ./spec/rspec/core/example_spec.rb[1:15:1:4] # RSpec::Core::Example reporting example_finished from an example fills in the execution result details before reporting a skipped example as finished rspec ./spec/rspec/core/example_group_spec.rb:1905 # RSpec::Core::ExampleGroup prevents defining nested isolated contexts rspec ./spec/rspec/core/example_group_spec.rb:1914 # RSpec::Core::ExampleGroup prevents defining nested isolated shared contexts rspec ./spec/rspec/core/example_group_spec.rb:2023 # RSpec::Core::ExampleGroup allows adding examples rspec ./spec/rspec/core/example_group_spec.rb:2037 # RSpec::Core::ExampleGroup allows removing examples rspec ./spec/rspec/core/example_group_spec.rb:1888 # RSpec::Core::ExampleGroup minimizes the number of methods that users could inadvertantly overwrite rspec ./spec/rspec/core/example_group_spec.rb:42 # RSpec::Core::ExampleGroup surfaces NameError from an example for other missing APIs, like normal rspec ./spec/rspec/core/example_group_spec.rb:36 # RSpec::Core::ExampleGroup surfaces NameError from an example group for other missing APIs, like normal rspec ./spec/rspec/core/example_group_spec.rb:647 # RSpec::Core::ExampleGroup#metadata adds the the file_path to metadata rspec ./spec/rspec/core/example_group_spec.rb:651 # RSpec::Core::ExampleGroup#metadata has a reader for file_path rspec ./spec/rspec/core/example_group_spec.rb:655 # RSpec::Core::ExampleGroup#metadata adds the line_number to metadata rspec ./spec/rspec/core/example_group_spec.rb:643 # RSpec::Core::ExampleGroup#metadata adds the third parameter to the metadata rspec ./spec/rspec/core/example_group_spec.rb[1:42:1] # RSpec::Core::ExampleGroup.fcontext generates an example group that can be filtered with :focus rspec ./spec/rspec/core/example_group_spec.rb[1:41:1] # RSpec::Core::ExampleGroup.fdescribe generates an example group that can be filtered with :focus rspec ./spec/rspec/core/example_group_spec.rb[1:6:1] # RSpec::Core::ExampleGroup when calling `context`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1491 # RSpec::Core::ExampleGroup#run with all examples passing returns true rspec ./spec/rspec/core/example_group_spec.rb:1525 # RSpec::Core::ExampleGroup#run with nested example failing returns true rspec ./spec/rspec/core/example_group_spec.rb:1399 # RSpec::Core::ExampleGroup#run with `fail_fast` set to `nil` does not run abort due to failures rspec ./spec/rspec/core/example_group_spec.rb:1416 # RSpec::Core::ExampleGroup#run with fail_fast enabled does not run examples after the failed example rspec ./spec/rspec/core/example_group_spec.rb:1427 # RSpec::Core::ExampleGroup#run with fail_fast enabled sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) rspec ./spec/rspec/core/example_group_spec.rb:1463 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing at least 3 failures rspec ./spec/rspec/core/example_group_spec.rb:1440 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not run examples after 3 failed examples rspec ./spec/rspec/core/example_group_spec.rb:1453 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not set RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing less than 3 failures rspec ./spec/rspec/core/example_group_spec.rb:1508 # RSpec::Core::ExampleGroup#run with top level example failing returns false rspec ./spec/rspec/core/example_group_spec.rb:1115 # RSpec::Core::ExampleGroup skip with metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1110 # RSpec::Core::ExampleGroup skip with metadata generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1297 # RSpec::Core::ExampleGroup#run_examples returns false if any of the examples fail rspec ./spec/rspec/core/example_group_spec.rb:1306 # RSpec::Core::ExampleGroup#run_examples runs all examples, regardless of any of them failing rspec ./spec/rspec/core/example_group_spec.rb:1288 # RSpec::Core::ExampleGroup#run_examples returns true if all examples pass rspec ./spec/rspec/core/example_group_spec.rb:636 # RSpec::Core::ExampleGroup#description grabs the description from the metadata rspec ./spec/rspec/core/example_group_spec.rb[1:2:1] # RSpec::Core::ExampleGroup when calling `expect`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:38:2] # RSpec::Core::ExampleGroup.xexample sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:38:1] # RSpec::Core::ExampleGroup.xexample generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1559 # RSpec::Core::ExampleGroup#update_inherited_metadata overwrites metadata originating from a parent rspec ./spec/rspec/core/example_group_spec.rb:1597 # RSpec::Core::ExampleGroup#update_inherited_metadata applies new metadata-based config items based on the update rspec ./spec/rspec/core/example_group_spec.rb:1643 # RSpec::Core::ExampleGroup#update_inherited_metadata does not cause duplicate hooks to be added when re-configuring the group rspec ./spec/rspec/core/example_group_spec.rb:1571 # RSpec::Core::ExampleGroup#update_inherited_metadata does not replace the existing metadata object with a new one or change its default proc rspec ./spec/rspec/core/example_group_spec.rb[1:53:1] # RSpec::Core::ExampleGroup#include_context includes the named examples rspec ./spec/rspec/core/example_group_spec.rb[1:53:4] # RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb[1:53:9] # RSpec::Core::ExampleGroup#include_context evals the block when given rspec ./spec/rspec/core/example_group_spec.rb[1:53:3] # RSpec::Core::ExampleGroup#include_context raises a helpful error message when shared content is accessed recursively rspec ./spec/rspec/core/example_group_spec.rb[1:53:5] # RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb[1:53:6] # RSpec::Core::ExampleGroup#include_context passes parameters to the shared content rspec ./spec/rspec/core/example_group_spec.rb:1099 # RSpec::Core::ExampleGroup.skip sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1094 # RSpec::Core::ExampleGroup.skip generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1215 # RSpec::Core::ExampleGroup setting pending metadata in parent marks every example as pending rspec ./spec/rspec/core/example_group_spec.rb:263 # RSpec::Core::ExampleGroup ordering when tagged with a custom ordering uses the custom orderings rspec ./spec/rspec/core/example_group_spec.rb:242 # RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering falls back to the global ordering rspec ./spec/rspec/core/example_group_spec.rb:247 # RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering prints a warning so users are notified of their mistake rspec ./spec/rspec/core/example_group_spec.rb:204 # RSpec::Core::ExampleGroup ordering when tagged with `:order => :defined` orders the subgroups and examples in defined order regardless of global order rspec ./spec/rspec/core/example_group_spec.rb:616 # RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has the inner described class as the described_class of the inner group rspec ./spec/rspec/core/example_group_spec.rb:611 # RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has a `nil` described_class in the outer group rspec ./spec/rspec/core/example_group_spec.rb:543 # RSpec::Core::ExampleGroup#described_class with a constant in an outer group and metadata redefinition after `described_class` call is the redefined level constant rspec ./spec/rspec/core/example_group_spec.rb:529 # RSpec::Core::ExampleGroup#described_class with a constant in an outer group and a string in an inner group is the top level constant rspec ./spec/rspec/core/example_group_spec.rb:560 # RSpec::Core::ExampleGroup#described_class in a nested group inherits the described class/module from the outer group rspec ./spec/rspec/core/example_group_spec.rb:586 # RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class rspec ./spec/rspec/core/example_group_spec.rb:590 # RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class even when described_class is referenced in the outer group rspec ./spec/rspec/core/example_group_spec.rb:522 # RSpec::Core::ExampleGroup#described_class with a string as the first parameter is nil rspec ./spec/rspec/core/example_group_spec.rb:516 # RSpec::Core::ExampleGroup#described_class with a constant as the first parameter is that constant rspec ./spec/rspec/core/example_group_spec.rb[1:10:1] # RSpec::Core::ExampleGroup when calling `it_behaves_like`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1965 # RSpec::Core::ExampleGroup inspect output handles before context hooks rspec ./spec/rspec/core/example_group_spec.rb:1995 # RSpec::Core::ExampleGroup inspect output does not pollute an example's `inspect` output with the inspect ivar from `before(:context)` rspec ./spec/rspec/core/example_group_spec.rb:1980 # RSpec::Core::ExampleGroup inspect output handles after context hooks rspec ./spec/rspec/core/example_group_spec.rb:1930 # RSpec::Core::ExampleGroup inspect output when an example has a description includes description and location rspec ./spec/rspec/core/example_group_spec.rb:1948 # RSpec::Core::ExampleGroup inspect output when an example does not have a description includes fallback description rspec ./spec/rspec/core/example_group_spec.rb[1:52:4] # RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb[1:52:1] # RSpec::Core::ExampleGroup#include_examples includes the named examples rspec ./spec/rspec/core/example_group_spec.rb[1:52:6] # RSpec::Core::ExampleGroup#include_examples passes parameters to the shared content rspec ./spec/rspec/core/example_group_spec.rb[1:52:5] # RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb[1:52:9] # RSpec::Core::ExampleGroup#include_examples evals the block when given rspec ./spec/rspec/core/example_group_spec.rb[1:52:3] # RSpec::Core::ExampleGroup#include_examples raises a helpful error message when shared content is accessed recursively rspec ./spec/rspec/core/example_group_spec.rb[1:39:1] # RSpec::Core::ExampleGroup.xdescribe generates a pending example group rspec ./spec/rspec/core/example_group_spec.rb:969 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure for a spec in a nested group rspec ./spec/rspec/core/example_group_spec.rb:810 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the after alls in reverse order rspec ./spec/rspec/core/example_group_spec.rb:823 # RSpec::Core::ExampleGroup#before, after, and around hooks only runs before/after(:all) hooks from example groups that have specs that run rspec ./spec/rspec/core/example_group_spec.rb:784 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the before eachs in order rspec ./spec/rspec/core/example_group_spec.rb:797 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the after eachs in reverse order rspec ./spec/rspec/core/example_group_spec.rb:940 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure rspec ./spec/rspec/core/example_group_spec.rb:854 # RSpec::Core::ExampleGroup#before, after, and around hooks runs before_all_defined_in_config, before all, before each, example, after each, after all, after_all_defined_in_config in that order rspec ./spec/rspec/core/example_group_spec.rb:762 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the before alls in order rspec ./spec/rspec/core/example_group_spec.rb:951 # RSpec::Core::ExampleGroup#before, after, and around hooks exposes instance variables set in before(:all) from after(:all) even if a before(:all) error occurs rspec ./spec/rspec/core/example_group_spec.rb:931 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:each) as a failure rspec ./spec/rspec/core/example_group_spec.rb:775 # RSpec::Core::ExampleGroup#before, after, and around hooks does not set RSpec.world.wants_to_quit in case of an error in before all (without fail_fast?) rspec ./spec/rspec/core/example_group_spec.rb:1001 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook allows the example to pass rspec ./spec/rspec/core/example_group_spec.rb:1018 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook sets `world.non_example_failure` so the exit status will be non-zero rspec ./spec/rspec/core/example_group_spec.rb:1013 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook still runs both after blocks rspec ./spec/rspec/core/example_group_spec.rb:1007 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook rescues any error(s) and prints them out rspec ./spec/rspec/core/example_group_spec.rb:672 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for before-hooks rspec ./spec/rspec/core/example_group_spec.rb:705 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for after-hooks rspec ./spec/rspec/core/example_group_spec.rb:683 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for before-hooks rspec ./spec/rspec/core/example_group_spec.rb:694 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for after-hooks rspec ./spec/rspec/core/example_group_spec.rb:742 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during after(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:722 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during before(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:731 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? does not set currently_executing_a_context_hook? outside of before(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:752 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? unsets currently_executing_a_context_hook? after an after(:context) hook is done rspec ./spec/rspec/core/example_group_spec.rb:1126 # RSpec::Core::ExampleGroup skip with message in metadata generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1131 # RSpec::Core::ExampleGroup skip with message in metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:40:1] # RSpec::Core::ExampleGroup.xcontext generates a pending example group rspec ./spec/rspec/core/example_group_spec.rb[1:5:1] # RSpec::Core::ExampleGroup when calling `describe`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:36:1] # RSpec::Core::ExampleGroup.xit generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb[1:36:2] # RSpec::Core::ExampleGroup.xit sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:307 # RSpec::Core::ExampleGroup top level group runs its children rspec ./spec/rspec/core/example_group_spec.rb:322 # RSpec::Core::ExampleGroup top level group with a failure in the top level group runs its children rspec ./spec/rspec/core/example_group_spec.rb:342 # RSpec::Core::ExampleGroup top level group descendants returns self + all descendants rspec ./spec/rspec/core/example_group_spec.rb[1:7:1] # RSpec::Core::ExampleGroup when calling `let`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1080 # RSpec::Core::ExampleGroup pending with message in metadata generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1085 # RSpec::Core::ExampleGroup pending with message in metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:4:1] # RSpec::Core::ExampleGroup when calling `spy`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1243 # RSpec::Core::ExampleGroup adding examples exposes all examples at examples rspec ./spec/rspec/core/example_group_spec.rb:1237 # RSpec::Core::ExampleGroup adding examples allows adding an example using 'it' rspec ./spec/rspec/core/example_group_spec.rb:1251 # RSpec::Core::ExampleGroup adding examples maintains the example order rspec ./spec/rspec/core/example_group_spec.rb[1:8:1] # RSpec::Core::ExampleGroup when calling `before`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:3:1] # RSpec::Core::ExampleGroup when calling `double`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:132 # RSpec::Core::ExampleGroup constant naming does not warn when defining a Config example group (since RbConfig triggers warnings when Config is referenced) rspec ./spec/rspec/core/example_group_spec.rb:165 # RSpec::Core::ExampleGroup constant naming assigns the const before evaling the group so error messages include the name rspec ./spec/rspec/core/example_group_spec.rb[1:9:1] # RSpec::Core::ExampleGroup when calling `it`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1064 # RSpec::Core::ExampleGroup pending with metadata generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1069 # RSpec::Core::ExampleGroup pending with metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:37:1] # RSpec::Core::ExampleGroup.xspecify generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb[1:37:2] # RSpec::Core::ExampleGroup.xspecify sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1029 # RSpec::Core::ExampleGroup.pending generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1039 # RSpec::Core::ExampleGroup.pending sets the backtrace to the example definition so it can be located by the user rspec ./spec/rspec/core/example_group_spec.rb:1034 # RSpec::Core::ExampleGroup.pending sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1380 # RSpec::Core::ExampleGroup#top_level_description returns the description from the outermost example group rspec ./spec/rspec/core/example_group_spec.rb:1802 # RSpec::Core::ExampleGroup#it_should_behave_like passes parameters to the shared example group rspec ./spec/rspec/core/example_group_spec.rb:1859 # RSpec::Core::ExampleGroup#it_should_behave_like raises a helpful error message when shared context is not found rspec ./spec/rspec/core/example_group_spec.rb:1867 # RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb:1876 # RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb:1839 # RSpec::Core::ExampleGroup#it_should_behave_like given a block evaluates the block in nested group rspec ./spec/rspec/core/pending_example_spec.rb:97 # an example with no args is listed as pending with the default message rspec ./spec/rspec/core/pending_example_spec.rb:126 # an example with no args does not mutate the :pending attribute of the user metadata when the rest of the example passes rspec ./spec/rspec/core/pending_example_spec.rb:109 # an example with no args fails when the rest of the example passes rspec ./spec/rspec/core/pending_example_spec.rb:207 # an example with a block does not yield to the block rspec ./spec/rspec/core/pending_example_spec.rb:190 # an example with a block fails with an ArgumentError stating the syntax is deprecated rspec ./spec/rspec/core/pending_example_spec.rb:86 # an example with no block is listed as pending with 'Not yet implemented' rspec ./spec/rspec/core/pending_example_spec.rb:176 # an example with a message is listed as pending with the supplied message rspec ./spec/rspec/core/pending_example_spec.rb:158 # an example with no docstring after another example with some assertion does not show any message rspec ./spec/rspec/core/pending_example_spec.rb:141 # an example with no docstring declared with the pending method has an auto-generated description if it has an expectation rspec ./spec/rspec/core/pending_example_spec.rb:25 # an example declared pending with metadata passes if a mock expectation is not satisifed rspec ./spec/rspec/core/pending_example_spec.rb:38 # an example declared pending with metadata does not mutate the :pending attribute of the user metadata when handling mock expectation errors rspec ./spec/rspec/core/pending_example_spec.rb:3 # an example declared pending with metadata uses the value assigned to :pending as the message rspec ./spec/rspec/core/pending_example_spec.rb:14 # an example declared pending with metadata sets the message to 'No reason given' if :pending => true rspec ./spec/rspec/core/pending_example_spec.rb:60 # an example made pending with `define_derived_metadata` has a pending result if there is an error rspec ./spec/rspec/core/pending_example_spec.rb:72 # an example made pending with `define_derived_metadata` fails if there is no error rspec ./spec/rspec/core/pending_spec.rb:2 # RSpec::Core::Pending only defines methods that are part of the DSL rspec ./spec/rspec/core/filter_manager_spec.rb:239 # RSpec::Core::FilterManager#prune prefers description to exclusion filter rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:1:4] # RSpec::Core::FilterManager#prune location filtering skips examples in external files when included from a location filtered file rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:1:2] # RSpec::Core::FilterManager#prune location filtering prefers location on entire group to exclusion filter on a nested example rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:1:1] # RSpec::Core::FilterManager#prune location filtering prefers location filter to exclusion filter rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:1:3] # RSpec::Core::FilterManager#prune location filtering still applies inclusion filters to examples from files with no location filters rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:2:4] # RSpec::Core::FilterManager#prune id filtering skips examples in external files when included from a id filtered file rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:2:1] # RSpec::Core::FilterManager#prune id filtering prefers id filter to exclusion filter rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:2:3] # RSpec::Core::FilterManager#prune id filtering still applies inclusion filters to examples from files with no id filters rspec ./spec/rspec/core/filter_manager_spec.rb[1:7:2:2] # RSpec::Core::FilterManager#prune id filtering prefers id on entire group to exclusion filter on a nested example rspec ./spec/rspec/core/filter_manager_spec.rb:330 # RSpec::Core::FilterManager#prune with :id filters can work with relative paths that lack the leading `.` rspec ./spec/rspec/core/filter_manager_spec.rb:343 # RSpec::Core::FilterManager#prune with :id filters can select groups rspec ./spec/rspec/core/filter_manager_spec.rb:319 # RSpec::Core::FilterManager#prune with :id filters can work with absolute file paths rspec ./spec/rspec/core/filter_manager_spec.rb:355 # RSpec::Core::FilterManager#prune with :id filters uses the rerun file path when applying the id filter rspec ./spec/rspec/core/filter_manager_spec.rb:308 # RSpec::Core::FilterManager#prune with :id filters selects only the matched example when a single example id is given rspec ./spec/rspec/core/filter_manager_spec.rb:203 # RSpec::Core::FilterManager#prune with a location and an id filter takes the set union of matched examples rspec ./spec/rspec/core/filter_manager_spec.rb:295 # RSpec::Core::FilterManager#prune with multiple inclusion filters includes objects that match any of them rspec ./spec/rspec/core/filter_manager_spec.rb:221 # RSpec::Core::FilterManager#prune with examples from multiple spec source files applies exclusions only to examples defined in files with no location filters rspec ./spec/rspec/core/filter_manager_spec.rb:477 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter does not exclude a spec with { :unless => nil } metadata rspec ./spec/rspec/core/filter_manager_spec.rb:472 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter does not exclude a spec with { :unless => false } metadata rspec ./spec/rspec/core/filter_manager_spec.rb:482 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter continues to be an exclusion even if exclusions are cleared rspec ./spec/rspec/core/filter_manager_spec.rb:467 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :unless filter excludes a spec with { :unless => true } metadata rspec ./spec/rspec/core/filter_manager_spec.rb:449 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter excludes a spec with { :if => false } metadata rspec ./spec/rspec/core/filter_manager_spec.rb:444 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter does not exclude a spec with { :if => true } metadata rspec ./spec/rspec/core/filter_manager_spec.rb:459 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter continues to be an exclusion even if exclusions are cleared rspec ./spec/rspec/core/filter_manager_spec.rb:454 # RSpec::Core::FilterManager :if and :unless ExclusionFilters the default :if filter excludes a spec with { :if => nil } metadata rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:220 # RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and a path has been set loads the intersection of files matching the path and files with failures rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:225 # RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and a path has been set loads all files matching the path when there are no intersecting files rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:207 # RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and no explicit paths have been set loads only the files that have failures rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:212 # RSpec::Core::Configuration --only-failures support #files_to_run, when `only_failures` is set and no explicit paths have been set loads the default path if there are no files with failures rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:95 # RSpec::Core::Configuration --only-failures support #spec_files_with_failures when `example_status_persistence_file_path` is configured returns a memoized array of unique spec files that contain failed exaples rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:147 # RSpec::Core::Configuration --only-failures support #spec_files_with_failures when `example_status_persistence_file_path` is not configured returns a memoized blank array rspec ./spec/rspec/core/configuration/only_failures_support_spec.rb:127 # RSpec::Core::Configuration --only-failures support #spec_files_with_failures when the file at `example_status_persistence_file_path` has corrupted `status` values defaults invalid statuses to unknown Randomized with seed 57890 + ruby -rrubygems -Ilib/ -S exe/rspec --tag '~broken' /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/metadata.rb:172: warning: deprecated Object#=~ is called on Class; it always returns nil Run options: exclude {:ruby=>#, :broken=>true} Randomized with seed 52616 ..............................................................FFFFFFFFFF..........................................................................................F.FFFFFFFF........................................................................................................................................................................................................................FF....................................F...........................FFF.FFFFFF..FF......................F.F.FFFF...FF.......FFFFFFFFFFFFFF...FF.F.F....FF.......FFFF..FFF.FFFF.FFFFFFF...F..F.FFFFFF.FF.FFF....FFFFFFF.............*........FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.............FFFFFFFF.FFFFFFFFFFFFFFFFFFFFFF..FFFFFFFF...............FFF.......................................FFFF...FF.....FF..F..FF...FFFFFFFFFFFF...F..F.F..FFFFFFFFFFFFFFF.FF.FFFFFF....F.....................................FFFFFFF.F.F....FFFFFFFFFFFFFF.FFFFFF.FFFFFFFFFFFFFFFFFFFFFFFFFFF....FFFFFFFFFFFF.......F........................FFFF.......FFFFFFF..........................F............FFFF..FFF...............................F..............................FFFFF.FFF...........F.................................F.FF....FF........FFF.F.......F..FFFFFFF..FFF.FF...FFFFFFFF...........F.F.................FF..FF.F..F.......FFFF.F..FF............F...F......................F.F.......FF.FF..F..FFFF.................FFFFF.FFFFFFFFFFFFFFF.................................................................................FFFFFFFFFFFFFF..FFF.FFFFFFFFFFFFFFFF..FFFFFFFFFFFFFFF....F.F...FF.F.......FFFFFFFF.FFFFF....FFFFFFFFFFF.F..F.FFFFF.FFFFFFFFFFFFFFF..FFFFFFFF.FFFFFFFFFFF.FF.FF.FFFFFFFF...F..FF...FF..........................................F.F.FFFFFFFFFFFFFFFFF.FF.FFFFF..FFFF........FF.FFF.F............FFFF...FFF...........F........F..FFFFFFFF....FFFFFFF...F.F.FFFFF..F.........FFFFFF...........F.....FFFFFFFFF....................................................................................F.FFFFFFFFFFFFFFFF..F.....................F.......F...........F......F.F..F.F.F...F* Pending: (Failures listed here are expected and do not affect your suite's status) 1) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string # lib/mathn.rb is deprecated in Ruby 2.2 # ./spec/rspec/core/formatters/helpers_spec.rb:64 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually # lib/mathn.rb is deprecated in Ruby 2.2 # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 Failures: 1) RSpec::Core::Runner when run assigns submitted ConfigurationOptions to @options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 2) RSpec::Core::Runner when run configures streams before command line options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 3) RSpec::Core::Runner when run #run reports the expected example count accurately, even when subclasses filter example groups Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 4) RSpec::Core::Runner when run #run supports a test-queue like subclass that can perform setup once and run different sets of example groups multiple times Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 5) RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is not configured persists the status of all loaded examples Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 6) RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is configured persists the status of all loaded examples Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 7) RSpec::Core::Runner when run #run running files returns 2 if spec fails and --failure-exit-code is 2 Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 8) RSpec::Core::Runner when run #run running files returns 0 if spec passes Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 9) RSpec::Core::Runner when run #run running files returns 1 if spec fails Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 10) RSpec::Core::Runner when run #run with custom output doesn't override output_stream Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 11) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options for filter inclusion Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 12) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers project file options over global file options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 13) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers local file options over project file options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 14) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS merges global, local, SPEC_OPTS, and CLI Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 15) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 16) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS parses options file correctly if erb code has trimming options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 17) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS ignores file or dir names put in one of the option files or in SPEC_OPTS, since those are for persistent options Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 18) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file parses -e 'full spec description' Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 19) RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file ignores project and global options files Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 20) Configuration :suite hooks the runner runs :suite hooks before and after example groups in the correct order Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 21) Configuration :suite hooks the runner still runs :suite hooks with metadata even though the metadata is ignored Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 22) RSpec::Core::RakeTask sets the files to run in a consistent order, regardless of the underlying FileList ordering Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 23) RSpec::Core::RakeTask with a pattern value that matches no files runs nothing Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 24) RSpec::Core::RakeTask with a pattern value that is an absolute path file glob loads the matching spec files Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 25) RSpec::Core::RakeTask with a pattern value that is an existing file, not a file glob loads the spec file Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 26) RSpec::Core::RakeTask with a pattern value that is an existing directory, not a file glob loads the spec files in that directory Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 27) RSpec::Core::RakeTask with a pattern value that is a FileList loads the files from the FileList Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 28) RSpec::Core::RakeTask with a pattern value that is an array of existing files or directories, not a file glob loads the specified spec files, and spec files from the specified directories Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 29) RSpec::Core::RakeTask with a pattern value that is an array of globs relative to the current working dir loads spec files that match any of the globs Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 30) RSpec::Core::RakeTask with a pattern value that is a mixture of file globs and individual files or dirs loads all specified or matching files Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 31) RSpec::Core::RakeTask with a pattern value that is a single glob that starts with ./ loads the spec files that match the glob Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 32) RSpec::Core::RakeTask with SPEC env var set sets the files to run in a consistent order, regardless of the underlying FileList ordering Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 33) RSpec::Core::RakeTask with SPEC env var set sets files to run Failure/Error: Unable to read failed line RuntimeError: Warnings were generated: /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration_options.rb:171: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 34) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when backtrace will generate a security error is handled gracefully Failure/Error: Unable to read failed line expected no Exception, got # with backtrace: # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:483:in `block (5 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:482:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/formatters/exception_presenter_spec.rb:482:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 35) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a file that does not exist reports the filename and that it was unable to find the matching line Failure/Error: Unable to read failed line expected "Unable to read failed line" to include "Unable to find /builddir/build/BUILD/rspec-core-3.7.1/spec/rspec/core/formatters/exception_presenter_spec.rb/blah.rb to read failed line" # ./spec/rspec/core/formatters/exception_presenter_spec.rb:510:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 36) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the stacktrace includes relative paths (which can happen when using `rspec/autorun` and running files through `ruby`) still finds the backtrace line Failure/Error: Unable to read failed line expected "Unable to read failed line" to include "line = __LINE__" # ./spec/rspec/core/formatters/exception_presenter_spec.rb:520:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 37) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when String alias to_int to_i doesn't hang when file exists Failure/Error: Unable to read failed line expected: "let(:exception) { instance_double(Exception, :backtrace => [ \"\#{__FILE__}:\#{__LINE__}\"]) }" got: "Unable to read failed line" (compared using eql?) # ./spec/rspec/core/formatters/exception_presenter_spec.rb:540:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 38) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count exceeds RSpec.configuration.max_displayed_failure_line_count returns the lines without exceeding the max count Failure/Error: Unable to read failed line expected: [" expect('RSpec').to be_a(String).", " and start_with('R')."] got: ["Unable to read failed line"] (compared using ==) # ./spec/rspec/core/formatters/exception_presenter_spec.rb:455:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 39) RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count returns all the lines Failure/Error: Unable to read failed line expected: [" expect('RSpec').to be_a(String).", " and start_with('R').", " and end_with('z')"] got: ["Unable to read failed line"] (compared using ==) # ./spec/rspec/core/formatters/exception_presenter_spec.rb:440:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 40) RSpec::Core::SharedExampleGroup shared_context works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 41) RSpec::Core::SharedExampleGroup shared_context generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 42) RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 43) RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 44) RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 45) RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 46) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 47) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 48) RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 49) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 50) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 51) RSpec::Core::SharedExampleGroup shared_context when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 52) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 53) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 54) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 55) RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 56) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 57) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 58) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 59) RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 60) RSpec::Core::SharedExampleGroup shared_examples_for generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 61) RSpec::Core::SharedExampleGroup shared_examples_for works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 62) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 63) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 64) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 65) RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 66) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 67) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 68) RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 69) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 70) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 71) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 72) RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 73) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 74) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 75) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 76) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 77) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 78) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 79) RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 80) RSpec::Core::SharedExampleGroup shared_examples generates a named (rather than anonymous) module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 81) RSpec::Core::SharedExampleGroup shared_examples works with top level defined examples in modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:116:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 82) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in a parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:426:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 83) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:412:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 84) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a nested example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:402:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 85) RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:392:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 86) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:262:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 87) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/shared_example_group_spec.rb:223:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 88) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:281:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 89) RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/shared_example_group_spec.rb:245:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 90) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:306:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 91) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:375:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 92) RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:343:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 93) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion within that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:450:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 94) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group trumps a shared group with the same name defined at the top level Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:492:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 95) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:468:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 96) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in the including context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:502:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 97) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:518:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 98) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion in a child group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:460:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 99) RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a nested group of a different top level group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_example_group_spec.rb:440:in `block (5 levels) in ' # ./spec/rspec/core/shared_example_group_spec.rb:478:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 100) RSpec::Core::DRbOptions DRB args includes --no-color Got 0 failures and 2 other errors: 100.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 100.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 101) RSpec::Core::DRbOptions DRB args includes --order Got 0 failures and 2 other errors: 101.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:146:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 101.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 102) RSpec::Core::DRbOptions DRB args includes --force-color Got 0 failures and 2 other errors: 102.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 102.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 103) RSpec::Core::DRbOptions DRB args includes --backtrace Got 0 failures and 2 other errors: 103.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 103.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 104) RSpec::Core::DRbOptions DRB args includes --fail-fast Got 0 failures and 2 other errors: 104.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 104.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 105) RSpec::Core::DRbOptions DRB args includes --color Got 0 failures and 2 other errors: 105.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 105.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 106) RSpec::Core::DRbOptions DRB args includes --failure-exit-code Got 0 failures and 2 other errors: 106.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:138:in `block (3 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 106.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 107) RSpec::Core::DRbOptions DRB args preserves extra arguments Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 108) RSpec::Core::DRbOptions DRB args includes --options Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 109) RSpec::Core::DRbOptions DRB args includes --profile Got 0 failures and 2 other errors: 109.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 109.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 110) RSpec::Core::DRbOptions DRB args includes --tty Got 0 failures and 2 other errors: 110.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:133:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 110.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 111) RSpec::Core::DRbOptions DRB args with -I libs includes -I Got 0 failures and 2 other errors: 111.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:224:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 111.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 112) RSpec::Core::DRbOptions DRB args with -I libs includes multiple paths Got 0 failures and 2 other errors: 112.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:228:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 112.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 113) RSpec::Core::DRbOptions DRB args with --require includes multiple paths Got 0 failures and 2 other errors: 113.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:239:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 113.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 114) RSpec::Core::DRbOptions DRB args with --require includes --require Got 0 failures and 2 other errors: 114.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:235:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 114.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 115) RSpec::Core::DRbOptions DRB args --drb specified in ARGV renders all the original arguments except --drb Got 0 failures and 2 other errors: 115.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:246:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 115.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 116) RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags Got 0 failures and 2 other errors: 116.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:161:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 116.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 117) RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags intact Got 0 failures and 2 other errors: 117.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:169:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 117.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 118) RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags with values intact Got 0 failures and 2 other errors: 118.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:174:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 118.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 119) RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags intact Got 0 failures and 2 other errors: 119.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:187:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 119.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 120) RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags with values Got 0 failures and 2 other errors: 120.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:165:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 120.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 121) RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags with values Got 0 failures and 2 other errors: 121.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:183:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 121.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 122) RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags with values intact Got 0 failures and 2 other errors: 122.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:122:in `drb_filter_manager_for' # ./spec/rspec/core/drb_spec.rb:192:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 122.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 123) RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags Got 0 failures and 2 other errors: 123.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:179:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 123.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 124) RSpec::Core::DRbOptions DRB args --drb specified in ARGV and in as ARGV-specified --options file renders all the original arguments except --drb and --options Got 0 failures and 2 other errors: 124.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:273:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 124.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 125) RSpec::Core::DRbOptions DRB args --drb specified in the options file renders all the original arguments except --drb Got 0 failures and 2 other errors: 125.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:257:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 125.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 126) RSpec::Core::DRbOptions DRB args with --out combines with formatters Got 0 failures and 2 other errors: 126.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:217:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 126.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 127) RSpec::Core::DRbOptions DRB args with --example includes --example Got 0 failures and 2 other errors: 127.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:151:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 127.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 128) RSpec::Core::DRbOptions DRB args with --example unescapes characters which were escaped upon storing --example originally Got 0 failures and 2 other errors: 128.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:155:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 128.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 129) RSpec::Core::DRbOptions DRB args with formatters leaves formatters intact Got 0 failures and 2 other errors: 129.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:203:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 129.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 130) RSpec::Core::DRbOptions DRB args with formatters includes the formatters Got 0 failures and 2 other errors: 130.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:199:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 130.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 131) RSpec::Core::DRbOptions DRB args with formatters leaves output intact Got 0 failures and 2 other errors: 131.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:209:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 131.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 132) RSpec::Core::DRbOptions DRB args --drb, -X does not send --drb back to the parser after parsing options Got 0 failures and 2 other errors: 132.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:280:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 132.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 133) RSpec::Core::DRbOptions DRB args --drb specified in ARGV and the options file renders all the original arguments except --drb Got 0 failures and 2 other errors: 133.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/config_options_helper.rb:7:in `new' # ./spec/support/config_options_helper.rb:7:in `config_options_object' # ./spec/rspec/core/drb_spec.rb:116:in `drb_argv_for' # ./spec/rspec/core/drb_spec.rb:265:in `block (4 levels) in ' # ./spec/spec_helper.rb:57:in `without_env_vars' # ./spec/support/config_options_helper.rb:4:in `block in ' # ./spec/support/isolated_home_directory.rb:10:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 133.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - []= # ./spec/support/isolated_home_directory.rb:12:in `[]=' # ./spec/support/isolated_home_directory.rb:12:in `ensure in block (3 levels) in ' # ./spec/support/isolated_home_directory.rb:12:in `block (3 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/isolated_home_directory.rb:6:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - replace # ./spec/spec_helper.rb:59:in `replace' 134) RSpec::Core::Bisect::Runner#original_results returns the run results Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:257:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:295:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 135) RSpec::Core::Bisect::Runner#original_results runs the suite with the original CLI options Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:257:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:264:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:230:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:263:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 136) RSpec::Core::Bisect::Runner#original_results memoizes, since it is expensive to re-run the suite Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:257:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:299:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 137) RSpec::Core::Bisect::Runner#original_results when --bisect=verbose is present in SPEC_OPTS runs the suite with --bisect removed from the environment Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:284:in `block (5 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:230:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:283:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:257:in `block (4 levels) in ' 138) RSpec::Core::Bisect::Runner#original_results when --bisect is present in SPEC_OPTS runs the suite with --bisect removed from the environment Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:271:in `block (5 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:230:in `block (4 levels) in ' # ./spec/rspec/core/bisect/runner_spec.rb:270:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:257:in `block (4 levels) in ' 139) RSpec::Core::Bisect::Runner#command_for escapes the load path entries Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:144:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 140) RSpec::Core::Bisect::Runner#command_for includes the path to the rspec executable after the ruby executable Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:119:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 141) RSpec::Core::Bisect::Runner#command_for uses the bisect formatter Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:83:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 142) RSpec::Core::Bisect::Runner#command_for includes an option for the server's DRB port Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:63:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 143) RSpec::Core::Bisect::Runner#command_for ignores a `--bisect=verbose` option since that would infinitely recurse Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:77:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 144) RSpec::Core::Bisect::Runner#command_for includes the original CLI arg options Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:44:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 145) RSpec::Core::Bisect::Runner#command_for ignores an existing --drb-port option (since we use the server's port instead) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:69:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 146) RSpec::Core::Bisect::Runner#command_for includes the current load path as an option to `ruby`, not as an option to `rspec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:135:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 147) RSpec::Core::Bisect::Runner#command_for replaces the locations from the original CLI args with the provided locations Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:49:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 148) RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:88:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:102:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 149) RSpec::Core::Bisect::Runner#command_for starts with the path to the current ruby executable Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:111:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 150) RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:88:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 151) RSpec::Core::Bisect::Runner#command_for excludes any --format and matching --out options passed in the original args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:88:in `expect_formatters_to_be_excluded' # ./spec/rspec/core/bisect/runner_spec.rb:97:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 152) RSpec::Core::Bisect::Runner#command_for ignores a `--bisect` option since that would infinitely recurse Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:77:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 153) RSpec::Core::Bisect::Runner#command_for escapes locations Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:54:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 154) RSpec::Core::Bisect::Runner#command_for ignores a `--bisect=blah` option since that would infinitely recurse Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:36:in `command_for' # ./spec/rspec/core/bisect/runner_spec.rb:77:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 155) RSpec::Core::Bisect::Runner#repro_command_from does not include `--bisect` even though the original args do Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 156) RSpec::Core::Bisect::Runner#repro_command_from starts with `rspec #{example_ids}` Got 1 failure and 1 other error: 156.1) Failure/Error: Unable to read failed line expected "SPEC_OPTS=\"--fail-fast\" rspec ./spec/unit/1_spec.rb[1:1] ./spec/unit/2_spec.rb[1:1] --seed 1234" to start with "rspec ./spec/unit/1_spec.rb[1:1] ./spec/unit/2_spec.rb[1:1]" # ./spec/rspec/core/bisect/runner_spec.rb:162:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 156.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 157) RSpec::Core::Bisect::Runner#repro_command_from includes the original CLI args but excludes the original CLI locations Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 158) RSpec::Core::Bisect::Runner#repro_command_from includes original options that `command_for` excludes Got 0 failures and 2 other errors: 158.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/bisect/runner_spec.rb:179:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 158.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 159) RSpec::Core::Bisect::Runner#repro_command_from prints the files in alphabetical order Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 160) RSpec::Core::Bisect::Runner#repro_command_from prints ids from the same file in sequential order Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 161) RSpec::Core::Bisect::Runner#repro_command_from groups multiple ids for the same file together Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 162) RSpec::Core::Bisect::Runner#repro_command_from quotes the ids on a shell like ZSH that requires it Got 0 failures and 2 other errors: 162.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:211:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 162.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 163) RSpec::Core::Bisect::Runner#repro_command_from includes the original SPEC_OPTS but excludes the --bisect flag Got 0 failures and 2 other errors: 163.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/bisect/runner_spec.rb:171:in `block (3 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 163.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 164) Example status persisting can load a previously persisted set of example statuses from disk Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:16:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 165) Example status persisting persisting example statuses includes the spec run times so users can use it for their own purposes Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:109:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 166) Example status persisting persisting example statuses creates any necessary intermediary directories Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:53:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 167) Example status persisting persisting example statuses persists a loaded but unexecuted example with an unknown status Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:118:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 168) Example status persisting persisting example statuses writes the given example statuses to disk Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:40:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 169) Example status persisting persisting example statuses prevents simultaneous access to the file Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:80:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 170) Example status persisting persisting example statuses merges the example statuses with the existing records in the named file Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:95:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 171) Example status persisting persisting example statuses persists a skipped example properly Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/example_status_persister_spec.rb:131:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 172) RSpec::Core::BacktraceFormatter#backtrace_line deals gracefully with a security error Failure/Error: Unable to read failed line expected: 0 got: 1 (compared using eql?) # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/backtrace_formatter_spec.rb:249:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 173) RSpec::Core::BacktraceFormatter#backtrace_line preserves the original line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/backtrace_formatter_spec.rb:242:in `expand_path' # ./spec/rspec/core/backtrace_formatter_spec.rb:242:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 174) RSpec::Core::BacktraceFormatter#backtrace_line trims current working directory Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/backtrace_formatter_spec.rb:238:in `expand_path' # ./spec/rspec/core/backtrace_formatter_spec.rb:238:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 175) RSpec::Core::Hooks lambda can be used as a hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:479:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 176) RSpec::Core::Hooks prepend_before(each) adds to the front of the list of before(:each) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:364:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 177) RSpec::Core::Hooks#after(context) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 178) RSpec::Core::Hooks#after(:example) yields the example as an argument to the hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:139:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 179) RSpec::Core::Hooks#before(suite) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 180) RSpec::Core::Hooks#after(example) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 181) RSpec::Core::Hooks#after(suite) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:69:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:68:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 182) RSpec::Core::Hooks append_before(all) adds to the back of the list of before(:all) hooks (same as `before`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:393:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 183) RSpec::Core::Hooks#before(example) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 184) RSpec::Core::Hooks prepend_after(each) adds to the front of the list of after(:each) hooks (same as `after`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:419:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 185) RSpec::Core::Hooks append_before(each) adds to the back of the list of before(:each) hooks (same as `before`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:393:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 186) RSpec::Core::Hooks append_after(all) adds to the back of the list of after(:all) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:446:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 187) RSpec::Core::Hooks#around considers the hook to have run when passed as a block to a method that yields Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:205:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 188) RSpec::Core::Hooks#around does not consider the hook to have run when passed as a block to a method that does not yield Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:220:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 189) RSpec::Core::Hooks#around when running the example within a block passed to a method runs the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:335:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 190) RSpec::Core::Hooks#around when running the example within the around block exposes example metadata to each around hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:263:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 191) RSpec::Core::Hooks#around when running the example within the around block runs the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:249:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 192) RSpec::Core::Hooks#around when running the example within the around block exposes the full example interface to each around hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:285:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 193) RSpec::Core::Hooks#around when running the example within the around block exposes a sensible inspect value Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:318:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 194) RSpec::Core::Hooks#around when it does not run the example indicates which around hook did not run the example in the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 195) RSpec::Core::Hooks#around when it does not run the example for a hook declared in config converts the example to a skipped example so the user is made aware of it Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:168:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 196) RSpec::Core::Hooks#around when it does not run the example for a hook declared in the group converts the example to a skipped example so the user is made aware of it Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:153:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 197) RSpec::Core::Hooks#around when not running the example within the around block does not run the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:234:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 198) RSpec::Core::Hooks prepend_before(all) adds to the front of the list of before(:all) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:364:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 199) RSpec::Core::Hooks prepend_after(all) adds to the front of the list of after(:all) hooks (same as `after`) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:419:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 200) RSpec::Core::Hooks#before(:example) yields the example as an argument to the hook Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:139:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 201) RSpec::Core::Hooks#before(context) stops running subsequent hooks of the same type when an error is encountered Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:41:in `block (5 levels) in ' # ./spec/rspec/core/hooks_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 202) RSpec::Core::Hooks append_after(each) adds to the back of the list of after(:each) hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/hooks_spec.rb:446:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 203) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group doesn't profile a single example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 204) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 205) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 206) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 207) RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the percentage taken from the total runtime Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:49 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:40:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 208) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the slowest example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 209) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 210) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups ranks the example groups by average time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 211) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the location of the slow groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 212) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 213) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 214) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the percentage taken from the total runtime Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 215) RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path Shared Example Group: "profiles examples" called from ./spec/rspec/core/formatters/profile_formatter_spec.rb:75 # ./spec/rspec/core/formatters/profile_formatter_spec.rb:61:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 216) RSpec::Core::Metadata RESERVED_KEYS contains all keys assigned by RSpec (and vice versa) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:40:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 217) RSpec::Core::Metadata :file_path finds the first non-rspec lib file in the caller array Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:656:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 218) RSpec::Core::Metadata :line_number uses the number after the first : for ruby 1.9 Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:669:in `value_for' # ./spec/rspec/core/metadata_spec.rb:685:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 219) RSpec::Core::Metadata :line_number finds the line number with the first non-rspec lib file in the backtrace Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:669:in `value_for' # ./spec/rspec/core/metadata_spec.rb:677:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 220) RSpec::Core::Metadata :described_class in a nested group inherits the parent group's described class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:428:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 221) RSpec::Core::Metadata :described_class in a nested group sets the described class when passing a class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:440:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 222) RSpec::Core::Metadata :described_class in a nested group can override a parent group's described class using metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:464:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 223) RSpec::Core::Metadata :described_class in a nested group does not override the :described_class when passing no describe args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:452:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 224) RSpec::Core::Metadata child example group nests the parent's example group metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:693:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 225) RSpec::Core::Metadata.relative_path gracefully returns nil if run in a secure thread Failure/Error: Unable to read failed line expected: 0 got: 1 (compared using eql?) # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/metadata_spec.rb:21:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 226) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that generates a nested group contains a stack frame for each inclusion, in the same order as ruby backtraces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:369:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 227) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that generates a nested group is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:344:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 228) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example not generated by a shared group is a blank array Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:308:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 229) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that adds the examples directly to the host group is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:344:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 230) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that adds the examples directly to the host group contains a stack frame for each inclusion, in the same order as ruby backtraces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:369:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 231) RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group included via metadata is an array containing an object with shared group name and inclusion location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:322:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 232) RSpec::Core::Metadata for an example group does not include example specific keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:163:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 233) RSpec::Core::Metadata :id on an example defined in a shared group defined in a separate file uses the host group's file name as the prefix Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:290:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 234) RSpec::Core::Metadata :full_description concats nested example group descriptions Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:576:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 235) RSpec::Core::Metadata :full_description omits description from groups with a description of `''` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:566:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 236) RSpec::Core::Metadata :full_description omits description from groups with a `nil` description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:556:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 237) RSpec::Core::Metadata :full_description concats nested example group descriptions three deep Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:590:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 238) RSpec::Core::Metadata :full_description with a description starting with :: nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 239) RSpec::Core::Metadata :full_description with a 2nd arg starting with # removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 240) RSpec::Core::Metadata :full_description with a description starting with :: nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 241) RSpec::Core::Metadata :full_description on an example concats example group name and description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:545:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 242) RSpec::Core::Metadata :full_description with a description starting with # nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 243) RSpec::Core::Metadata :full_description with a description starting with . nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 244) RSpec::Core::Metadata :full_description with a description starting with # nested under a context string does not remove the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:638:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 245) RSpec::Core::Metadata :full_description with a 2nd arg starting with . removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 246) RSpec::Core::Metadata :full_description with a description starting with . nested under a module removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:624:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 247) RSpec::Core::Metadata :full_description with a 2nd arg starting with :: removes the space Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:612:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 248) RSpec::Core::Metadata backwards compatibility :example_group_block issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:845:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 249) RSpec::Core::Metadata backwards compatibility :example_group_block returns the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:836:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 250) RSpec::Core::Metadata backwards compatibility :example_group can still be filtered via a nested key under [:example_group] as before Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:820:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 251) RSpec::Core::Metadata backwards compatibility :example_group issues a deprecation warning when the `:example_group` key is accessed Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:713:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 252) RSpec::Core::Metadata backwards compatibility :example_group allows integration libraries like VCR to infer a fixture name from the example description by walking up nesting structure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:793:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 253) RSpec::Core::Metadata backwards compatibility :example_group can access the parent example group attributes via [:example_group][:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:735:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 254) RSpec::Core::Metadata backwards compatibility :example_group works properly with shallow nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:767:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 255) RSpec::Core::Metadata backwards compatibility :example_group can still access the example group attributes via [:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:726:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 256) RSpec::Core::Metadata backwards compatibility :example_group can mutate attributes when accessing them via [:example_group] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:805:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 257) RSpec::Core::Metadata backwards compatibility :example_group works properly with deep nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:749:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 258) RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash returns the described_class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:875:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 259) RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:884:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 260) RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash issues a deprecation warning Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:865:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 261) RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash returns the described_class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:856:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 262) RSpec::Core::Metadata :description on a group with a non-string and a string concats the args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:522:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 263) RSpec::Core::Metadata :description on a group with empty args returns empty string for [:description] Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:534:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 264) RSpec::Core::Metadata :description on a group with a string and a non-string concats the args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:528:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 265) RSpec::Core::Metadata :description on a group with a string provides the submitted description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:510:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 266) RSpec::Core::Metadata :description on a group with a non-string provides the string form of the submitted object Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:501:in `group_value_for' # ./spec/rspec/core/metadata_spec.rb:516:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 267) RSpec::Core::Metadata :description on a example just has the example description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:489:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 268) RSpec::Core::Metadata :block for example group metadata contains the example group block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:181:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 269) RSpec::Core::Metadata :block for example metadata contains the example block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 270) RSpec::Core::Metadata for an example stores the description args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:93:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 271) RSpec::Core::Metadata for an example extracts line number from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:113:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 272) RSpec::Core::Metadata for an example extracts location from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:117:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 273) RSpec::Core::Metadata for an example extracts file path from caller Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:109:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 274) RSpec::Core::Metadata for an example merges arbitrary options Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:126:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 275) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:132:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 276) RSpec::Core::Metadata for an example ignores nil description args Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:97:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 277) RSpec::Core::Metadata for an example stores the full_description (group description + example description) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:101:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 278) RSpec::Core::Metadata for an example does not include example-group specific keys Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:147:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 279) RSpec::Core::Metadata for an example creates an empty execution result Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:105:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 280) RSpec::Core::Metadata for an example uses :caller if passed as an option Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_spec.rb:77:in `metadata_for' # ./spec/rspec/core/metadata_spec.rb:121:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 281) RSpec::Core::ProjectInitializer#run with a target directory with no .rspec file generates a .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:88:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 282) RSpec::Core::ProjectInitializer#run with a target directory with no spec/spec_helper.rb file generates a spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:104:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 283) RSpec::Core::ProjectInitializer#run with a target directory with a spec/spec_helper.rb file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:115:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 284) RSpec::Core::ProjectInitializer#run with a target directory with a .rspec file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:79:in `new' # ./spec/rspec/core/project_initializer_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:97:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 285) RSpec::Core::ProjectInitializer#run with no args with a .rspec file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:37:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 286) RSpec::Core::ProjectInitializer#run with no args with a .rspec file says .rspec exists Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:29:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:29:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 287) RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file says it's creating spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:44:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:44:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 288) RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file generates a spec/spec_helper.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:51:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 289) RSpec::Core::ProjectInitializer#run with no args with no .rspec file generates a .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:21:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 290) RSpec::Core::ProjectInitializer#run with no args with no .rspec file says it's creating .rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:14:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:14:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 291) RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file doesn't create a new one Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:70:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 292) RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file says spec/spec_helper.rb exists Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/project_initializer_spec.rb:8:in `new' # ./spec/rspec/core/project_initializer_spec.rb:8:in `block (4 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:61:in `block (6 levels) in ' # ./spec/rspec/core/project_initializer_spec.rb:61:in `block (5 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 293) RSpec::Core::Formatters::DeprecationFormatter#deprecation_summary with a File deprecation_stream does not print duplicate messages Failure/Error: Unable to read failed line SecurityError: Insecure operation - read # ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:111:in `read' # ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:111:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 294) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter receives suite results Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:63:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:62:in `block (3 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 295) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure is pending instead, even when there are remaining failing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:144:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:143:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 296) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure passes instead, even when there are remaining failing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:123:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:122:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 297) RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts as soon as the last expected failure finishes, since we don't care about what happens after that Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/rspec/core/bisect/server_spec.rb:58:in `run_formatter_specs' # ./spec/rspec/core/bisect/server_spec.rb:99:in `block (5 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:98:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:52:in `block (4 levels) in ' # ./spec/rspec/core/bisect/server_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 298) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a proc that evaluates to true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:211:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 299) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a string Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 300) RSpec::Core::MetadataFilter.filter_applies? with an Array matches when a metadata key is specified without a value and exists in the metadata hash Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:219:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 301) RSpec::Core::MetadataFilter.filter_applies? with an Array does not match a proc that evaluates to false Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:215:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 302) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a symbol Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:187:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 303) RSpec::Core::MetadataFilter.filter_applies? with an Array matches a regexp Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:205:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 304) RSpec::Core::MetadataFilter.filter_applies? with an Array matches an integer Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/metadata_filter_spec.rb:180:in `block (4 levels) in ' # ./spec/rspec/core/metadata_filter_spec.rb:199:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 305) RSpec::Core::Configuration allows file names with brackets Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/matchers.rb:102:in `expand_path' # ./spec/support/matchers.rb:102:in `block (3 levels) in ' # ./spec/support/matchers.rb:102:in `map' # ./spec/support/matchers.rb:102:in `block (2 levels) in ' # ./spec/rspec/core/configuration_spec.rb:852:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 306) RSpec::Core::Configuration#exclude_pattern after `files_to_run` has been accessed but before files have been loaded still takes affect Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:797:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:797:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 307) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:756:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:756:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 308) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values with spaces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:764:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:764:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 309) RSpec::Core::Configuration#exclude_pattern with multiple patterns supports curly braces glob syntax Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:772:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:772:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 310) RSpec::Core::Configuration#exclude_pattern with single pattern does not load files in directories following exclude pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:732:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:732:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 311) RSpec::Core::Configuration#exclude_pattern with single pattern loads files in directories not following exclude pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:738:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:738:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 312) RSpec::Core::Configuration#exclude_pattern with single pattern ignores exclude_pattern if files are specified Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:745:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:745:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 313) RSpec::Core::Configuration#expose_current_running_example_as exposes the current example via the named method Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2550:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 314) RSpec::Core::Configuration#when_first_matching_example_defined does not fire when later matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1918:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 315) RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if groups match the metadata but no examples do Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1950:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 316) RSpec::Core::Configuration#when_first_matching_example_defined still runs after the first matching example even if there is a group that matches earlier Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1966:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 317) RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if no matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1936:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 318) RSpec::Core::Configuration#when_first_matching_example_defined runs the block when the first matching example is defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1902:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 319) RSpec::Core::Configuration#when_first_matching_example_defined when the value of the registered metadata is a Proc does not fire when later matching examples are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2004:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 320) RSpec::Core::Configuration#when_first_matching_example_defined when a group is defined with matching metadata runs the callback after the first example in the group is defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1987:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 321) RSpec::Core::Configuration#when_first_matching_example_defined when a matching example group with other registered metadata has been defined does not fire when later matching examples with the other metadata are defined Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2028:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 322) RSpec::Core::Configuration#mock_framework when rspec-mocks is not installed gracefully falls back to :nothing Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:194:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # LoadError: # LoadError # ./spec/rspec/core/configuration_spec.rb:194:in `block (4 levels) in ' 323) RSpec::Core::Configuration#disable_monkey_patching! stops using should syntax for mocks Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2601:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2599:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 324) RSpec::Core::Configuration#disable_monkey_patching! when user did not configure expectation framework disables monkey patching after example groups being configured Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2656:in `block (6 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2655:in `block (5 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2646:in `block in emulate_not_configured_expectation_framework' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2641:in `emulate_not_configured_expectation_framework' # ./spec/rspec/core/configuration_spec.rb:2651:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 325) RSpec::Core::Configuration#disable_monkey_patching! when user did not configure mock framework disables monkey patching after example groups being configured Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:2633:in `block (6 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2632:in `block (5 levels) in ' # ./spec/rspec/core/configuration_spec.rb:2623:in `block in emulate_not_configured_mock_framework' # ./spec/rspec/core/configuration_spec.rb:2575:in `block in in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2569:in `in_fully_monkey_patched_rspec_environment' # ./spec/rspec/core/configuration_spec.rb:2618:in `emulate_not_configured_mock_framework' # ./spec/rspec/core/configuration_spec.rb:2628:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 326) RSpec::Core::Configuration#requires= adds the configured `default_path` to the load path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:133:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:133:in `absolute_path_to' # ./spec/rspec/core/configuration_spec.rb:147:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 327) RSpec::Core::Configuration#requires= adds `lib` to the load path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:133:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:133:in `absolute_path_to' # ./spec/rspec/core/configuration_spec.rb:137:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 328) RSpec::Core::Configuration#define_derived_metadata registers examples before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1832:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 329) RSpec::Core::Configuration#define_derived_metadata derives metadata before the group or example blocks are eval'd so their logic can depend on the derived metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1786:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 330) RSpec::Core::Configuration#define_derived_metadata registers top-level groups before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1802:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 331) RSpec::Core::Configuration#define_derived_metadata registers nested groups before invoking the callback so the logic can configure already registered groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1816:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 332) RSpec::Core::Configuration#files_to_run supports relative path patterns for an alternate directory from `spec` Failure/Error: Unable to read failed line SecurityError: Insecure operation - directory? # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:473:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:471:in `chdir' # ./spec/rspec/core/configuration_spec.rb:471:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 333) RSpec::Core::Configuration#files_to_run attempts to load the provided file names Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/matchers.rb:102:in `expand_path' # ./spec/support/matchers.rb:102:in `block (3 levels) in ' # ./spec/support/matchers.rb:102:in `map' # ./spec/support/matchers.rb:102:in `block (2 levels) in ' # ./spec/rspec/core/configuration_spec.rb:503:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 334) RSpec::Core::Configuration#files_to_run reloads when `files_or_directories_to_run` is reassigned Failure/Error: Unable to read failed line SecurityError: Insecure operation - directory? # ./spec/rspec/core/configuration_spec.rb:497:in `block (4 levels) in ' # ./spec/rspec/core/configuration_spec.rb:495:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 335) RSpec::Core::Configuration#files_to_run loads files not following pattern if named explicitly Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/support/matchers.rb:102:in `expand_path' # ./spec/support/matchers.rb:102:in `block (3 levels) in ' # ./spec/support/matchers.rb:102:in `map' # ./spec/support/matchers.rb:102:in `block (2 levels) in ' # ./spec/rspec/core/configuration_spec.rb:436:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 336) RSpec::Core::Configuration#files_to_run supports absolute path patterns Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:460:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:460:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 337) RSpec::Core::Configuration#files_to_run prevents repetition of dir when start of the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:441:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 338) RSpec::Core::Configuration#files_to_run supports patterns starting with ./ Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:453:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 339) RSpec::Core::Configuration#files_to_run does not prevent repetition of dir when later of the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:447:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 340) RSpec::Core::Configuration#files_to_run with default pattern loads files named _spec.rb Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:531:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 341) RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files finds the files Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/configuration_spec.rb:545 # /usr/share/ruby/fileutils.rb:1550:in `path' # /usr/share/ruby/fileutils.rb:1550:in `block in fu_list' # /usr/share/ruby/fileutils.rb:1550:in `map' # /usr/share/ruby/fileutils.rb:1550:in `fu_list' # /usr/share/ruby/fileutils.rb:196:in `mkdir_p' # ./spec/support/shared_example_groups.rb:24:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 342) RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) Failure/Error: Unable to read failed line SecurityError: Insecure operation - path Shared Example Group: "handling symlinked directories when loading spec files" called from ./spec/rspec/core/configuration_spec.rb:545 # /usr/share/ruby/fileutils.rb:1569:in `path' # /usr/share/ruby/fileutils.rb:1569:in `fu_each_src_dest0' # /usr/share/ruby/fileutils.rb:361:in `ln_s' # ./spec/support/shared_example_groups.rb:43:in `block (2 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 343) RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run with DRB (e.g., spork) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:563:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 344) RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run by rspec Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:2732:in `assign_files_or_directories_to_run' # ./spec/rspec/core/configuration_spec.rb:556:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 345) RSpec::Core::Configuration#pattern with single pattern loads files in directories following pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:654:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:654:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 346) RSpec::Core::Configuration#pattern with single pattern ignores pattern if files are specified Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:667:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:667:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 347) RSpec::Core::Configuration#pattern with single pattern loads all explicitly specified files, even those that do not match the pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:646:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:646:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 348) RSpec::Core::Configuration#pattern with single pattern does not load files in directories not following pattern Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:660:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:660:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 349) RSpec::Core::Configuration#pattern after `files_to_run` has been accessed but before files have been loaded still takes affect Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:718:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 350) RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:678:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:678:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 351) RSpec::Core::Configuration#pattern with multiple patterns supports curly braces glob syntax Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:694:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 352) RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values with spaces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:686:in `expand_path' # ./spec/rspec/core/configuration_spec.rb:686:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 353) RSpec::Core::Configuration#extend extends the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1143:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 354) RSpec::Core::Configuration#extend extends the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1138:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 355) RSpec::Core::Configuration#prepend with no filter prepends the given module into each existing example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1184:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 356) RSpec::Core::Configuration#prepend with no filter prepends the given module into each example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1179:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 357) RSpec::Core::Configuration#prepend with a filter prepends the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1200:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 358) RSpec::Core::Configuration#prepend with a filter prepends the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1205:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 359) RSpec::Core::Configuration#mock_with uses the null adapter when given :nothing Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:259:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 360) RSpec::Core::Configuration#mock_with allows rspec-mocks to be configured with a provided block Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/configuration_spec.rb:238:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 361) RSpec::Core::Configuration#include with a filter includes the given module into each existing matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1035:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 362) RSpec::Core::Configuration#include with a filter ensures that `before` hooks have access to the module methods, even when only included in the singleton class of one example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1081:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 363) RSpec::Core::Configuration#include with a filter does not include the module in an example's singleton class when it has already been included in the group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1108:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 364) RSpec::Core::Configuration#include with a filter includes the given module into each matching example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1019:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 365) RSpec::Core::Configuration#include with a filter includes the given module into the singleton class of matching examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1060:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 366) RSpec::Core::Configuration#include with no filter includes the given module into each example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:996:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 367) RSpec::Core::Configuration#include with no filter includes the given module into each existing example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:1002:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 368) RSpec::Core::Configuration#on_example_group_definition successfully invokes the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/configuration_spec.rb:32:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 369) RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in the singleton class of matching examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/configuration_spec.rb:964:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 370) RSpec does not blow up if some gem defines `Kernel#it` Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/rspec/core_spec.rb:321:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - spawn # /usr/share/ruby/open3.rb:213:in `spawn' 371) RSpec loads mocks and expectations when the constants are referenced Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/rspec/core_spec.rb:304:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - spawn # /usr/share/ruby/open3.rb:213:in `spawn' 372) RSpec.clear_examples clears the deprecation buffer Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core_spec.rb:250:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 373) RSpec.clear_examples restores inclusion rules set by configuration Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core_spec.rb:217:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 374) RSpec.clear_examples restores exclusion rules set by configuration Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core_spec.rb:234:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 375) RSpec.clear_examples clears examples, failed_examples and pending_examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core_spec.rb:184:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 376) RSpec::Core.path_to_executable returns the absolute location of the exe/rspec file Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core_spec.rb:292:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 377) RSpec behaves like library wide checks issues no warnings when loaded Failure/Error: Unable to read failed line SecurityError: Insecure operation - [] Shared Example Group: "library wide checks" called from ./spec/rspec/core_spec.rb:31 # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `[]' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `block (2 levels) in ' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:93:in `block (2 levels) in ' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `each' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:460:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:537:in `block in run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:536:in `run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:589:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `block in run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:113:in `block in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/reporter.rb:79:in `report' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:112:in `run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:87:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:71:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:45:in `invoke' # exe/rspec:4:in `
' # # Showing full backtrace because every line was filtered out. # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. 378) RSpec behaves like library wide checks issues no warnings when the spec files are loaded Failure/Error: Unable to read failed line SecurityError: Insecure operation - [] Shared Example Group: "library wide checks" called from ./spec/rspec/core_spec.rb:31 # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `[]' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `block (2 levels) in ' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:93:in `block (2 levels) in ' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `each' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:460:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:537:in `block in run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:536:in `run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:589:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `block in run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:113:in `block in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/reporter.rb:79:in `report' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:112:in `run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:87:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:71:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:45:in `invoke' # exe/rspec:4:in `
' # # Showing full backtrace because every line was filtered out. # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. 379) RSpec 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 Failure/Error: Unable to read failed line SecurityError: Insecure operation - [] Shared Example Group: "library wide checks" called from ./spec/rspec/core_spec.rb:31 # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `[]' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `block (2 levels) in ' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:93:in `block (2 levels) in ' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `each' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:460:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:537:in `block in run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:536:in `run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:589:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `block in run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:113:in `block in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/reporter.rb:79:in `report' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:112:in `run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:87:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:71:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:45:in `invoke' # exe/rspec:4:in `
' # # Showing full backtrace because every line was filtered out. # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. 380) RSpec behaves like library wide checks has no malformed whitespace Failure/Error: Unable to read failed line SecurityError: Insecure operation - [] Shared Example Group: "library wide checks" called from ./spec/rspec/core_spec.rb:31 # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `[]' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:47:in `block (2 levels) in ' # /usr/share/gems/gems/rspec-support-3.7.1/lib/rspec/support/spec/library_wide_checks.rb:93:in `block (2 levels) in ' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:350:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `each' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/hooks.rb:460:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:537:in `block in run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:536:in `run_before_context_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:589:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `block in run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/example_group.rb:591:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `map' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:113:in `block in run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/reporter.rb:79:in `report' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:112:in `run_specs' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:87:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:71:in `run' # /builddir/build/BUILD/rspec-core-3.7.1/lib/rspec/core/runner.rb:45:in `invoke' # exe/rspec:4:in `
' # # Showing full backtrace because every line was filtered out. # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. 381) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples uses the location to identify the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:64:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 382) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location uses the id instead Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `ensure in with_env_vars' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:100:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # SecurityError: # Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:1:in `example_group_defined_in' 383) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids correctly escapes file names that have quotes in them Got 0 failures and 2 other errors: 383.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:120:in `expand_path' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:120:in `block in output_from_running' # ./spec/support/formatter_support.rb:372:in `notify' # ./spec/support/formatter_support.rb:250:in `send_notification' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:124:in `output_from_running' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:114:in `block (6 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 383.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 384) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids quotes the id to be safe so the rerun command can be copied and pasted Got 0 failures and 2 other errors: 384.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:1:in `example_group_defined_in' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:87:in `instance_eval' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:87:in `example_group_defined_in' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:84:in `block (5 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:109:in `block (6 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 384.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:106:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 385) RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example defined in an file required by the user rather than loaded by rspec looks through ancestor metadata to find a workable re-run command Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:74:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 386) RSpec::Core::Formatters::BaseTextFormatter#dump_failures preserves formatting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:141:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 387) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:220:in `block (6 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:224:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 388) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains nested example groups outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:237:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:243:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 389) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains shared group nesting includes each inclusion location in the output Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:257:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:262:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:266:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 390) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has a differently encoded message runs without encountering an encoding exception Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 391) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an instance of an anonymous exception class substitutes '(anonymous error class)' for the missing class name Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:176:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 392) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed expectation (rspec-expectations) does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:202:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 393) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception class other than RSpec does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:184:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 394) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message does not throw NoMethodError Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:153:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 395) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message preserves ancestry Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:158:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 396) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed message expectation (rspec-mocks) does not show the error class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:210:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 397) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:220:in `block (6 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:224:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 398) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains shared group nesting includes each inclusion location in the output Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:257:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:262:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:266:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 399) RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains nested example groups outputs the name and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:237:in `block (7 levels) in ' # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:243:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 400) RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has an exception instance as its message does not raise NoMethodError Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/base_text_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 401) RSpec::Core::MemoizedHelpers implicit subject can be overriden and super'd to from a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 402) RSpec::Core::MemoizedHelpers implicit subject with a class returns an instance of the class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:18:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 403) RSpec::Core::MemoizedHelpers implicit subject with a symbol returns the symbol Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:48:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 404) RSpec::Core::MemoizedHelpers implicit subject with nil returns `nil` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:66:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 405) RSpec::Core::MemoizedHelpers implicit subject with false returns `false` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:60:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 406) RSpec::Core::MemoizedHelpers implicit subject with a hash returns the hash Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:42:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 407) RSpec::Core::MemoizedHelpers implicit subject with a Module returns the Module Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:24:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 408) RSpec::Core::MemoizedHelpers implicit subject with true returns `true` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:54:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 409) RSpec::Core::MemoizedHelpers implicit subject with a number returns the number Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:36:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 410) RSpec::Core::MemoizedHelpers implicit subject with a string returns the string Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:10:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:30:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 411) RSpec::Core::MemoizedHelpers threadsafety when not threadsafe can wind up overwriting the previous memoized value (but if you don't need threadsafety, this is faster) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:373:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 412) RSpec::Core::MemoizedHelpers threadsafety when threadsafe memoized block will only be evaluated once Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:418:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 413) RSpec::Core::MemoizedHelpers threadsafety when threadsafe memoized blocks prevent other threads from accessing, even when it is accesssed in a superclass Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:438:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 414) RSpec::Core::MemoizedHelpers threadsafety when threadsafe first thread to access determines the return value Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:397:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 415) RSpec::Core::MemoizedHelpers using 'self' as an explicit subject delegates matcher to the ExampleGroup Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:329:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 416) RSpec::Core::MemoizedHelpers using 'self' as an explicit subject supports a new expect-based syntax Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:343:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 417) RSpec::Core::MemoizedHelpers explicit subject yields the example in which it is eval'd Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:95:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 418) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group raises an error when referenced from `after(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:179:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 419) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group can be overriden and super'd to from a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:139:in `block (4 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:166:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 420) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group raises an error when referenced from `before(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:179:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 421) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group is available in a nested group (subclass) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:139:in `block (4 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:146:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 422) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group is available in a doubly nested group (subclass) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:139:in `block (4 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:155:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 423) RSpec::Core::MemoizedHelpers explicit subject defined in a top level group replaces the implicit subject in that group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:8:in `subject_value_for' # ./spec/rspec/core/memoized_helpers_spec.rb:130:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 424) RSpec::Core::MemoizedHelpers explicit subject with a name is referred from inside subject by the name Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:227:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 425) RSpec::Core::MemoizedHelpers explicit subject with a name yields the example in which it is eval'd Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:198:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 426) RSpec::Core::MemoizedHelpers explicit subject with a name is not overriden when an inner group defines a new method with the same name Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:277:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 427) RSpec::Core::MemoizedHelpers explicit subject with a name can continue to be referenced by the name even when an inner group redefines the subject Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:241:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 428) RSpec::Core::MemoizedHelpers explicit subject with a name defines a method that returns the memoized subject Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:207:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 429) RSpec::Core::MemoizedHelpers explicit subject with a name can continue to reference an inner subject after the outer subject name is referenced Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:259:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 430) RSpec::Core::MemoizedHelpers explicit subject with a name when `super` is used raises a "not supported" error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:293:in `should_raise_not_supported_error' # ./spec/rspec/core/memoized_helpers_spec.rb:310:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 431) RSpec::Core::MemoizedHelpers explicit subject with a name when `super` is used with a `let` definition before the named subject raises a "not supported" error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:293:in `should_raise_not_supported_error' # ./spec/rspec/core/memoized_helpers_spec.rb:315:in `block (6 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 432) RSpec::Core::MemoizedHelpers explicit subject with a value of nil is evaluated once per example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:118:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 433) RSpec::Core::MemoizedHelpers explicit subject with a value of false is evaluated once per example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/memoized_helpers_spec.rb:118:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 434) an example with no block is listed as pending with 'Not yet implemented' Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:87:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 435) an example with no docstring after another example with some assertion does not show any message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:161:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 436) an example with no docstring declared with the pending method has an auto-generated description if it has an expectation Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 437) an example with a block fails with an ArgumentError stating the syntax is deprecated Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:191:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 438) an example with a block does not yield to the block Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:209:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 439) an example with a message is listed as pending with the supplied message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:177:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 440) an example with no args is listed as pending with the default message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:98:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 441) an example with no args does not mutate the :pending attribute of the user metadata when the rest of the example passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 442) an example with no args fails when the rest of the example passes Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:111:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 443) an example declared pending with metadata uses the value assigned to :pending as the message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:4:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 444) an example declared pending with metadata passes if a mock expectation is not satisifed Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:26:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 445) an example declared pending with metadata does not mutate the :pending attribute of the user metadata when handling mock expectation errors Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:39:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 446) an example declared pending with metadata sets the message to 'No reason given' if :pending => true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:15:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 447) an example made pending with `define_derived_metadata` fails if there is no error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 448) an example made pending with `define_derived_metadata` has a pending result if there is an error Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/pending_example_spec.rb:61:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 449) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError lists each individual expectation failure, with a backtrace relative to the aggregation block Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:77\n \n - 1.2) Failure/Error: expect(1).to fail_with_description("bar")\n + 1.2) Failure/Error: Unable to read failed line\n expected pass, but bar\n # ./spec/rspec/core/notifications_spec.rb:78\n # ./spec/rspec/core/notifications_spec.rb:94:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 450) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when there are failures and other errors lists both types in the exception listing Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte...RuntimeError:\n", " boom\n", " # ./spec/rspec/core/notifications_spec.rb:226\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n...RuntimeError:\n", " boom\n", " # ./spec/rspec/core/notifications_spec.rb:226\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:225\n \n - 1.2) Failure/Error: raise "boom"\n + 1.2) Failure/Error: Unable to read failed line\n \n RuntimeError:\n boom\n # ./spec/rspec/core/notifications_spec.rb:232:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 451) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError due to using `:aggregate_failures` metadata uses an alternate format for the exception summary to avoid confusing references to the aggregation block or stack trace Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/notifications_spec.rb:122:in `block (5 levels) in ' # ./spec/rspec/core/notifications_spec.rb:19:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 452) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when the failure happened in a shared example group does not include the shared group backtrace in the sub-failure backtraces Failure/Error: Unable to read failed line expected: ["\n", " 1.1) Failure/Error: expect(1).to fail_with_description(\"foo\")\n", " expecte... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] got: ["\n", " 1.1) Failure/Error: Unable to read failed line\n", " expected pass, but foo\n... " expected pass, but bar\n", " # ./spec/rspec/core/notifications_spec.rb:78\n"] (compared using ==) Diff: @@ -1,9 +1,9 @@ \n - 1.1) Failure/Error: expect(1).to fail_with_description("foo")\n + 1.1) Failure/Error: Unable to read failed line\n expected pass, but foo\n # ./spec/rspec/core/notifications_spec.rb:77\n \n - 1.2) Failure/Error: expect(1).to fail_with_description("bar")\n + 1.2) Failure/Error: Unable to read failed line\n expected pass, but bar\n # ./spec/rspec/core/notifications_spec.rb:78\n # ./spec/rspec/core/notifications_spec.rb:161:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 453) FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when `aggregate_failures` is used in nested fashion recursively formats the nested aggregated failures Failure/Error: Unable to read failed line expected: "\n 1) Example\n Got 3 failures from failure aggregation block \"outer\".\n # ./spec/rspec/c...x\")\n expected pass, but qux\n # ./spec/rspec/core/notifications_spec.rb:186\n" got: "\n 1) Example\n Got 3 failures from failure aggregation block \"outer\".\n # ./spec/rspec/c...line\n expected pass, but qux\n # ./spec/rspec/core/notifications_spec.rb:186\n" (compared using ==) Diff: @@ -3,22 +3,22 @@ Got 3 failures from failure aggregation block "outer". # ./spec/rspec/core/notifications_spec.rb:178 - 1.1) Failure/Error: expect(1).to fail_with_description("foo") + 1.1) Failure/Error: Unable to read failed line expected pass, but foo # ./spec/rspec/core/notifications_spec.rb:179 1.2) Got 2 failures from failure aggregation block "inner". # ./spec/rspec/core/notifications_spec.rb:181 - 1.2.1) Failure/Error: expect(2).to fail_with_description("bar") + 1.2.1) Failure/Error: Unable to read failed line expected pass, but bar # ./spec/rspec/core/notifications_spec.rb:182 - 1.2.2) Failure/Error: expect(3).to fail_with_description("baz") + 1.2.2) Failure/Error: Unable to read failed line expected pass, but baz # ./spec/rspec/core/notifications_spec.rb:183 - 1.3) Failure/Error: expect(1).to fail_with_description("qux") + 1.3) Failure/Error: Unable to read failed line expected pass, but qux # ./spec/rspec/core/notifications_spec.rb:186 # ./spec/rspec/core/notifications_spec.rb:192:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 454) RSpec::Core::ExampleGroup allows adding examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:2024:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 455) RSpec::Core::ExampleGroup allows removing examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:2038:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 456) RSpec::Core::ExampleGroup surfaces NameError from an example for other missing APIs, like normal Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:45:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 457) RSpec::Core::ExampleGroup prevents defining nested isolated shared contexts Failure/Error: Unable to read failed line expected /not allowed/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1916:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1915:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1915:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 458) RSpec::Core::ExampleGroup prevents defining nested isolated contexts Failure/Error: Unable to read failed line expected /not allowed/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1907:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1906:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1906:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 459) RSpec::Core::ExampleGroup surfaces NameError from an example group for other missing APIs, like normal Failure/Error: Unable to read failed line expected NameError with message matching /foobar/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:38:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:37:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:37:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 460) RSpec::Core::ExampleGroup when calling `it_behaves_like`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 461) RSpec::Core::ExampleGroup when calling `describe`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 462) RSpec::Core::ExampleGroup#metadata adds the line_number to metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:656:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 463) RSpec::Core::ExampleGroup#metadata adds the third parameter to the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:644:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 464) RSpec::Core::ExampleGroup#metadata adds the the file_path to metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:648:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 465) RSpec::Core::ExampleGroup#metadata has a reader for file_path Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:652:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 466) RSpec::Core::ExampleGroup.xdescribe generates a pending example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1164:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 467) RSpec::Core::ExampleGroup.skip generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1092:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1095:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 468) RSpec::Core::ExampleGroup.skip sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1092:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1100:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 469) RSpec::Core::ExampleGroup when calling `let`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 470) RSpec::Core::ExampleGroup when calling `double`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 471) RSpec::Core::ExampleGroup.xexample generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 472) RSpec::Core::ExampleGroup.xexample sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 473) RSpec::Core::ExampleGroup when calling `expect`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 474) RSpec::Core::ExampleGroup inspect output handles before context hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1968:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 475) RSpec::Core::ExampleGroup inspect output handles after context hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1983:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 476) RSpec::Core::ExampleGroup inspect output does not pollute an example's `inspect` output with the inspect ivar from `before(:context)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1999:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 477) RSpec::Core::ExampleGroup inspect output when an example does not have a description includes fallback description Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1952:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 478) RSpec::Core::ExampleGroup inspect output when an example has a description includes description and location Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1934:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 479) RSpec::Core::ExampleGroup when calling `it`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 480) RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not set RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing less than 3 failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1455:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 481) RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not run examples after 3 failed examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1442:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 482) RSpec::Core::ExampleGroup#run with fail_fast set to 3 sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing at least 3 failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1465:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 483) RSpec::Core::ExampleGroup#run with nested example failing returns true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1526:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 484) RSpec::Core::ExampleGroup#run with top level example failing returns false Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1509:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 485) RSpec::Core::ExampleGroup#run with all examples passing returns true Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1492:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 486) RSpec::Core::ExampleGroup#run with fail_fast enabled sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1429:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 487) RSpec::Core::ExampleGroup#run with fail_fast enabled does not run examples after the failed example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1418:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 488) RSpec::Core::ExampleGroup#run with `fail_fast` set to `nil` does not run abort due to failures Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1401:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 489) RSpec::Core::ExampleGroup#before, after, and around hooks only runs before/after(:all) hooks from example groups that have specs that run Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:830:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 490) RSpec::Core::ExampleGroup#before, after, and around hooks exposes instance variables set in before(:all) from after(:all) even if a before(:all) error occurs Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:954:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 491) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:each) as a failure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:934:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 492) RSpec::Core::ExampleGroup#before, after, and around hooks runs before_all_defined_in_config, before all, before each, example, after each, after all, after_all_defined_in_config in that order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:867:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 493) RSpec::Core::ExampleGroup#before, after, and around hooks runs the after alls in reverse order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:816:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 494) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:943:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 495) RSpec::Core::ExampleGroup#before, after, and around hooks runs the before alls in order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:768:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 496) RSpec::Core::ExampleGroup#before, after, and around hooks runs the before eachs in order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:790:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 497) RSpec::Core::ExampleGroup#before, after, and around hooks runs the after eachs in reverse order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:803:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 498) RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure for a spec in a nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:971:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 499) RSpec::Core::ExampleGroup#before, after, and around hooks does not set RSpec.world.wants_to_quit in case of an error in before all (without fail_fast?) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:778:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 500) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for before-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:687:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 501) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for after-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:697:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 502) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for before-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:676:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 503) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for after-hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:708:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 504) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? does not set currently_executing_a_context_hook? outside of before(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:737:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 505) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during after(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:747:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 506) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? unsets currently_executing_a_context_hook? after an after(:context) hook is done Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:755:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 507) RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during before(:context) execution Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:726:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 508) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook rescues any error(s) and prints them out Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1010:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 509) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook sets `world.non_example_failure` so the exit status will be non-zero Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1020:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1019:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 510) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook still runs both after blocks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1014:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 511) RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook allows the example to pass Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:994:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1002:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 512) RSpec::Core::ExampleGroup.xit sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 513) RSpec::Core::ExampleGroup.xit generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 514) RSpec::Core::ExampleGroup setting pending metadata in parent marks every example as pending Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1216:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 515) RSpec::Core::ExampleGroup#run_examples returns true if all examples pass Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1289:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 516) RSpec::Core::ExampleGroup#run_examples returns false if any of the examples fail Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1298:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 517) RSpec::Core::ExampleGroup#run_examples runs all examples, regardless of any of them failing Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1307:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 518) RSpec::Core::ExampleGroup#top_level_description returns the description from the outermost example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1382:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 519) RSpec::Core::ExampleGroup#include_context includes the named examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1673:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 520) RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1695:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 521) RSpec::Core::ExampleGroup#include_context raises a helpful error message when shared content is accessed recursively Failure/Error: Unable to read failed line expected ArgumentError with message matching /can't include shared examples recursively/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1685:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1689:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 522) RSpec::Core::ExampleGroup#include_context evals the block when given Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1743:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 523) RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line expected Exception with "boom", got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1701:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1700:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1700:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 524) RSpec::Core::ExampleGroup#include_context passes parameters to the shared content Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1712:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 525) RSpec::Core::ExampleGroup top level group runs its children Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:309:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 526) RSpec::Core::ExampleGroup top level group descendants returns self + all descendants Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:343:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 527) RSpec::Core::ExampleGroup top level group with a failure in the top level group runs its children Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:324:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 528) RSpec::Core::ExampleGroup adding examples allows adding an example using 'it' Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1239:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 529) RSpec::Core::ExampleGroup adding examples exposes all examples at examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1245:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 530) RSpec::Core::ExampleGroup adding examples maintains the example order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1253:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 531) RSpec::Core::ExampleGroup#it_should_behave_like passes parameters to the shared example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1805:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 532) RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1869:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1868:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 533) RSpec::Core::ExampleGroup#it_should_behave_like raises a helpful error message when shared context is not found Failure/Error: Unable to read failed line expected ArgumentError with "Could not find shared examples \"shared stuff\"", got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1861:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1860:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1860:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 534) RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line expected Exception with "boom", got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1878:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1877:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1877:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 535) RSpec::Core::ExampleGroup#it_should_behave_like given a block evaluates the block in nested group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1841:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 536) RSpec::Core::ExampleGroup.fcontext generates an example group that can be filtered with :focus Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 537) RSpec::Core::ExampleGroup when calling `spy`, an example API, on an example group tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line expected RSpec::Core::ExampleGroup::WrongScopeError, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:16:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:15:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 538) RSpec::Core::ExampleGroup.xcontext generates a pending example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1164:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 539) RSpec::Core::ExampleGroup#described_class with a constant as the first parameter is that constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:517:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 540) RSpec::Core::ExampleGroup#described_class in a nested group inherits the described class/module from the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:561:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 541) RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:576:in `described_class_value' # ./spec/rspec/core/example_group_spec.rb:587:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 542) RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class even when described_class is referenced in the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:576:in `described_class_value' # ./spec/rspec/core/example_group_spec.rb:591:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 543) RSpec::Core::ExampleGroup#described_class with a string as the first parameter is nil Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:523:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 544) RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has a `nil` described_class in the outer group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:600:in `define_and_run_group' # ./spec/rspec/core/example_group_spec.rb:612:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 545) RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has the inner described class as the described_class of the inner group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:600:in `define_and_run_group' # ./spec/rspec/core/example_group_spec.rb:617:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 546) RSpec::Core::ExampleGroup#described_class with a constant in an outer group and metadata redefinition after `described_class` call is the redefined level constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:544:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 547) RSpec::Core::ExampleGroup#described_class with a constant in an outer group and a string in an inner group is the top level constant Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:530:in `block (5 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 548) RSpec::Core::ExampleGroup pending with metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1060:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1070:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 549) RSpec::Core::ExampleGroup pending with metadata generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1060:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1065:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 550) RSpec::Core::ExampleGroup skip with metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1106:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1116:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 551) RSpec::Core::ExampleGroup skip with metadata generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1106:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1111:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 552) RSpec::Core::ExampleGroup skip with message in metadata generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1122:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1127:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 553) RSpec::Core::ExampleGroup skip with message in metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1122:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1132:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 554) RSpec::Core::ExampleGroup.pending generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1027:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1030:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 555) RSpec::Core::ExampleGroup.pending sets the backtrace to the example definition so it can be located by the user Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1042:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 556) RSpec::Core::ExampleGroup.pending sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1027:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1035:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 557) RSpec::Core::ExampleGroup#include_examples includes the named examples Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1673:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 558) RSpec::Core::ExampleGroup#include_examples passes parameters to the shared content Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1712:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1718:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 559) RSpec::Core::ExampleGroup#include_examples evals the block when given Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1743:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 560) RSpec::Core::ExampleGroup#include_examples raises a helpful error message when shared content is accessed recursively Failure/Error: Unable to read failed line expected ArgumentError with message matching /can't include shared examples recursively/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1685:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1689:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1688:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 561) RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation Failure/Error: Unable to read failed line expected Exception with "boom", got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1701:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1700:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1700:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 562) RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1668:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1695:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1694:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 563) RSpec::Core::ExampleGroup#description grabs the description from the metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:637:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 564) RSpec::Core::ExampleGroup pending with message in metadata generates a pending example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1076:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1081:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 565) RSpec::Core::ExampleGroup pending with message in metadata sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1076:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1086:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 566) RSpec::Core::ExampleGroup when calling `before`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 567) RSpec::Core::ExampleGroup.fdescribe generates an example group that can be filtered with :focus Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1190:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 568) RSpec::Core::ExampleGroup.xspecify generates a skipped example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1144:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 569) RSpec::Core::ExampleGroup.xspecify sets the pending message Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1140:in `block (5 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1139:in `tap' # ./spec/rspec/core/example_group_spec.rb:1139:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:1149:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 570) RSpec::Core::ExampleGroup when calling `context`, an example group API, from within an example tells the user they are in the wrong scope for that API Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:27:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 571) RSpec::Core::ExampleGroup constant naming assigns the const before evaling the group so error messages include the name Failure/Error: Unable to read failed line expected /ExampleGroups::CallingAnUndefinedMethod/, got # with backtrace: # ./spec/rspec/core/example_group_spec.rb:167:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:166:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/example_group_spec.rb:166:in `block (3 levels) in ' # ./spec/rspec/core/example_group_spec.rb:73:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 572) RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering falls back to the global ordering Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:231:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:239:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 573) RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering prints a warning so users are notified of their mistake Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:231:in `block (4 levels) in ' # ./spec/rspec/core/example_group_spec.rb:239:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 574) RSpec::Core::ExampleGroup ordering when tagged with `:order => :defined` orders the subgroups and examples in defined order regardless of global order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:208:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 575) RSpec::Core::ExampleGroup ordering when tagged with a custom ordering uses the custom orderings Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:271:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 576) RSpec::Core::ExampleGroup#update_inherited_metadata overwrites metadata originating from a parent Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/example_group_spec.rb:1561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 577) RSpec::Core::ExampleGroup#update_inherited_metadata applies new metadata-based config items based on the update Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_group_spec.rb:1610:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 578) RSpec::Core::ExampleGroup#update_inherited_metadata does not cause duplicate hooks to be added when re-configuring the group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/spec_helper.rb:35:in `describe_successfully' # ./spec/rspec/core/example_group_spec.rb:1650:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 579) RSpec::Core::MultipleExceptionError presents the same aggregation metadata that an `:aggregate_failures`-tagged example produces Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/exception_presenter_spec.rb:792:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 580) RSpec::Core::Formatters::DocumentationFormatter represents nested group using hierarchy tree Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/documentation_formatter_spec.rb:51:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 581) RSpec::Core::Formatters::DocumentationFormatter strips whitespace for each row Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/documentation_formatter_spec.rb:81:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 582) RSpec::Core::Bisect::Coordinator can use the bisect debug formatter to get detailed progress Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 583) RSpec::Core::Bisect::Coordinator notifies the bisect progress formatter of progress and closes the output Got 0 failures and 2 other errors: 583.1) Failure/Error: Unable to read failed line SecurityError: Insecure operation - initialize # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `initialize' # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `open' # ./spec/rspec/core/bisect/coordinator_spec.rb:29:in `block (2 levels) in ' # ./spec/spec_helper.rb:46:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 583.2) Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 584) RSpec::Core::Bisect::Coordinator when the user aborst the bisect with ctrl-c prints the most minimal repro command it has found so far Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 585) RSpec::Core::Bisect::Coordinator with an order-independent failure detects the independent case and prints the minimal reproduction Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 586) RSpec::Core::Bisect::Coordinator with an order-independent failure can use the debug formatter for detailed output Failure/Error: Unable to read failed line SecurityError: Insecure operation - replace # ./spec/spec_helper.rb:48:in `replace' # ./spec/spec_helper.rb:48:in `with_env_vars' # ./spec/spec_helper.rb:96:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 587) RSpec::Core::Formatters::JsonFormatter can be loaded via `--format json` Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/json_formatter_spec.rb:17:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 588) RSpec::Core::Formatters::JsonFormatter outputs expected json (brittle high level functional test) Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:24:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 589) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group has the summary of profile information Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 590) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group doesn't profile a single example group Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 591) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group provides example execution time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 592) RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group names the example Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:168:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 593) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups ranks the example groups by average time Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 594) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides the slowest example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 595) RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides information Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/formatters/json_formatter_spec.rb:197:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 596) RSpec::Core::SharedContext runs the before each hooks in configuration before those of the shared context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:47:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 597) RSpec::Core::SharedContext supports nested example groups using context Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 598) RSpec::Core::SharedContext supports let Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:62:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 599) RSpec::Core::SharedContext supports let when applied to an individual example via metadata Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:78:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 600) RSpec::Core::SharedContext supports explicit subjects Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:92:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 601) RSpec::Core::SharedContext supports nested example groups using describe Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:107:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 602) RSpec::Core::SharedContext supports before and after hooks Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/shared_context_spec.rb:22:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 603) RSpec::Core::Invocations RSpec::Core::Invocations::InitializeProject initializes a project and returns a 0 exit code Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/invocations_spec.rb:12:in `run_invocation' # ./spec/rspec/core/invocations_spec.rb:20:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 604) RSpec::Core::Invocations RSpec::Core::Invocations::Bisect starts the bisection coordinator Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/invocations_spec.rb:12:in `run_invocation' # ./spec/rspec/core/invocations_spec.rb:91:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 605) RSpec::Core::Invocations RSpec::Core::Invocations::Bisect and the verbose option is specified starts the bisection coordinator with the debug formatter Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/invocations_spec.rb:12:in `run_invocation' # ./spec/rspec/core/invocations_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 606) RSpec::Core::Invocations RSpec::Core::Invocations::Bisect when the bisection is unsuccessful returns 1 Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/invocations_spec.rb:12:in `run_invocation' # ./spec/rspec/core/invocations_spec.rb:112:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 607) RSpec::Core::Invocations RSpec::Core::Invocations::Bisect when the bisection is successful returns 0 Failure/Error: Unable to read failed line SecurityError: Insecure operation - require_relative # ./spec/rspec/core/invocations_spec.rb:12:in `run_invocation' # ./spec/rspec/core/invocations_spec.rb:102:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 608) RSpec::Core::World#all_example_groups contains all example groups from all levels of nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:50:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 609) RSpec::Core::World#source_from_file caches Source instances by file path Failure/Error: Unable to read failed line SecurityError: Insecure operation - read # ./spec/rspec/core/world_spec.rb:192:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 610) RSpec::Core::World#example_groups contains all registered example groups Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:43:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 611) RSpec::Core::World#preceding_declaration_line (again) with two groups and the second example is registered first return line number of group if a group start on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:106:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:146:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 612) RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of a group that immediately precedes the argument line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:134:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 613) RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if a group starts on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:126:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 614) RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if an example starts on that line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:114:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:130:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 615) RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of an example that immediately precedes the argument line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:114:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:138:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 616) RSpec::Core::World#preceding_declaration_line (again) with one example returns nil if no example or group precedes the line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:113:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:122:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 617) RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered considers only declaration lines from the provided files Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:169:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 618) RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered returns nil if given a file name with no declarations Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:98:in `block (3 levels) in ' # ./spec/rspec/core/world_spec.rb:169:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 619) RSpec::Core::World#all_examples contains all examples from all levels of nesting Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/world_spec.rb:71:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 620) RSpec::Core::Formatters::SnippetExtractor when the given line does not exist in the file raises NoSuchLineError Failure/Error: Unable to read failed line expected RSpec::Core::Formatters::SnippetExtractor::NoSuchLineError, got # with backtrace: # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (4 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:77:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 621) RSpec::Core::Formatters::SnippetExtractor when the expression fits into a single line returns the line Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:87:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 622) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans multiple lines returns the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:101:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 623) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression contains do-end block and ends with "end"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:157:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 624) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is 1 returns the line without parsing the source for efficiency Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:345:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 625) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's final line includes the same type of opening paren of another multiline expression ignores another expression Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:247:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 626) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's first line includes a closing paren of another multiline expression ignores another expression Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:262:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 627) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when Ripper cannot parse the source (which can happen on JRuby -- see jruby/jruby#2427) returns the line by falling back to the simple single line extraction Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:302:in `block (4 levels) in ' # /usr/share/ruby/tmpdir.rb:93:in `mktmpdir' # ./spec/spec_helper.rb:65:in `handle_current_dir_change' # ./spec/spec_helper.rb:74:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 628) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans lines after the closing paren line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:231:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 629) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "]"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:143:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 630) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression includes paren and heredoc pairs as non-nested structure returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:209:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 631) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is given returns the lines without exceeding the given count Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:321:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 632) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with multiple paren-only lines of same type returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:193:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 633) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "}"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:129:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 634) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with ")"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:115:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 635) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression is a method definition and ends with "end"-only line returns all the lines Failure/Error: Unable to read failed line SecurityError: Insecure operation - gem_original_require # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:177:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 636) RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when no expression exists at the line returns the line by falling back to the simple single line extraction Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:6:in `block (2 levels) in ' # ./spec/rspec/core/formatters/snippet_extractor_spec.rb:280:in `block (4 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 637) RSpec::Core::Formatters::HtmlSnippetExtractor falls back on a default message when it gets a security error Failure/Error: Unable to read failed line expected: 0 got: 1 (compared using eql?) # ./spec/support/helper_methods.rb:26:in `with_safe_set_to_level_that_triggers_security_errors' # ./spec/rspec/core/formatters/html_snippet_extractor_spec.rb:16:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 638) RSpec::Core::Reporter given one formatter passes messages to the formatter in the correct order Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/reporter_spec.rb:98:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 639) RSpec::Core::Reporter#notify_non_example_exception sends a `message` notification that contains the formatted exception details Failure/Error: Unable to read failed line expected "\nNonExample Context\nFailure/Error: Unable to read failed line\n\nZeroDivisionError:\n divided by ... in '\n# ./spec/support/sandboxing.rb:7:in `block (2 levels) in '\n" to start with "\nNonExample Context\nFailure/Error: exception = 1 / 0 rescue $!\n\nZeroDivisionError:\n divided by 0\n# ./spec/rspec/core/reporter_spec.rb:292" # ./spec/rspec/core/reporter_spec.rb:295:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 640) RSpec::Core::Notifications::FailedExampleNotification uses the default color for the shared example backtrace line Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/failed_example_notification_spec.rb:9:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 641) #let raises an error when referenced from `after(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 642) #let raises an error when attempting to define a reserved method name Failure/Error: Unable to read failed line expected /#let or #subject called with a reserved name #initialize/, got # with backtrace: # ./spec/rspec/core/memoized_helpers_spec.rb:525:in `block (3 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:524:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:524:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 643) #let raises a useful error when called without a block Failure/Error: Unable to read failed line expected /#let or #subject called without a block/, got # with backtrace: # ./spec/rspec/core/memoized_helpers_spec.rb:519:in `block (3 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:518:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' # ./spec/rspec/core/memoized_helpers_spec.rb:518:in `block (2 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 644) #let raises an error when referenced from `before(:all)` Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:561:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 645) #let when included modules have hooks that define memoized helpers allows memoized helpers to override methods in previously included modules Failure/Error: Unable to read failed line SecurityError: Insecure operation - expand_path # ./spec/rspec/core/memoized_helpers_spec.rb:574:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' 646) RSpec::Core::Formatters::HtmlFormatter produced HTML is identical to the one we designed manually Failure/Error: Unable to read failed line SecurityError: Insecure operation - exist? # ./spec/support/formatter_support.rb:27:in `new' # ./spec/support/formatter_support.rb:27:in `run_rspec_with_formatter' # ./spec/support/formatter_support.rb:3:in `run_example_specs_with_formatter' # ./spec/rspec/core/formatters/html_formatter_spec.rb:17:in `block (2 levels) in ' # ./spec/rspec/core/formatters/html_formatter_spec.rb:62:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' Finished in 3.52 seconds (files took 0.43501 seconds to load) 2039 examples, 646 failures, 2 pending Failed examples: rspec ./spec/rspec/core/runner_spec.rb:316 # RSpec::Core::Runner when run assigns submitted ConfigurationOptions to @options rspec ./spec/rspec/core/runner_spec.rb:300 # RSpec::Core::Runner when run configures streams before command line options rspec ./spec/rspec/core/runner_spec.rb:351 # RSpec::Core::Runner when run #run reports the expected example count accurately, even when subclasses filter example groups rspec ./spec/rspec/core/runner_spec.rb:323 # RSpec::Core::Runner when run #run supports a test-queue like subclass that can perform setup once and run different sets of example groups multiple times rspec ./spec/rspec/core/runner_spec.rb:410 # RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is not configured persists the status of all loaded examples rspec ./spec/rspec/core/runner_spec.rb:402 # RSpec::Core::Runner when run #run persistence of example statuses when `example_status_persistence_file_path` is configured persists the status of all loaded examples rspec ./spec/rspec/core/runner_spec.rb:431 # RSpec::Core::Runner when run #run running files returns 2 if spec fails and --failure-exit-code is 2 rspec ./spec/rspec/core/runner_spec.rb:421 # RSpec::Core::Runner when run #run running files returns 0 if spec passes rspec ./spec/rspec/core/runner_spec.rb:426 # RSpec::Core::Runner when run #run running files returns 1 if spec fails rspec ./spec/rspec/core/runner_spec.rb:443 # RSpec::Core::Runner when run #run with custom output doesn't override output_stream rspec ./spec/rspec/core/configuration_options_spec.rb:480 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options for filter inclusion rspec ./spec/rspec/core/configuration_options_spec.rb:489 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers project file options over global file options rspec ./spec/rspec/core/configuration_options_spec.rb:495 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers local file options over project file options rspec ./spec/rspec/core/configuration_options_spec.rb:444 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS merges global, local, SPEC_OPTS, and CLI rspec ./spec/rspec/core/configuration_options_spec.rb:474 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS prefers CLI over file options rspec ./spec/rspec/core/configuration_options_spec.rb:501 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS parses options file correctly if erb code has trimming options rspec ./spec/rspec/core/configuration_options_spec.rb:458 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS ignores file or dir names put in one of the option files or in SPEC_OPTS, since those are for persistent options rspec ./spec/rspec/core/configuration_options_spec.rb:521 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file parses -e 'full spec description' rspec ./spec/rspec/core/configuration_options_spec.rb:512 # RSpec::Core::ConfigurationOptions sources: ~/.rspec, ./.rspec, ./.rspec-local, custom, CLI, and SPEC_OPTS with custom options file ignores project and global options files rspec ./spec/rspec/core/suite_hooks_spec.rb:126 # Configuration :suite hooks the runner runs :suite hooks before and after example groups in the correct order rspec ./spec/rspec/core/suite_hooks_spec.rb:115 # Configuration :suite hooks the runner still runs :suite hooks with metadata even though the metadata is ignored rspec ./spec/rspec/core/rake_task_spec.rb:254 # RSpec::Core::RakeTask sets the files to run in a consistent order, regardless of the underlying FileList ordering rspec ./spec/rspec/core/rake_task_spec.rb:261 # RSpec::Core::RakeTask with a pattern value that matches no files runs nothing rspec ./spec/rspec/core/rake_task_spec.rb:282 # RSpec::Core::RakeTask with a pattern value that is an absolute path file glob loads the matching spec files rspec ./spec/rspec/core/rake_task_spec.rb:275 # RSpec::Core::RakeTask with a pattern value that is an existing file, not a file glob loads the spec file rspec ./spec/rspec/core/rake_task_spec.rb:268 # RSpec::Core::RakeTask with a pattern value that is an existing directory, not a file glob loads the spec files in that directory rspec ./spec/rspec/core/rake_task_spec.rb:353 # RSpec::Core::RakeTask with a pattern value that is a FileList loads the files from the FileList rspec ./spec/rspec/core/rake_task_spec.rb:309 # RSpec::Core::RakeTask with a pattern value that is an array of existing files or directories, not a file glob loads the specified spec files, and spec files from the specified directories rspec ./spec/rspec/core/rake_task_spec.rb:329 # RSpec::Core::RakeTask with a pattern value that is an array of globs relative to the current working dir loads spec files that match any of the globs rspec ./spec/rspec/core/rake_task_spec.rb:341 # RSpec::Core::RakeTask with a pattern value that is a mixture of file globs and individual files or dirs loads all specified or matching files rspec ./spec/rspec/core/rake_task_spec.rb:322 # RSpec::Core::RakeTask with a pattern value that is a single glob that starts with ./ loads the spec files that match the glob rspec ./spec/rspec/core/rake_task_spec.rb:181 # RSpec::Core::RakeTask with SPEC env var set sets the files to run in a consistent order, regardless of the underlying FileList ordering rspec ./spec/rspec/core/rake_task_spec.rb:175 # RSpec::Core::RakeTask with SPEC env var set sets files to run rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:481 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when backtrace will generate a security error is handled gracefully rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:508 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when ruby reports a file that does not exist reports the filename and that it was unable to find the matching line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:519 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the stacktrace includes relative paths (which can happen when using `rspec/autorun` and running files through `ruby`) still finds the backtrace line rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:539 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when String alias to_int to_i doesn't hang when file exists rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:453 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count exceeds RSpec.configuration.max_displayed_failure_line_count returns the lines without exceeding the max count rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:438 # RSpec::Core::Formatters::ExceptionPresenter#read_failed_lines when the failed expression spans multiple lines and the line count does not exceed RSpec.configuration.max_displayed_failure_line_count returns all the lines rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:7] # RSpec::Core::SharedExampleGroup shared_context works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:8] # RSpec::Core::SharedExampleGroup shared_context generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:1] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:3] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:2] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:16:4] # RSpec::Core::SharedExampleGroup shared_context when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:1:1] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:2:1] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:15:2:2] # RSpec::Core::SharedExampleGroup shared_context when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:3] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:7] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:5] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:1] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:4] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:2] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:17:6] # RSpec::Core::SharedExampleGroup shared_context when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:5] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:6] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:2] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:4:14:4] # RSpec::Core::SharedExampleGroup shared_context when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:8] # RSpec::Core::SharedExampleGroup shared_examples_for generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:7] # RSpec::Core::SharedExampleGroup shared_examples_for works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:4] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:5] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:6] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:14:2] # RSpec::Core::SharedExampleGroup shared_examples_for when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:2:1] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:2:2] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:15:1:1] # RSpec::Core::SharedExampleGroup shared_examples_for when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:4] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:1] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:3] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:16:2] # RSpec::Core::SharedExampleGroup shared_examples_for when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:1] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:4] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:5] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:6] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:7] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:2] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:3:17:3] # RSpec::Core::SharedExampleGroup shared_examples_for when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:8] # RSpec::Core::SharedExampleGroup shared_examples generates a named (rather than anonymous) module rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:7] # RSpec::Core::SharedExampleGroup shared_examples works with top level defined examples in modules rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:4] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in a parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:3] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:2] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a nested example group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:16:1] # RSpec::Core::SharedExampleGroup shared_examples when called at the top level is available for inclusion from a top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:5] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` overwrites existing metadata values set at a parent level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:2] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` adds passed metadata to including groups and examples rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:6] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` propagates conflicted metadata to examples defined in the shared group when included via `it_behaves_like` since it makes a nested group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:14:4] # RSpec::Core::SharedExampleGroup shared_examples when `config.shared_context_metadata_behavior == :apply_to_host_groups` does not overwrite existing metadata values set at that level when included via `include_context` rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:1:1] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata when it has a `let` and applies to an individual example via metadata defines the `let` method correctly rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:2:2] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs the `after(:context)` hooks even if the `before(:context)` hook raises an error rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:15:2:1] # RSpec::Core::SharedExampleGroup shared_examples when the group is included via `config.include_context` and matching metadata hooks for individual examples that have matching metadata runs them rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:1] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion within that group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:5] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group trumps a shared group with the same name defined at the top level rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:3] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a different top level group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:6] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in the including context rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:7] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is trumped by a shared group with the same name that is defined in nearer parent group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:2] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is available for inclusion in a child group rspec ./spec/rspec/core/shared_example_group_spec.rb[1:2:17:4] # RSpec::Core::SharedExampleGroup shared_examples when called from within an example group is not available for inclusion in a nested group of a different top level group rspec ./spec/rspec/core/drb_spec.rb[2:1:4] # RSpec::Core::DRbOptions DRB args includes --no-color rspec ./spec/rspec/core/drb_spec.rb:145 # RSpec::Core::DRbOptions DRB args includes --order rspec ./spec/rspec/core/drb_spec.rb[2:1:3] # RSpec::Core::DRbOptions DRB args includes --force-color rspec ./spec/rspec/core/drb_spec.rb[2:1:7] # RSpec::Core::DRbOptions DRB args includes --backtrace rspec ./spec/rspec/core/drb_spec.rb[2:1:5] # RSpec::Core::DRbOptions DRB args includes --fail-fast rspec ./spec/rspec/core/drb_spec.rb[2:1:2] # RSpec::Core::DRbOptions DRB args includes --color rspec ./spec/rspec/core/drb_spec.rb:137 # RSpec::Core::DRbOptions DRB args includes --failure-exit-code rspec ./spec/rspec/core/drb_spec.rb:126 # RSpec::Core::DRbOptions DRB args preserves extra arguments rspec ./spec/rspec/core/drb_spec.rb:141 # RSpec::Core::DRbOptions DRB args includes --options rspec ./spec/rspec/core/drb_spec.rb[2:1:6] # RSpec::Core::DRbOptions DRB args includes --profile rspec ./spec/rspec/core/drb_spec.rb[2:1:8] # RSpec::Core::DRbOptions DRB args includes --tty rspec ./spec/rspec/core/drb_spec.rb:223 # RSpec::Core::DRbOptions DRB args with -I libs includes -I rspec ./spec/rspec/core/drb_spec.rb:227 # RSpec::Core::DRbOptions DRB args with -I libs includes multiple paths rspec ./spec/rspec/core/drb_spec.rb:238 # RSpec::Core::DRbOptions DRB args with --require includes multiple paths rspec ./spec/rspec/core/drb_spec.rb:234 # RSpec::Core::DRbOptions DRB args with --require includes --require rspec ./spec/rspec/core/drb_spec.rb:245 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV renders all the original arguments except --drb rspec ./spec/rspec/core/drb_spec.rb:160 # RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags rspec ./spec/rspec/core/drb_spec.rb:168 # RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags intact rspec ./spec/rspec/core/drb_spec.rb:173 # RSpec::Core::DRbOptions DRB args with tags leaves inclusion tags with values intact rspec ./spec/rspec/core/drb_spec.rb:186 # RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags intact rspec ./spec/rspec/core/drb_spec.rb:164 # RSpec::Core::DRbOptions DRB args with tags includes the inclusion tags with values rspec ./spec/rspec/core/drb_spec.rb:182 # RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags with values rspec ./spec/rspec/core/drb_spec.rb:191 # RSpec::Core::DRbOptions DRB args with tags leaves exclusion tags with values intact rspec ./spec/rspec/core/drb_spec.rb:178 # RSpec::Core::DRbOptions DRB args with tags includes the exclusion tags rspec ./spec/rspec/core/drb_spec.rb:271 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV and in as ARGV-specified --options file renders all the original arguments except --drb and --options rspec ./spec/rspec/core/drb_spec.rb:255 # RSpec::Core::DRbOptions DRB args --drb specified in the options file renders all the original arguments except --drb rspec ./spec/rspec/core/drb_spec.rb:216 # RSpec::Core::DRbOptions DRB args with --out combines with formatters rspec ./spec/rspec/core/drb_spec.rb:150 # RSpec::Core::DRbOptions DRB args with --example includes --example rspec ./spec/rspec/core/drb_spec.rb:154 # RSpec::Core::DRbOptions DRB args with --example unescapes characters which were escaped upon storing --example originally rspec ./spec/rspec/core/drb_spec.rb:202 # RSpec::Core::DRbOptions DRB args with formatters leaves formatters intact rspec ./spec/rspec/core/drb_spec.rb:198 # RSpec::Core::DRbOptions DRB args with formatters includes the formatters rspec ./spec/rspec/core/drb_spec.rb:208 # RSpec::Core::DRbOptions DRB args with formatters leaves output intact rspec ./spec/rspec/core/drb_spec.rb:279 # RSpec::Core::DRbOptions DRB args --drb, -X does not send --drb back to the parser after parsing options rspec ./spec/rspec/core/drb_spec.rb:263 # RSpec::Core::DRbOptions DRB args --drb specified in ARGV and the options file renders all the original arguments except --drb rspec ./spec/rspec/core/bisect/runner_spec.rb:294 # RSpec::Core::Bisect::Runner#original_results returns the run results rspec ./spec/rspec/core/bisect/runner_spec.rb:262 # RSpec::Core::Bisect::Runner#original_results runs the suite with the original CLI options rspec ./spec/rspec/core/bisect/runner_spec.rb:298 # RSpec::Core::Bisect::Runner#original_results memoizes, since it is expensive to re-run the suite rspec ./spec/rspec/core/bisect/runner_spec.rb:282 # RSpec::Core::Bisect::Runner#original_results when --bisect=verbose is present in SPEC_OPTS runs the suite with --bisect removed from the environment rspec ./spec/rspec/core/bisect/runner_spec.rb:269 # RSpec::Core::Bisect::Runner#original_results when --bisect is present in SPEC_OPTS runs the suite with --bisect removed from the environment rspec ./spec/rspec/core/bisect/runner_spec.rb:143 # RSpec::Core::Bisect::Runner#command_for escapes the load path entries rspec ./spec/rspec/core/bisect/runner_spec.rb:118 # RSpec::Core::Bisect::Runner#command_for includes the path to the rspec executable after the ruby executable rspec ./spec/rspec/core/bisect/runner_spec.rb:82 # RSpec::Core::Bisect::Runner#command_for uses the bisect formatter rspec ./spec/rspec/core/bisect/runner_spec.rb:62 # RSpec::Core::Bisect::Runner#command_for includes an option for the server's DRB port rspec ./spec/rspec/core/bisect/runner_spec.rb[1:2:7] # RSpec::Core::Bisect::Runner#command_for ignores a `--bisect=verbose` option since that would infinitely recurse rspec ./spec/rspec/core/bisect/runner_spec.rb:43 # RSpec::Core::Bisect::Runner#command_for includes the original CLI arg options rspec ./spec/rspec/core/bisect/runner_spec.rb:67 # RSpec::Core::Bisect::Runner#command_for ignores an existing --drb-port option (since we use the server's port instead) rspec ./spec/rspec/core/bisect/runner_spec.rb:134 # RSpec::Core::Bisect::Runner#command_for includes the current load path as an option to `ruby`, not as an option to `rspec` rspec ./spec/rspec/core/bisect/runner_spec.rb:48 # RSpec::Core::Bisect::Runner#command_for replaces the locations from the original CLI args with the provided locations rspec ./spec/rspec/core/bisect/runner_spec.rb:100 # RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb:110 # RSpec::Core::Bisect::Runner#command_for starts with the path to the current ruby executable rspec ./spec/rspec/core/bisect/runner_spec.rb:105 # RSpec::Core::Bisect::Runner#command_for excludes any -f and matching -o options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb:95 # RSpec::Core::Bisect::Runner#command_for excludes any --format and matching --out options passed in the original args rspec ./spec/rspec/core/bisect/runner_spec.rb[1:2:6] # RSpec::Core::Bisect::Runner#command_for ignores a `--bisect` option since that would infinitely recurse rspec ./spec/rspec/core/bisect/runner_spec.rb:53 # RSpec::Core::Bisect::Runner#command_for escapes locations rspec ./spec/rspec/core/bisect/runner_spec.rb[1:2:8] # RSpec::Core::Bisect::Runner#command_for ignores a `--bisect=blah` option since that would infinitely recurse rspec ./spec/rspec/core/bisect/runner_spec.rb:205 # RSpec::Core::Bisect::Runner#repro_command_from does not include `--bisect` even though the original args do rspec ./spec/rspec/core/bisect/runner_spec.rb:160 # RSpec::Core::Bisect::Runner#repro_command_from starts with `rspec #{example_ids}` rspec ./spec/rspec/core/bisect/runner_spec.rb:165 # RSpec::Core::Bisect::Runner#repro_command_from includes the original CLI args but excludes the original CLI locations rspec ./spec/rspec/core/bisect/runner_spec.rb:177 # RSpec::Core::Bisect::Runner#repro_command_from includes original options that `command_for` excludes rspec ./spec/rspec/core/bisect/runner_spec.rb:188 # RSpec::Core::Bisect::Runner#repro_command_from prints the files in alphabetical order rspec ./spec/rspec/core/bisect/runner_spec.rb:193 # RSpec::Core::Bisect::Runner#repro_command_from prints ids from the same file in sequential order rspec ./spec/rspec/core/bisect/runner_spec.rb:183 # RSpec::Core::Bisect::Runner#repro_command_from groups multiple ids for the same file together rspec ./spec/rspec/core/bisect/runner_spec.rb:210 # RSpec::Core::Bisect::Runner#repro_command_from quotes the ids on a shell like ZSH that requires it rspec ./spec/rspec/core/bisect/runner_spec.rb:170 # RSpec::Core::Bisect::Runner#repro_command_from includes the original SPEC_OPTS but excludes the --bisect flag rspec ./spec/rspec/core/example_status_persister_spec.rb:6 # Example status persisting can load a previously persisted set of example statuses from disk rspec ./spec/rspec/core/example_status_persister_spec.rb:105 # Example status persisting persisting example statuses includes the spec run times so users can use it for their own purposes rspec ./spec/rspec/core/example_status_persister_spec.rb:49 # Example status persisting persisting example statuses creates any necessary intermediary directories rspec ./spec/rspec/core/example_status_persister_spec.rb:115 # Example status persisting persisting example statuses persists a loaded but unexecuted example with an unknown status rspec ./spec/rspec/core/example_status_persister_spec.rb:36 # Example status persisting persisting example statuses writes the given example statuses to disk rspec ./spec/rspec/core/example_status_persister_spec.rb:61 # Example status persisting persisting example statuses prevents simultaneous access to the file rspec ./spec/rspec/core/example_status_persister_spec.rb:91 # Example status persisting persisting example statuses merges the example statuses with the existing records in the named file rspec ./spec/rspec/core/example_status_persister_spec.rb:126 # Example status persisting persisting example statuses persists a skipped example properly rspec ./spec/rspec/core/backtrace_formatter_spec.rb:247 # RSpec::Core::BacktraceFormatter#backtrace_line deals gracefully with a security error rspec ./spec/rspec/core/backtrace_formatter_spec.rb:241 # RSpec::Core::BacktraceFormatter#backtrace_line preserves the original line rspec ./spec/rspec/core/backtrace_formatter_spec.rb:237 # RSpec::Core::BacktraceFormatter#backtrace_line trims current working directory rspec ./spec/rspec/core/hooks_spec.rb:469 # RSpec::Core::Hooks lambda can be used as a hook rspec ./spec/rspec/core/hooks_spec.rb[1:24:1] # RSpec::Core::Hooks prepend_before(each) adds to the front of the list of before(:each) hooks rspec ./spec/rspec/core/hooks_spec.rb[1:4:1] # RSpec::Core::Hooks#after(context) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:17:4] # RSpec::Core::Hooks#after(:example) yields the example as an argument to the hook rspec ./spec/rspec/core/hooks_spec.rb[1:5:1] # RSpec::Core::Hooks#before(suite) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:2:1] # RSpec::Core::Hooks#after(example) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:6:1] # RSpec::Core::Hooks#after(suite) runs subsequent hooks of the same type when an error is encountered so all cleanup can complete rspec ./spec/rspec/core/hooks_spec.rb[1:21:1] # RSpec::Core::Hooks append_before(all) adds to the back of the list of before(:all) hooks (same as `before`) rspec ./spec/rspec/core/hooks_spec.rb[1:1:1] # RSpec::Core::Hooks#before(example) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:26:1] # RSpec::Core::Hooks prepend_after(each) adds to the front of the list of after(:each) hooks (same as `after`) rspec ./spec/rspec/core/hooks_spec.rb[1:25:1] # RSpec::Core::Hooks append_before(each) adds to the back of the list of before(:each) hooks (same as `before`) rspec ./spec/rspec/core/hooks_spec.rb[1:23:1] # RSpec::Core::Hooks append_after(all) adds to the back of the list of after(:all) hooks rspec ./spec/rspec/core/hooks_spec.rb:203 # RSpec::Core::Hooks#around considers the hook to have run when passed as a block to a method that yields rspec ./spec/rspec/core/hooks_spec.rb:218 # RSpec::Core::Hooks#around does not consider the hook to have run when passed as a block to a method that does not yield rspec ./spec/rspec/core/hooks_spec.rb:333 # RSpec::Core::Hooks#around when running the example within a block passed to a method runs the example rspec ./spec/rspec/core/hooks_spec.rb:261 # RSpec::Core::Hooks#around when running the example within the around block exposes example metadata to each around hook rspec ./spec/rspec/core/hooks_spec.rb:247 # RSpec::Core::Hooks#around when running the example within the around block runs the example rspec ./spec/rspec/core/hooks_spec.rb:280 # RSpec::Core::Hooks#around when running the example within the around block exposes the full example interface to each around hook rspec ./spec/rspec/core/hooks_spec.rb:316 # RSpec::Core::Hooks#around when running the example within the around block exposes a sensible inspect value rspec ./spec/rspec/core/hooks_spec.rb:187 # RSpec::Core::Hooks#around when it does not run the example indicates which around hook did not run the example in the pending message rspec ./spec/rspec/core/hooks_spec.rb:164 # RSpec::Core::Hooks#around when it does not run the example for a hook declared in config converts the example to a skipped example so the user is made aware of it rspec ./spec/rspec/core/hooks_spec.rb:151 # RSpec::Core::Hooks#around when it does not run the example for a hook declared in the group converts the example to a skipped example so the user is made aware of it rspec ./spec/rspec/core/hooks_spec.rb:232 # RSpec::Core::Hooks#around when not running the example within the around block does not run the example rspec ./spec/rspec/core/hooks_spec.rb[1:20:1] # RSpec::Core::Hooks prepend_before(all) adds to the front of the list of before(:all) hooks rspec ./spec/rspec/core/hooks_spec.rb[1:22:1] # RSpec::Core::Hooks prepend_after(all) adds to the front of the list of after(:all) hooks (same as `after`) rspec ./spec/rspec/core/hooks_spec.rb[1:15:4] # RSpec::Core::Hooks#before(:example) yields the example as an argument to the hook rspec ./spec/rspec/core/hooks_spec.rb[1:3:1] # RSpec::Core::Hooks#before(context) stops running subsequent hooks of the same type when an error is encountered rspec ./spec/rspec/core/hooks_spec.rb[1:27:1] # RSpec::Core::Hooks append_after(each) adds to the back of the list of after(:each) hooks rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:51 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group doesn't profile a single example group rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:1] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples names the example rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:3] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the path rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:2] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:1:1:4] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with one example group it should behave like profiles examples prints the percentage taken from the total runtime rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:77 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the slowest example groups rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:81 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:85 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups ranks the example groups by average time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb:89 # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups prints the location of the slow groups rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:2] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the time rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:3] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the path rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:4] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples prints the percentage taken from the total runtime rspec ./spec/rspec/core/formatters/profile_formatter_spec.rb[1:1:2:1:1] # RSpec::Core::Formatters::ProfileFormatter#dump_profile with multiple example groups it should behave like profiles examples names the example rspec ./spec/rspec/core/metadata_spec.rb:38 # RSpec::Core::Metadata RESERVED_KEYS contains all keys assigned by RSpec (and vice versa) rspec ./spec/rspec/core/metadata_spec.rb:653 # RSpec::Core::Metadata :file_path finds the first non-rspec lib file in the caller array rspec ./spec/rspec/core/metadata_spec.rb:684 # RSpec::Core::Metadata :line_number uses the number after the first : for ruby 1.9 rspec ./spec/rspec/core/metadata_spec.rb:676 # RSpec::Core::Metadata :line_number finds the line number with the first non-rspec lib file in the backtrace rspec ./spec/rspec/core/metadata_spec.rb:425 # RSpec::Core::Metadata :described_class in a nested group inherits the parent group's described class rspec ./spec/rspec/core/metadata_spec.rb:437 # RSpec::Core::Metadata :described_class in a nested group sets the described class when passing a class rspec ./spec/rspec/core/metadata_spec.rb:461 # RSpec::Core::Metadata :described_class in a nested group can override a parent group's described class using metadata rspec ./spec/rspec/core/metadata_spec.rb:449 # RSpec::Core::Metadata :described_class in a nested group does not override the :described_class when passing no describe args rspec ./spec/rspec/core/metadata_spec.rb:690 # RSpec::Core::Metadata child example group nests the parent's example group metadata rspec ./spec/rspec/core/metadata_spec.rb:17 # RSpec::Core::Metadata.relative_path gracefully returns nil if run in a secure thread rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:4:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that generates a nested group contains a stack frame for each inclusion, in the same order as ruby backtraces rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:3:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that generates a nested group is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb:306 # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example not generated by a shared group is a blank array rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:5:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group using an inclusion method that adds the examples directly to the host group is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb[1:9:2:6:1] # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by a nested shared group using an inclusion method that adds the examples directly to the host group contains a stack frame for each inclusion, in the same order as ruby backtraces rspec ./spec/rspec/core/metadata_spec.rb:314 # RSpec::Core::Metadata :shared_group_inclusion_backtrace for an example generated by an unnested shared group included via metadata is an array containing an object with shared group name and inclusion location rspec ./spec/rspec/core/metadata_spec.rb:159 # RSpec::Core::Metadata for an example group does not include example specific keys rspec ./spec/rspec/core/metadata_spec.rb:282 # RSpec::Core::Metadata :id on an example defined in a shared group defined in a separate file uses the host group's file name as the prefix rspec ./spec/rspec/core/metadata_spec.rb:573 # RSpec::Core::Metadata :full_description concats nested example group descriptions rspec ./spec/rspec/core/metadata_spec.rb:563 # RSpec::Core::Metadata :full_description omits description from groups with a description of `''` rspec ./spec/rspec/core/metadata_spec.rb:553 # RSpec::Core::Metadata :full_description omits description from groups with a `nil` description rspec ./spec/rspec/core/metadata_spec.rb:587 # RSpec::Core::Metadata :full_description concats nested example group descriptions three deep rspec ./spec/rspec/core/metadata_spec.rb[1:12:14:1] # RSpec::Core::Metadata :full_description with a description starting with :: nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:6:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with # removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:13:1] # RSpec::Core::Metadata :full_description with a description starting with :: nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb:542 # RSpec::Core::Metadata :full_description on an example concats example group name and description rspec ./spec/rspec/core/metadata_spec.rb[1:12:7:1] # RSpec::Core::Metadata :full_description with a description starting with # nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:11:1] # RSpec::Core::Metadata :full_description with a description starting with . nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:8:1] # RSpec::Core::Metadata :full_description with a description starting with # nested under a context string does not remove the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:9:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with . removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:10:1] # RSpec::Core::Metadata :full_description with a description starting with . nested under a module removes the space rspec ./spec/rspec/core/metadata_spec.rb[1:12:12:1] # RSpec::Core::Metadata :full_description with a 2nd arg starting with :: removes the space rspec ./spec/rspec/core/metadata_spec.rb:843 # RSpec::Core::Metadata backwards compatibility :example_group_block issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:833 # RSpec::Core::Metadata backwards compatibility :example_group_block returns the block rspec ./spec/rspec/core/metadata_spec.rb:816 # RSpec::Core::Metadata backwards compatibility :example_group can still be filtered via a nested key under [:example_group] as before rspec ./spec/rspec/core/metadata_spec.rb:711 # RSpec::Core::Metadata backwards compatibility :example_group issues a deprecation warning when the `:example_group` key is accessed rspec ./spec/rspec/core/metadata_spec.rb:776 # RSpec::Core::Metadata backwards compatibility :example_group allows integration libraries like VCR to infer a fixture name from the example description by walking up nesting structure rspec ./spec/rspec/core/metadata_spec.rb:732 # RSpec::Core::Metadata backwards compatibility :example_group can access the parent example group attributes via [:example_group][:example_group] rspec ./spec/rspec/core/metadata_spec.rb:764 # RSpec::Core::Metadata backwards compatibility :example_group works properly with shallow nesting rspec ./spec/rspec/core/metadata_spec.rb:724 # RSpec::Core::Metadata backwards compatibility :example_group can still access the example group attributes via [:example_group] rspec ./spec/rspec/core/metadata_spec.rb:802 # RSpec::Core::Metadata backwards compatibility :example_group can mutate attributes when accessing them via [:example_group] rspec ./spec/rspec/core/metadata_spec.rb:746 # RSpec::Core::Metadata backwards compatibility :example_group works properly with deep nesting rspec ./spec/rspec/core/metadata_spec.rb:872 # RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash returns the described_class rspec ./spec/rspec/core/metadata_spec.rb:882 # RSpec::Core::Metadata backwards compatibility :describes an an example metadata hash issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:863 # RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash issues a deprecation warning rspec ./spec/rspec/core/metadata_spec.rb:853 # RSpec::Core::Metadata backwards compatibility :describes on an example group metadata hash returns the described_class rspec ./spec/rspec/core/metadata_spec.rb:521 # RSpec::Core::Metadata :description on a group with a non-string and a string concats the args rspec ./spec/rspec/core/metadata_spec.rb:533 # RSpec::Core::Metadata :description on a group with empty args returns empty string for [:description] rspec ./spec/rspec/core/metadata_spec.rb:527 # RSpec::Core::Metadata :description on a group with a string and a non-string concats the args rspec ./spec/rspec/core/metadata_spec.rb:509 # RSpec::Core::Metadata :description on a group with a string provides the submitted description rspec ./spec/rspec/core/metadata_spec.rb:515 # RSpec::Core::Metadata :description on a group with a non-string provides the string form of the submitted object rspec ./spec/rspec/core/metadata_spec.rb:486 # RSpec::Core::Metadata :description on a example just has the example description rspec ./spec/rspec/core/metadata_spec.rb:179 # RSpec::Core::Metadata :block for example group metadata contains the example group block rspec ./spec/rspec/core/metadata_spec.rb:187 # RSpec::Core::Metadata :block for example metadata contains the example block rspec ./spec/rspec/core/metadata_spec.rb:92 # RSpec::Core::Metadata for an example stores the description args rspec ./spec/rspec/core/metadata_spec.rb:112 # RSpec::Core::Metadata for an example extracts line number from caller rspec ./spec/rspec/core/metadata_spec.rb:116 # RSpec::Core::Metadata for an example extracts location from caller rspec ./spec/rspec/core/metadata_spec.rb:108 # RSpec::Core::Metadata for an example extracts file path from caller rspec ./spec/rspec/core/metadata_spec.rb:125 # RSpec::Core::Metadata for an example merges arbitrary options rspec ./spec/rspec/core/metadata_spec.rb:129 # RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group rspec ./spec/rspec/core/metadata_spec.rb:96 # RSpec::Core::Metadata for an example ignores nil description args rspec ./spec/rspec/core/metadata_spec.rb:100 # RSpec::Core::Metadata for an example stores the full_description (group description + example description) rspec ./spec/rspec/core/metadata_spec.rb:143 # RSpec::Core::Metadata for an example does not include example-group specific keys rspec ./spec/rspec/core/metadata_spec.rb:104 # RSpec::Core::Metadata for an example creates an empty execution result rspec ./spec/rspec/core/metadata_spec.rb:120 # RSpec::Core::Metadata for an example uses :caller if passed as an option rspec ./spec/rspec/core/project_initializer_spec.rb:87 # RSpec::Core::ProjectInitializer#run with a target directory with no .rspec file generates a .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:103 # RSpec::Core::ProjectInitializer#run with a target directory with no spec/spec_helper.rb file generates a spec/spec_helper.rb rspec ./spec/rspec/core/project_initializer_spec.rb:110 # RSpec::Core::ProjectInitializer#run with a target directory with a spec/spec_helper.rb file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:94 # RSpec::Core::ProjectInitializer#run with a target directory with a .rspec file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:35 # RSpec::Core::ProjectInitializer#run with no args with a .rspec file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:27 # RSpec::Core::ProjectInitializer#run with no args with a .rspec file says .rspec exists rspec ./spec/rspec/core/project_initializer_spec.rb:43 # RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file says it's creating spec/spec_helper.rb rspec ./spec/rspec/core/project_initializer_spec.rb:50 # RSpec::Core::ProjectInitializer#run with no args with no spec/spec_helper.rb file generates a spec/spec_helper.rb rspec ./spec/rspec/core/project_initializer_spec.rb:20 # RSpec::Core::ProjectInitializer#run with no args with no .rspec file generates a .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:13 # RSpec::Core::ProjectInitializer#run with no args with no .rspec file says it's creating .rspec rspec ./spec/rspec/core/project_initializer_spec.rb:67 # RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file doesn't create a new one rspec ./spec/rspec/core/project_initializer_spec.rb:59 # RSpec::Core::ProjectInitializer#run with no args with a spec/spec_helper.rb file says spec/spec_helper.rb exists rspec ./spec/rspec/core/formatters/deprecation_formatter_spec.rb:106 # RSpec::Core::Formatters::DeprecationFormatter#deprecation_summary with a File deprecation_stream does not print duplicate messages rspec ./spec/rspec/core/bisect/server_spec.rb:61 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter receives suite results rspec ./spec/rspec/core/bisect/server_spec.rb:139 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure is pending instead, even when there are remaining failing examples rspec ./spec/rspec/core/bisect/server_spec.rb:118 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts after an expected failure passes instead, even when there are remaining failing examples rspec ./spec/rspec/core/bisect/server_spec.rb:92 # RSpec::Core::Bisect::Server when used in combination with the BisectFormatter aborting the run early aborts as soon as the last expected failure finishes, since we don't care about what happens after that rspec ./spec/rspec/core/metadata_filter_spec.rb:210 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a proc that evaluates to true rspec ./spec/rspec/core/metadata_filter_spec.rb:192 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a string rspec ./spec/rspec/core/metadata_filter_spec.rb:218 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches when a metadata key is specified without a value and exists in the metadata hash rspec ./spec/rspec/core/metadata_filter_spec.rb:214 # RSpec::Core::MetadataFilter.filter_applies? with an Array does not match a proc that evaluates to false rspec ./spec/rspec/core/metadata_filter_spec.rb:186 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a symbol rspec ./spec/rspec/core/metadata_filter_spec.rb:204 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches a regexp rspec ./spec/rspec/core/metadata_filter_spec.rb:198 # RSpec::Core::MetadataFilter.filter_applies? with an Array matches an integer rspec ./spec/rspec/core/configuration_spec.rb:850 # RSpec::Core::Configuration allows file names with brackets rspec ./spec/rspec/core/configuration_spec.rb:795 # RSpec::Core::Configuration#exclude_pattern after `files_to_run` has been accessed but before files have been loaded still takes affect rspec ./spec/rspec/core/configuration_spec.rb:754 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values rspec ./spec/rspec/core/configuration_spec.rb:762 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports comma separated values with spaces rspec ./spec/rspec/core/configuration_spec.rb:770 # RSpec::Core::Configuration#exclude_pattern with multiple patterns supports curly braces glob syntax rspec ./spec/rspec/core/configuration_spec.rb:731 # RSpec::Core::Configuration#exclude_pattern with single pattern does not load files in directories following exclude pattern rspec ./spec/rspec/core/configuration_spec.rb:737 # RSpec::Core::Configuration#exclude_pattern with single pattern loads files in directories not following exclude pattern rspec ./spec/rspec/core/configuration_spec.rb:743 # RSpec::Core::Configuration#exclude_pattern with single pattern ignores exclude_pattern if files are specified rspec ./spec/rspec/core/configuration_spec.rb:2544 # RSpec::Core::Configuration#expose_current_running_example_as exposes the current example via the named method rspec ./spec/rspec/core/configuration_spec.rb:1912 # RSpec::Core::Configuration#when_first_matching_example_defined does not fire when later matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:1944 # RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if groups match the metadata but no examples do rspec ./spec/rspec/core/configuration_spec.rb:1960 # RSpec::Core::Configuration#when_first_matching_example_defined still runs after the first matching example even if there is a group that matches earlier rspec ./spec/rspec/core/configuration_spec.rb:1930 # RSpec::Core::Configuration#when_first_matching_example_defined does not run the block if no matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:1896 # RSpec::Core::Configuration#when_first_matching_example_defined runs the block when the first matching example is defined rspec ./spec/rspec/core/configuration_spec.rb:1998 # RSpec::Core::Configuration#when_first_matching_example_defined when the value of the registered metadata is a Proc does not fire when later matching examples are defined rspec ./spec/rspec/core/configuration_spec.rb:1980 # RSpec::Core::Configuration#when_first_matching_example_defined when a group is defined with matching metadata runs the callback after the first example in the group is defined rspec ./spec/rspec/core/configuration_spec.rb:2018 # RSpec::Core::Configuration#when_first_matching_example_defined when a matching example group with other registered metadata has been defined does not fire when later matching examples with the other metadata are defined rspec ./spec/rspec/core/configuration_spec.rb:190 # RSpec::Core::Configuration#mock_framework when rspec-mocks is not installed gracefully falls back to :nothing rspec ./spec/rspec/core/configuration_spec.rb:2598 # RSpec::Core::Configuration#disable_monkey_patching! stops using should syntax for mocks rspec ./spec/rspec/core/configuration_spec.rb:2650 # RSpec::Core::Configuration#disable_monkey_patching! when user did not configure expectation framework disables monkey patching after example groups being configured rspec ./spec/rspec/core/configuration_spec.rb:2627 # RSpec::Core::Configuration#disable_monkey_patching! when user did not configure mock framework disables monkey patching after example groups being configured rspec ./spec/rspec/core/configuration_spec.rb:145 # RSpec::Core::Configuration#requires= adds the configured `default_path` to the load path rspec ./spec/rspec/core/configuration_spec.rb:136 # RSpec::Core::Configuration#requires= adds `lib` to the load path rspec ./spec/rspec/core/configuration_spec.rb:1824 # RSpec::Core::Configuration#define_derived_metadata registers examples before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:1777 # RSpec::Core::Configuration#define_derived_metadata derives metadata before the group or example blocks are eval'd so their logic can depend on the derived metadata rspec ./spec/rspec/core/configuration_spec.rb:1795 # RSpec::Core::Configuration#define_derived_metadata registers top-level groups before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:1808 # RSpec::Core::Configuration#define_derived_metadata registers nested groups before invoking the callback so the logic can configure already registered groups rspec ./spec/rspec/core/configuration_spec.rb:470 # RSpec::Core::Configuration#files_to_run supports relative path patterns for an alternate directory from `spec` rspec ./spec/rspec/core/configuration_spec.rb:501 # RSpec::Core::Configuration#files_to_run attempts to load the provided file names rspec ./spec/rspec/core/configuration_spec.rb:491 # RSpec::Core::Configuration#files_to_run reloads when `files_or_directories_to_run` is reassigned rspec ./spec/rspec/core/configuration_spec.rb:434 # RSpec::Core::Configuration#files_to_run loads files not following pattern if named explicitly rspec ./spec/rspec/core/configuration_spec.rb:457 # RSpec::Core::Configuration#files_to_run supports absolute path patterns rspec ./spec/rspec/core/configuration_spec.rb:439 # RSpec::Core::Configuration#files_to_run prevents repetition of dir when start of the pattern rspec ./spec/rspec/core/configuration_spec.rb:451 # RSpec::Core::Configuration#files_to_run supports patterns starting with ./ rspec ./spec/rspec/core/configuration_spec.rb:445 # RSpec::Core::Configuration#files_to_run does not prevent repetition of dir when later of the pattern rspec ./spec/rspec/core/configuration_spec.rb:530 # RSpec::Core::Configuration#files_to_run with default pattern loads files named _spec.rb rspec ./spec/rspec/core/configuration_spec.rb[1:15:12:4:1] # RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files finds the files rspec ./spec/rspec/core/configuration_spec.rb[1:15:12:4:2] # RSpec::Core::Configuration#files_to_run with default pattern behaves like handling symlinked directories when loading spec files works on a more complicated example (issue 1113) rspec ./spec/rspec/core/configuration_spec.rb:560 # RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run with DRB (e.g., spork) rspec ./spec/rspec/core/configuration_spec.rb:554 # RSpec::Core::Configuration#files_to_run with default default_path loads files in the default path when run by rspec rspec ./spec/rspec/core/configuration_spec.rb:653 # RSpec::Core::Configuration#pattern with single pattern loads files in directories following pattern rspec ./spec/rspec/core/configuration_spec.rb:665 # RSpec::Core::Configuration#pattern with single pattern ignores pattern if files are specified rspec ./spec/rspec/core/configuration_spec.rb:645 # RSpec::Core::Configuration#pattern with single pattern loads all explicitly specified files, even those that do not match the pattern rspec ./spec/rspec/core/configuration_spec.rb:659 # RSpec::Core::Configuration#pattern with single pattern does not load files in directories not following pattern rspec ./spec/rspec/core/configuration_spec.rb:717 # RSpec::Core::Configuration#pattern after `files_to_run` has been accessed but before files have been loaded still takes affect rspec ./spec/rspec/core/configuration_spec.rb:676 # RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values rspec ./spec/rspec/core/configuration_spec.rb:692 # RSpec::Core::Configuration#pattern with multiple patterns supports curly braces glob syntax rspec ./spec/rspec/core/configuration_spec.rb:684 # RSpec::Core::Configuration#pattern with multiple patterns supports comma separated values with spaces rspec ./spec/rspec/core/configuration_spec.rb:1142 # RSpec::Core::Configuration#extend extends the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:1133 # RSpec::Core::Configuration#extend extends the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:1183 # RSpec::Core::Configuration#prepend with no filter prepends the given module into each existing example group rspec ./spec/rspec/core/configuration_spec.rb:1174 # RSpec::Core::Configuration#prepend with no filter prepends the given module into each example group rspec ./spec/rspec/core/configuration_spec.rb:1195 # RSpec::Core::Configuration#prepend with a filter prepends the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:1204 # RSpec::Core::Configuration#prepend with a filter prepends the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:257 # RSpec::Core::Configuration#mock_with uses the null adapter when given :nothing rspec ./spec/rspec/core/configuration_spec.rb:233 # RSpec::Core::Configuration#mock_with allows rspec-mocks to be configured with a provided block rspec ./spec/rspec/core/configuration_spec.rb:1034 # RSpec::Core::Configuration#include with a filter includes the given module into each existing matching example group rspec ./spec/rspec/core/configuration_spec.rb:1073 # RSpec::Core::Configuration#include with a filter ensures that `before` hooks have access to the module methods, even when only included in the singleton class of one example rspec ./spec/rspec/core/configuration_spec.rb:1093 # RSpec::Core::Configuration#include with a filter does not include the module in an example's singleton class when it has already been included in the group rspec ./spec/rspec/core/configuration_spec.rb:1014 # RSpec::Core::Configuration#include with a filter includes the given module into each matching example group rspec ./spec/rspec/core/configuration_spec.rb:1053 # RSpec::Core::Configuration#include with a filter includes the given module into the singleton class of matching examples rspec ./spec/rspec/core/configuration_spec.rb:991 # RSpec::Core::Configuration#include with no filter includes the given module into each example group rspec ./spec/rspec/core/configuration_spec.rb:1001 # RSpec::Core::Configuration#include with no filter includes the given module into each existing example group rspec ./spec/rspec/core/configuration_spec.rb:31 # RSpec::Core::Configuration#on_example_group_definition successfully invokes the block rspec ./spec/rspec/core/configuration_spec.rb:957 # RSpec::Core::Configuration#include_context with metadata filters includes the named shared example group in the singleton class of matching examples rspec ./spec/rspec/core_spec.rb:319 # RSpec does not blow up if some gem defines `Kernel#it` rspec ./spec/rspec/core_spec.rb:302 # RSpec loads mocks and expectations when the constants are referenced rspec ./spec/rspec/core_spec.rb:247 # RSpec.clear_examples clears the deprecation buffer rspec ./spec/rspec/core_spec.rb:210 # RSpec.clear_examples restores inclusion rules set by configuration rspec ./spec/rspec/core_spec.rb:230 # RSpec.clear_examples restores exclusion rules set by configuration rspec ./spec/rspec/core_spec.rb:180 # RSpec.clear_examples clears examples, failed_examples and pending_examples rspec ./spec/rspec/core_spec.rb:291 # RSpec::Core.path_to_executable returns the absolute location of the exe/rspec file rspec ./spec/rspec/core_spec.rb[1:1:1] # RSpec behaves like library wide checks issues no warnings when loaded rspec ./spec/rspec/core_spec.rb[1:1:2] # RSpec behaves like library wide checks issues no warnings when the spec files are loaded rspec ./spec/rspec/core_spec.rb[1:1:3] # RSpec 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 rspec ./spec/rspec/core_spec.rb[1:1:4] # RSpec behaves like library wide checks has no malformed whitespace rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:62 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples uses the location to identify the example rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:99 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location uses the id instead rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:112 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids correctly escapes file names that have quotes in them rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:108 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example that is not uniquely identified by the location on a shell that may not handle unquoted ids quotes the id to be safe so the rerun command can be copied and pasted rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:72 # RSpec::Core::Formatters::BaseTextFormatter#dump_summary rerun command for failed examples for an example defined in an file required by the user rather than loaded by rspec looks through ancestor metadata to find a workable re-run command rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:140 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures preserves formatting rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:2:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains nested example groups outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:9:3:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using include_examples that contains shared group nesting includes each inclusion location in the output rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:192 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has a differently encoded message runs without encountering an encoding exception rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:174 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an instance of an anonymous exception class substitutes '(anonymous error class)' for the missing class name rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:201 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed expectation (rspec-expectations) does not show the error class rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:183 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception class other than RSpec does not show the error class rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:150 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message does not throw NoMethodError rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:157 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception without a message preserves ancestry rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:209 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with a failed message expectation (rspec-mocks) does not show the error class rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:3:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains shared group nesting includes each inclusion location in the output rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb[1:3:10:2:1] # RSpec::Core::Formatters::BaseTextFormatter#dump_failures for #shared_examples included using it_should_behave_like that contains nested example groups outputs the name and location rspec ./spec/rspec/core/formatters/base_text_formatter_spec.rb:165 # RSpec::Core::Formatters::BaseTextFormatter#dump_failures with an exception that has an exception instance as its message does not raise NoMethodError rspec ./spec/rspec/core/memoized_helpers_spec.rb:70 # RSpec::Core::MemoizedHelpers implicit subject can be overriden and super'd to from a nested group rspec ./spec/rspec/core/memoized_helpers_spec.rb:17 # RSpec::Core::MemoizedHelpers implicit subject with a class returns an instance of the class rspec ./spec/rspec/core/memoized_helpers_spec.rb:47 # RSpec::Core::MemoizedHelpers implicit subject with a symbol returns the symbol rspec ./spec/rspec/core/memoized_helpers_spec.rb:65 # RSpec::Core::MemoizedHelpers implicit subject with nil returns `nil` rspec ./spec/rspec/core/memoized_helpers_spec.rb:59 # RSpec::Core::MemoizedHelpers implicit subject with false returns `false` rspec ./spec/rspec/core/memoized_helpers_spec.rb:41 # RSpec::Core::MemoizedHelpers implicit subject with a hash returns the hash rspec ./spec/rspec/core/memoized_helpers_spec.rb:23 # RSpec::Core::MemoizedHelpers implicit subject with a Module returns the Module rspec ./spec/rspec/core/memoized_helpers_spec.rb:53 # RSpec::Core::MemoizedHelpers implicit subject with true returns `true` rspec ./spec/rspec/core/memoized_helpers_spec.rb:35 # RSpec::Core::MemoizedHelpers implicit subject with a number returns the number rspec ./spec/rspec/core/memoized_helpers_spec.rb:29 # RSpec::Core::MemoizedHelpers implicit subject with a string returns the string rspec ./spec/rspec/core/memoized_helpers_spec.rb:372 # RSpec::Core::MemoizedHelpers threadsafety when not threadsafe can wind up overwriting the previous memoized value (but if you don't need threadsafety, this is faster) rspec ./spec/rspec/core/memoized_helpers_spec.rb:417 # RSpec::Core::MemoizedHelpers threadsafety when threadsafe memoized block will only be evaluated once rspec ./spec/rspec/core/memoized_helpers_spec.rb:437 # RSpec::Core::MemoizedHelpers threadsafety when threadsafe memoized blocks prevent other threads from accessing, even when it is accesssed in a superclass rspec ./spec/rspec/core/memoized_helpers_spec.rb:396 # RSpec::Core::MemoizedHelpers threadsafety when threadsafe first thread to access determines the return value rspec ./spec/rspec/core/memoized_helpers_spec.rb:328 # RSpec::Core::MemoizedHelpers using 'self' as an explicit subject delegates matcher to the ExampleGroup rspec ./spec/rspec/core/memoized_helpers_spec.rb:342 # RSpec::Core::MemoizedHelpers using 'self' as an explicit subject supports a new expect-based syntax rspec ./spec/rspec/core/memoized_helpers_spec.rb:89 # RSpec::Core::MemoizedHelpers explicit subject yields the example in which it is eval'd rspec ./spec/rspec/core/memoized_helpers_spec.rb[1:2:6:5] # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group raises an error when referenced from `after(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:164 # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group can be overriden and super'd to from a nested group rspec ./spec/rspec/core/memoized_helpers_spec.rb[1:2:6:4] # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group raises an error when referenced from `before(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:144 # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group is available in a nested group (subclass) rspec ./spec/rspec/core/memoized_helpers_spec.rb:153 # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group is available in a doubly nested group (subclass) rspec ./spec/rspec/core/memoized_helpers_spec.rb:129 # RSpec::Core::MemoizedHelpers explicit subject defined in a top level group replaces the implicit subject in that group rspec ./spec/rspec/core/memoized_helpers_spec.rb:224 # RSpec::Core::MemoizedHelpers explicit subject with a name is referred from inside subject by the name rspec ./spec/rspec/core/memoized_helpers_spec.rb:192 # RSpec::Core::MemoizedHelpers explicit subject with a name yields the example in which it is eval'd rspec ./spec/rspec/core/memoized_helpers_spec.rb:274 # RSpec::Core::MemoizedHelpers explicit subject with a name is not overriden when an inner group defines a new method with the same name rspec ./spec/rspec/core/memoized_helpers_spec.rb:238 # RSpec::Core::MemoizedHelpers explicit subject with a name can continue to be referenced by the name even when an inner group redefines the subject rspec ./spec/rspec/core/memoized_helpers_spec.rb:204 # RSpec::Core::MemoizedHelpers explicit subject with a name defines a method that returns the memoized subject rspec ./spec/rspec/core/memoized_helpers_spec.rb:256 # RSpec::Core::MemoizedHelpers explicit subject with a name can continue to reference an inner subject after the outer subject name is referenced rspec ./spec/rspec/core/memoized_helpers_spec.rb:309 # RSpec::Core::MemoizedHelpers explicit subject with a name when `super` is used raises a "not supported" error rspec ./spec/rspec/core/memoized_helpers_spec.rb:314 # RSpec::Core::MemoizedHelpers explicit subject with a name when `super` is used with a `let` definition before the named subject raises a "not supported" error rspec ./spec/rspec/core/memoized_helpers_spec.rb[1:2:4:1] # RSpec::Core::MemoizedHelpers explicit subject with a value of nil is evaluated once per example rspec ./spec/rspec/core/memoized_helpers_spec.rb[1:2:3:1] # RSpec::Core::MemoizedHelpers explicit subject with a value of false is evaluated once per example rspec ./spec/rspec/core/pending_example_spec.rb:86 # an example with no block is listed as pending with 'Not yet implemented' rspec ./spec/rspec/core/pending_example_spec.rb:158 # an example with no docstring after another example with some assertion does not show any message rspec ./spec/rspec/core/pending_example_spec.rb:141 # an example with no docstring declared with the pending method has an auto-generated description if it has an expectation rspec ./spec/rspec/core/pending_example_spec.rb:190 # an example with a block fails with an ArgumentError stating the syntax is deprecated rspec ./spec/rspec/core/pending_example_spec.rb:207 # an example with a block does not yield to the block rspec ./spec/rspec/core/pending_example_spec.rb:176 # an example with a message is listed as pending with the supplied message rspec ./spec/rspec/core/pending_example_spec.rb:97 # an example with no args is listed as pending with the default message rspec ./spec/rspec/core/pending_example_spec.rb:126 # an example with no args does not mutate the :pending attribute of the user metadata when the rest of the example passes rspec ./spec/rspec/core/pending_example_spec.rb:109 # an example with no args fails when the rest of the example passes rspec ./spec/rspec/core/pending_example_spec.rb:3 # an example declared pending with metadata uses the value assigned to :pending as the message rspec ./spec/rspec/core/pending_example_spec.rb:25 # an example declared pending with metadata passes if a mock expectation is not satisifed rspec ./spec/rspec/core/pending_example_spec.rb:38 # an example declared pending with metadata does not mutate the :pending attribute of the user metadata when handling mock expectation errors rspec ./spec/rspec/core/pending_example_spec.rb:14 # an example declared pending with metadata sets the message to 'No reason given' if :pending => true rspec ./spec/rspec/core/pending_example_spec.rb:72 # an example made pending with `define_derived_metadata` fails if there is no error rspec ./spec/rspec/core/pending_example_spec.rb:60 # an example made pending with `define_derived_metadata` has a pending result if there is an error rspec ./spec/rspec/core/notifications_spec.rb:93 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError lists each individual expectation failure, with a backtrace relative to the aggregation block rspec ./spec/rspec/core/notifications_spec.rb:231 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when there are failures and other errors lists both types in the exception listing rspec ./spec/rspec/core/notifications_spec.rb:132 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError due to using `:aggregate_failures` metadata uses an alternate format for the exception summary to avoid confusing references to the aggregation block or stack trace rspec ./spec/rspec/core/notifications_spec.rb:160 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when the failure happened in a shared example group does not include the shared group backtrace in the sub-failure backtraces rspec ./spec/rspec/core/notifications_spec.rb:191 # FailedExampleNotification fully formatted failure output when the exception is a MultipleExpectationsNotMetError when `aggregate_failures` is used in nested fashion recursively formats the nested aggregated failures rspec ./spec/rspec/core/example_group_spec.rb:2023 # RSpec::Core::ExampleGroup allows adding examples rspec ./spec/rspec/core/example_group_spec.rb:2037 # RSpec::Core::ExampleGroup allows removing examples rspec ./spec/rspec/core/example_group_spec.rb:42 # RSpec::Core::ExampleGroup surfaces NameError from an example for other missing APIs, like normal rspec ./spec/rspec/core/example_group_spec.rb:1914 # RSpec::Core::ExampleGroup prevents defining nested isolated shared contexts rspec ./spec/rspec/core/example_group_spec.rb:1905 # RSpec::Core::ExampleGroup prevents defining nested isolated contexts rspec ./spec/rspec/core/example_group_spec.rb:36 # RSpec::Core::ExampleGroup surfaces NameError from an example group for other missing APIs, like normal rspec ./spec/rspec/core/example_group_spec.rb[1:10:1] # RSpec::Core::ExampleGroup when calling `it_behaves_like`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:5:1] # RSpec::Core::ExampleGroup when calling `describe`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:655 # RSpec::Core::ExampleGroup#metadata adds the line_number to metadata rspec ./spec/rspec/core/example_group_spec.rb:643 # RSpec::Core::ExampleGroup#metadata adds the third parameter to the metadata rspec ./spec/rspec/core/example_group_spec.rb:647 # RSpec::Core::ExampleGroup#metadata adds the the file_path to metadata rspec ./spec/rspec/core/example_group_spec.rb:651 # RSpec::Core::ExampleGroup#metadata has a reader for file_path rspec ./spec/rspec/core/example_group_spec.rb[1:39:1] # RSpec::Core::ExampleGroup.xdescribe generates a pending example group rspec ./spec/rspec/core/example_group_spec.rb:1094 # RSpec::Core::ExampleGroup.skip generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1099 # RSpec::Core::ExampleGroup.skip sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:7:1] # RSpec::Core::ExampleGroup when calling `let`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:3:1] # RSpec::Core::ExampleGroup when calling `double`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:38:1] # RSpec::Core::ExampleGroup.xexample generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb[1:38:2] # RSpec::Core::ExampleGroup.xexample sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:2:1] # RSpec::Core::ExampleGroup when calling `expect`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1965 # RSpec::Core::ExampleGroup inspect output handles before context hooks rspec ./spec/rspec/core/example_group_spec.rb:1980 # RSpec::Core::ExampleGroup inspect output handles after context hooks rspec ./spec/rspec/core/example_group_spec.rb:1995 # RSpec::Core::ExampleGroup inspect output does not pollute an example's `inspect` output with the inspect ivar from `before(:context)` rspec ./spec/rspec/core/example_group_spec.rb:1948 # RSpec::Core::ExampleGroup inspect output when an example does not have a description includes fallback description rspec ./spec/rspec/core/example_group_spec.rb:1930 # RSpec::Core::ExampleGroup inspect output when an example has a description includes description and location rspec ./spec/rspec/core/example_group_spec.rb[1:9:1] # RSpec::Core::ExampleGroup when calling `it`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:1453 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not set RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing less than 3 failures rspec ./spec/rspec/core/example_group_spec.rb:1440 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 does not run examples after 3 failed examples rspec ./spec/rspec/core/example_group_spec.rb:1463 # RSpec::Core::ExampleGroup#run with fail_fast set to 3 sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) causing at least 3 failures rspec ./spec/rspec/core/example_group_spec.rb:1525 # RSpec::Core::ExampleGroup#run with nested example failing returns true rspec ./spec/rspec/core/example_group_spec.rb:1508 # RSpec::Core::ExampleGroup#run with top level example failing returns false rspec ./spec/rspec/core/example_group_spec.rb:1491 # RSpec::Core::ExampleGroup#run with all examples passing returns true rspec ./spec/rspec/core/example_group_spec.rb:1427 # RSpec::Core::ExampleGroup#run with fail_fast enabled sets RSpec.world.wants_to_quit flag if encountering an exception in before(:all) rspec ./spec/rspec/core/example_group_spec.rb:1416 # RSpec::Core::ExampleGroup#run with fail_fast enabled does not run examples after the failed example rspec ./spec/rspec/core/example_group_spec.rb:1399 # RSpec::Core::ExampleGroup#run with `fail_fast` set to `nil` does not run abort due to failures rspec ./spec/rspec/core/example_group_spec.rb:823 # RSpec::Core::ExampleGroup#before, after, and around hooks only runs before/after(:all) hooks from example groups that have specs that run rspec ./spec/rspec/core/example_group_spec.rb:951 # RSpec::Core::ExampleGroup#before, after, and around hooks exposes instance variables set in before(:all) from after(:all) even if a before(:all) error occurs rspec ./spec/rspec/core/example_group_spec.rb:931 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:each) as a failure rspec ./spec/rspec/core/example_group_spec.rb:854 # RSpec::Core::ExampleGroup#before, after, and around hooks runs before_all_defined_in_config, before all, before each, example, after each, after all, after_all_defined_in_config in that order rspec ./spec/rspec/core/example_group_spec.rb:810 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the after alls in reverse order rspec ./spec/rspec/core/example_group_spec.rb:940 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure rspec ./spec/rspec/core/example_group_spec.rb:762 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the before alls in order rspec ./spec/rspec/core/example_group_spec.rb:784 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the before eachs in order rspec ./spec/rspec/core/example_group_spec.rb:797 # RSpec::Core::ExampleGroup#before, after, and around hooks runs the after eachs in reverse order rspec ./spec/rspec/core/example_group_spec.rb:969 # RSpec::Core::ExampleGroup#before, after, and around hooks treats an error in before(:all) as a failure for a spec in a nested group rspec ./spec/rspec/core/example_group_spec.rb:775 # RSpec::Core::ExampleGroup#before, after, and around hooks does not set RSpec.world.wants_to_quit in case of an error in before all (without fail_fast?) rspec ./spec/rspec/core/example_group_spec.rb:683 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for before-hooks rspec ./spec/rspec/core/example_group_spec.rb:694 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for after-hooks rspec ./spec/rspec/core/example_group_spec.rb:672 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:context` hook scope to `:all` for before-hooks rspec ./spec/rspec/core/example_group_spec.rb:705 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing aliases the `:example` hook scope to `:each` for after-hooks rspec ./spec/rspec/core/example_group_spec.rb:731 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? does not set currently_executing_a_context_hook? outside of before(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:742 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during after(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:752 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? unsets currently_executing_a_context_hook? after an after(:context) hook is done rspec ./spec/rspec/core/example_group_spec.rb:722 # RSpec::Core::ExampleGroup#before, after, and around hooks scope aliasing #currently_executing_a_context_hook? sets currently_executing_a_context_hook? during before(:context) execution rspec ./spec/rspec/core/example_group_spec.rb:1007 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook rescues any error(s) and prints them out rspec ./spec/rspec/core/example_group_spec.rb:1018 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook sets `world.non_example_failure` so the exit status will be non-zero rspec ./spec/rspec/core/example_group_spec.rb:1013 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook still runs both after blocks rspec ./spec/rspec/core/example_group_spec.rb:1001 # RSpec::Core::ExampleGroup#before, after, and around hooks when an error occurs in an after(:all) hook allows the example to pass rspec ./spec/rspec/core/example_group_spec.rb[1:36:2] # RSpec::Core::ExampleGroup.xit sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:36:1] # RSpec::Core::ExampleGroup.xit generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1215 # RSpec::Core::ExampleGroup setting pending metadata in parent marks every example as pending rspec ./spec/rspec/core/example_group_spec.rb:1288 # RSpec::Core::ExampleGroup#run_examples returns true if all examples pass rspec ./spec/rspec/core/example_group_spec.rb:1297 # RSpec::Core::ExampleGroup#run_examples returns false if any of the examples fail rspec ./spec/rspec/core/example_group_spec.rb:1306 # RSpec::Core::ExampleGroup#run_examples runs all examples, regardless of any of them failing rspec ./spec/rspec/core/example_group_spec.rb:1380 # RSpec::Core::ExampleGroup#top_level_description returns the description from the outermost example group rspec ./spec/rspec/core/example_group_spec.rb[1:53:1] # RSpec::Core::ExampleGroup#include_context includes the named examples rspec ./spec/rspec/core/example_group_spec.rb[1:53:4] # RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb[1:53:3] # RSpec::Core::ExampleGroup#include_context raises a helpful error message when shared content is accessed recursively rspec ./spec/rspec/core/example_group_spec.rb[1:53:9] # RSpec::Core::ExampleGroup#include_context evals the block when given rspec ./spec/rspec/core/example_group_spec.rb[1:53:5] # RSpec::Core::ExampleGroup#include_context leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb[1:53:6] # RSpec::Core::ExampleGroup#include_context passes parameters to the shared content rspec ./spec/rspec/core/example_group_spec.rb:307 # RSpec::Core::ExampleGroup top level group runs its children rspec ./spec/rspec/core/example_group_spec.rb:342 # RSpec::Core::ExampleGroup top level group descendants returns self + all descendants rspec ./spec/rspec/core/example_group_spec.rb:322 # RSpec::Core::ExampleGroup top level group with a failure in the top level group runs its children rspec ./spec/rspec/core/example_group_spec.rb:1237 # RSpec::Core::ExampleGroup adding examples allows adding an example using 'it' rspec ./spec/rspec/core/example_group_spec.rb:1243 # RSpec::Core::ExampleGroup adding examples exposes all examples at examples rspec ./spec/rspec/core/example_group_spec.rb:1251 # RSpec::Core::ExampleGroup adding examples maintains the example order rspec ./spec/rspec/core/example_group_spec.rb:1802 # RSpec::Core::ExampleGroup#it_should_behave_like passes parameters to the shared example group rspec ./spec/rspec/core/example_group_spec.rb:1867 # RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb:1859 # RSpec::Core::ExampleGroup#it_should_behave_like raises a helpful error message when shared context is not found rspec ./spec/rspec/core/example_group_spec.rb:1876 # RSpec::Core::ExampleGroup#it_should_behave_like leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb:1839 # RSpec::Core::ExampleGroup#it_should_behave_like given a block evaluates the block in nested group rspec ./spec/rspec/core/example_group_spec.rb[1:42:1] # RSpec::Core::ExampleGroup.fcontext generates an example group that can be filtered with :focus rspec ./spec/rspec/core/example_group_spec.rb[1:4:1] # RSpec::Core::ExampleGroup when calling `spy`, an example API, on an example group tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:40:1] # RSpec::Core::ExampleGroup.xcontext generates a pending example group rspec ./spec/rspec/core/example_group_spec.rb:516 # RSpec::Core::ExampleGroup#described_class with a constant as the first parameter is that constant rspec ./spec/rspec/core/example_group_spec.rb:560 # RSpec::Core::ExampleGroup#described_class in a nested group inherits the described class/module from the outer group rspec ./spec/rspec/core/example_group_spec.rb:586 # RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class rspec ./spec/rspec/core/example_group_spec.rb:590 # RSpec::Core::ExampleGroup#described_class in a nested group when a class is passed overrides the described class even when described_class is referenced in the outer group rspec ./spec/rspec/core/example_group_spec.rb:522 # RSpec::Core::ExampleGroup#described_class with a string as the first parameter is nil rspec ./spec/rspec/core/example_group_spec.rb:611 # RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has a `nil` described_class in the outer group rspec ./spec/rspec/core/example_group_spec.rb:616 # RSpec::Core::ExampleGroup#described_class for `describe(SomeClass)` within a `describe 'some string' group has the inner described class as the described_class of the inner group rspec ./spec/rspec/core/example_group_spec.rb:543 # RSpec::Core::ExampleGroup#described_class with a constant in an outer group and metadata redefinition after `described_class` call is the redefined level constant rspec ./spec/rspec/core/example_group_spec.rb:529 # RSpec::Core::ExampleGroup#described_class with a constant in an outer group and a string in an inner group is the top level constant rspec ./spec/rspec/core/example_group_spec.rb:1069 # RSpec::Core::ExampleGroup pending with metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1064 # RSpec::Core::ExampleGroup pending with metadata generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1115 # RSpec::Core::ExampleGroup skip with metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1110 # RSpec::Core::ExampleGroup skip with metadata generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1126 # RSpec::Core::ExampleGroup skip with message in metadata generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb:1131 # RSpec::Core::ExampleGroup skip with message in metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb:1029 # RSpec::Core::ExampleGroup.pending generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1039 # RSpec::Core::ExampleGroup.pending sets the backtrace to the example definition so it can be located by the user rspec ./spec/rspec/core/example_group_spec.rb:1034 # RSpec::Core::ExampleGroup.pending sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:52:1] # RSpec::Core::ExampleGroup#include_examples includes the named examples rspec ./spec/rspec/core/example_group_spec.rb[1:52:6] # RSpec::Core::ExampleGroup#include_examples passes parameters to the shared content rspec ./spec/rspec/core/example_group_spec.rb[1:52:9] # RSpec::Core::ExampleGroup#include_examples evals the block when given rspec ./spec/rspec/core/example_group_spec.rb[1:52:3] # RSpec::Core::ExampleGroup#include_examples raises a helpful error message when shared content is accessed recursively rspec ./spec/rspec/core/example_group_spec.rb[1:52:5] # RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged, even when an error occurs during evaluation rspec ./spec/rspec/core/example_group_spec.rb[1:52:4] # RSpec::Core::ExampleGroup#include_examples leaves RSpec's thread metadata unchanged rspec ./spec/rspec/core/example_group_spec.rb:636 # RSpec::Core::ExampleGroup#description grabs the description from the metadata rspec ./spec/rspec/core/example_group_spec.rb:1080 # RSpec::Core::ExampleGroup pending with message in metadata generates a pending example rspec ./spec/rspec/core/example_group_spec.rb:1085 # RSpec::Core::ExampleGroup pending with message in metadata sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:8:1] # RSpec::Core::ExampleGroup when calling `before`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb[1:41:1] # RSpec::Core::ExampleGroup.fdescribe generates an example group that can be filtered with :focus rspec ./spec/rspec/core/example_group_spec.rb[1:37:1] # RSpec::Core::ExampleGroup.xspecify generates a skipped example rspec ./spec/rspec/core/example_group_spec.rb[1:37:2] # RSpec::Core::ExampleGroup.xspecify sets the pending message rspec ./spec/rspec/core/example_group_spec.rb[1:6:1] # RSpec::Core::ExampleGroup when calling `context`, an example group API, from within an example tells the user they are in the wrong scope for that API rspec ./spec/rspec/core/example_group_spec.rb:165 # RSpec::Core::ExampleGroup constant naming assigns the const before evaling the group so error messages include the name rspec ./spec/rspec/core/example_group_spec.rb:242 # RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering falls back to the global ordering rspec ./spec/rspec/core/example_group_spec.rb:247 # RSpec::Core::ExampleGroup ordering when tagged with an unrecognized ordering prints a warning so users are notified of their mistake rspec ./spec/rspec/core/example_group_spec.rb:204 # RSpec::Core::ExampleGroup ordering when tagged with `:order => :defined` orders the subgroups and examples in defined order regardless of global order rspec ./spec/rspec/core/example_group_spec.rb:263 # RSpec::Core::ExampleGroup ordering when tagged with a custom ordering uses the custom orderings rspec ./spec/rspec/core/example_group_spec.rb:1559 # RSpec::Core::ExampleGroup#update_inherited_metadata overwrites metadata originating from a parent rspec ./spec/rspec/core/example_group_spec.rb:1597 # RSpec::Core::ExampleGroup#update_inherited_metadata applies new metadata-based config items based on the update rspec ./spec/rspec/core/example_group_spec.rb:1643 # RSpec::Core::ExampleGroup#update_inherited_metadata does not cause duplicate hooks to be added when re-configuring the group rspec ./spec/rspec/core/formatters/exception_presenter_spec.rb:789 # RSpec::Core::MultipleExceptionError presents the same aggregation metadata that an `:aggregate_failures`-tagged example produces rspec ./spec/rspec/core/formatters/documentation_formatter_spec.rb:48 # RSpec::Core::Formatters::DocumentationFormatter represents nested group using hierarchy tree rspec ./spec/rspec/core/formatters/documentation_formatter_spec.rb:78 # RSpec::Core::Formatters::DocumentationFormatter strips whitespace for each row rspec ./spec/rspec/core/bisect/coordinator_spec.rb:50 # RSpec::Core::Bisect::Coordinator can use the bisect debug formatter to get detailed progress rspec ./spec/rspec/core/bisect/coordinator_spec.rb:27 # RSpec::Core::Bisect::Coordinator notifies the bisect progress formatter of progress and closes the output rspec ./spec/rspec/core/bisect/coordinator_spec.rb:173 # RSpec::Core::Bisect::Coordinator when the user aborst the bisect with ctrl-c prints the most minimal repro command it has found so far rspec ./spec/rspec/core/bisect/coordinator_spec.rb:103 # RSpec::Core::Bisect::Coordinator with an order-independent failure detects the independent case and prints the minimal reproduction rspec ./spec/rspec/core/bisect/coordinator_spec.rb:123 # RSpec::Core::Bisect::Coordinator with an order-independent failure can use the debug formatter for detailed output rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:16 # RSpec::Core::Formatters::JsonFormatter can be loaded via `--format json` rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:22 # RSpec::Core::Formatters::JsonFormatter outputs expected json (brittle high level functional test) rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:185 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group has the summary of profile information rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:181 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group doesn't profile a single example group rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:177 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group provides example execution time rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:173 # RSpec::Core::Formatters::JsonFormatter#dump_profile with one example group names the example rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:217 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups ranks the example groups by average time rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:209 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides the slowest example groups rspec ./spec/rspec/core/formatters/json_formatter_spec.rb:213 # RSpec::Core::Formatters::JsonFormatter#dump_profile with multiple example groups provides information rspec ./spec/rspec/core/shared_context_spec.rb:37 # RSpec::Core::SharedContext runs the before each hooks in configuration before those of the shared context rspec ./spec/rspec/core/shared_context_spec.rb[1:9] # RSpec::Core::SharedContext supports nested example groups using context rspec ./spec/rspec/core/shared_context_spec.rb:57 # RSpec::Core::SharedContext supports let rspec ./spec/rspec/core/shared_context_spec.rb:69 # RSpec::Core::SharedContext supports let when applied to an individual example via metadata rspec ./spec/rspec/core/shared_context_spec.rb:86 # RSpec::Core::SharedContext supports explicit subjects rspec ./spec/rspec/core/shared_context_spec.rb[1:8] # RSpec::Core::SharedContext supports nested example groups using describe rspec ./spec/rspec/core/shared_context_spec.rb:10 # RSpec::Core::SharedContext supports before and after hooks rspec ./spec/rspec/core/invocations_spec.rb:16 # RSpec::Core::Invocations RSpec::Core::Invocations::InitializeProject initializes a project and returns a 0 exit code rspec ./spec/rspec/core/invocations_spec.rb:90 # RSpec::Core::Invocations RSpec::Core::Invocations::Bisect starts the bisection coordinator rspec ./spec/rspec/core/invocations_spec.rb:121 # RSpec::Core::Invocations RSpec::Core::Invocations::Bisect and the verbose option is specified starts the bisection coordinator with the debug formatter rspec ./spec/rspec/core/invocations_spec.rb:111 # RSpec::Core::Invocations RSpec::Core::Invocations::Bisect when the bisection is unsuccessful returns 1 rspec ./spec/rspec/core/invocations_spec.rb:101 # RSpec::Core::Invocations RSpec::Core::Invocations::Bisect when the bisection is successful returns 0 rspec ./spec/rspec/core/world_spec.rb:49 # RSpec::Core::World#all_example_groups contains all example groups from all levels of nesting rspec ./spec/rspec/core/world_spec.rb:191 # RSpec::Core::World#source_from_file caches Source instances by file path rspec ./spec/rspec/core/world_spec.rb:42 # RSpec::Core::World#example_groups contains all registered example groups rspec ./spec/rspec/core/world_spec.rb:150 # RSpec::Core::World#preceding_declaration_line (again) with two groups and the second example is registered first return line number of group if a group start on that line rspec ./spec/rspec/core/world_spec.rb:133 # RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of a group that immediately precedes the argument line rspec ./spec/rspec/core/world_spec.rb:125 # RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if a group starts on that line rspec ./spec/rspec/core/world_spec.rb:129 # RSpec::Core::World#preceding_declaration_line (again) with one example returns the argument line number if an example starts on that line rspec ./spec/rspec/core/world_spec.rb:137 # RSpec::Core::World#preceding_declaration_line (again) with one example returns line number of an example that immediately precedes the argument line rspec ./spec/rspec/core/world_spec.rb:121 # RSpec::Core::World#preceding_declaration_line (again) with one example returns nil if no example or group precedes the line rspec ./spec/rspec/core/world_spec.rb:177 # RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered considers only declaration lines from the provided files rspec ./spec/rspec/core/world_spec.rb:173 # RSpec::Core::World#preceding_declaration_line (again) with groups from multiple files registered returns nil if given a file name with no declarations rspec ./spec/rspec/core/world_spec.rb:70 # RSpec::Core::World#all_examples contains all examples from all levels of nesting rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:76 # RSpec::Core::Formatters::SnippetExtractor when the given line does not exist in the file raises NoSuchLineError rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:86 # RSpec::Core::Formatters::SnippetExtractor when the expression fits into a single line returns the line rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:100 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans multiple lines returns the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:156 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression contains do-end block and ends with "end"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:344 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is 1 returns the line without parsing the source for efficiency rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:246 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's final line includes the same type of opening paren of another multiline expression ignores another expression rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:261 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression's first line includes a closing paren of another multiline expression ignores another expression rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:301 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when Ripper cannot parse the source (which can happen on JRuby -- see jruby/jruby#2427) returns the line by falling back to the simple single line extraction rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:230 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression spans lines after the closing paren line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:142 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "]"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:208 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression includes paren and heredoc pairs as non-nested structure returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:320 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when max line count is given returns the lines without exceeding the given count rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:192 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with multiple paren-only lines of same type returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:128 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with "}"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:114 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression ends with ")"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:176 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when the expression is a method definition and ends with "end"-only line returns all the lines rspec ./spec/rspec/core/formatters/snippet_extractor_spec.rb:279 # RSpec::Core::Formatters::SnippetExtractor in Ripper supported environment when no expression exists at the line returns the line by falling back to the simple single line extraction rspec ./spec/rspec/core/formatters/html_snippet_extractor_spec.rb:15 # RSpec::Core::Formatters::HtmlSnippetExtractor falls back on a default message when it gets a security error rspec ./spec/rspec/core/reporter_spec.rb:81 # RSpec::Core::Reporter given one formatter passes messages to the formatter in the correct order rspec ./spec/rspec/core/reporter_spec.rb:286 # RSpec::Core::Reporter#notify_non_example_exception sends a `message` notification that contains the formatted exception details rspec ./spec/rspec/core/failed_example_notification_spec.rb:7 # RSpec::Core::Notifications::FailedExampleNotification uses the default color for the shared example backtrace line rspec ./spec/rspec/core/memoized_helpers_spec.rb[2:11] # #let raises an error when referenced from `after(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:523 # #let raises an error when attempting to define a reserved method name rspec ./spec/rspec/core/memoized_helpers_spec.rb:517 # #let raises a useful error when called without a block rspec ./spec/rspec/core/memoized_helpers_spec.rb[2:10] # #let raises an error when referenced from `before(:all)` rspec ./spec/rspec/core/memoized_helpers_spec.rb:573 # #let when included modules have hooks that define memoized helpers allows memoized helpers to override methods in previously included modules rspec ./spec/rspec/core/formatters/html_formatter_spec.rb:61 # RSpec::Core::Formatters::HtmlFormatter produced HTML is identical to the one we designed manually Randomized with seed 52616 error: Bad exit status from /var/tmp/rpm-tmp.00zomg (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.00zomg (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-core.spec