Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

fix: use Relish link to disable_monkey_patching #2918

Merged
merged 1 commit into from
Nov 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/rspec/core/project_initializer/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@

# Limits the available syntax to the non-monkey patched syntax that is
# recommended. For more details, see:
# - https://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
# - https://web.archive.org/web/20201111222326/http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
# - https://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
# https://relishapp.com/rspec/rspec-core/docs/configuration/zero-monkey-patching-mode
config.disable_monkey_patching!

# This setting enables warnings. It's recommended, but in some cases may
Expand Down