Test boolean setting returns false for nil value

This commit is contained in:
Karl Erik Õunapuu 2020-08-18 11:41:42 +03:00
parent 2330e8eab1
commit 75181f5bea
3 changed files with 7 additions and 9 deletions

View file

@ -44,7 +44,6 @@ class ActiveSupport::TestCase
teardown do
travel_back
Setting.address_processing = false
end
end
@ -58,14 +57,9 @@ 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