mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +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
|
@ -103,6 +103,9 @@ class SettingEntryTest < ActiveSupport::TestCase
|
|||
|
||||
Setting.boolean_format = 'false'
|
||||
assert_equal false, Setting.boolean_format
|
||||
|
||||
Setting.boolean_format = nil
|
||||
assert_equal false, Setting.boolean_format
|
||||
end
|
||||
|
||||
def test_parses_hash_format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue