mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Test boolean setting returns false for nil value
This commit is contained in:
parent
2330e8eab1
commit
75181f5bea
3 changed files with 7 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue