Fix RSpec/HookArgument cop (#27747)
This commit is contained in:
@@ -18,7 +18,7 @@ describe InstanceHelper do
|
||||
end
|
||||
|
||||
describe 'site_hostname' do
|
||||
around(:each) do |example|
|
||||
around do |example|
|
||||
before = Rails.configuration.x.local_domain
|
||||
example.run
|
||||
Rails.configuration.x.local_domain = before
|
||||
|
||||
Reference in New Issue
Block a user