Enable RSpec zero monkey patching mode

The plan for RSpec 4.0 is to disable monkey patching.

See https://github.com/rspec/rspec-core/blob/main/features/configuration/zero_monkey_patching_mode.feature for details.
This commit is contained in:
Christophe Bliard
2023-05-31 12:15:15 +02:00
committed by Oliver Günther
parent 5e465af185
commit 4c2a9d0aa8
1933 changed files with 2301 additions and 2328 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
require 'spec_helper'
describe SysController, with_settings: { sys_api_enabled: true } do
RSpec.describe SysController, with_settings: { sys_api_enabled: true } do
let(:commit_role) do
create(:role, permissions: %i[commit_access browse_repository])
end