Explicitly set address_processing to false in tests

This commit is contained in:
Karl Erik Õunapuu 2020-08-10 14:27:05 +03:00
parent 55ae0dc0b7
commit 625bd459de

View file

@ -47,6 +47,7 @@ class ActiveSupport::TestCase
teardown do
travel_back
Setting.address_processing = false
end
end
@ -60,9 +61,14 @@ class ApplicationIntegrationTest < ActionDispatch::IntegrationTest
WebMock.reset!
Capybara.reset_sessions!
Capybara.use_default_driver
Setting.address_processing = false
end
end
class EppTestCase < ActionDispatch::IntegrationTest
include Assertions::EppAssertions
teardown do
Setting.address_processing = false
end
end