Fix RSpec/HookArgument
cop (#27747)
This commit is contained in:
parent
1b28ab7263
commit
b06284c572
9 changed files with 16 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue