@@ -27,10 +27,10 @@ def test_smoke
27
27
28
28
[ "5.0" , "5.1" ] . each { |k | assert_includes ( config , k ) }
29
29
30
- assert_equal config [ "5.0" ] [ "ActiveSupport.to_time_preserves_timezone" ] , "true"
31
- assert_equal config [ "5.0" ] [ "active_record.belongs_to_required_by_default" ] , "true"
32
- assert_equal config [ "5.0" ] [ "self.ssl_options" ] , " { hsts: { subdomains: true } }"
33
- assert_equal config [ "5.1" ] [ "assets.unknown_asset_fallback" ] , "false"
30
+ assert_equal ( "true" , config [ "5.0" ] [ "ActiveSupport.to_time_preserves_timezone" ] )
31
+ assert_equal ( "true" , config [ "5.0" ] [ "active_record.belongs_to_required_by_default" ] )
32
+ assert_equal ( " { hsts: { subdomains: true } }", config [ "5.0" ] [ "self.ssl_options" ] )
33
+ assert_equal ( "false" , config [ "5.1" ] [ "assets.unknown_asset_fallback" ] )
34
34
end
35
35
36
36
def test_config_wrapped_in_condition
@@ -44,7 +44,7 @@ def test_config_wrapped_in_condition
44
44
RUBY
45
45
46
46
assert_includes config , "7.1"
47
- assert_equal config [ "7.1" ] [ "self.log_file_size" ] , "100 * 1024 * 1024"
47
+ assert_equal ( "100 * 1024 * 1024" , config [ "7.1" ] [ "self.log_file_size" ] )
48
48
end
49
49
50
50
def test_condition_inside_framework
@@ -60,7 +60,7 @@ def test_condition_inside_framework
60
60
RUBY
61
61
62
62
assert_includes config , "7.1"
63
- assert_equal config [ "7.1" ] [ "action_view.sanitizer_vendor" ] , "Rails::HTML5::Sanitizer"
63
+ assert_equal ( "Rails::HTML5::Sanitizer" , config [ "7.1" ] [ "action_view.sanitizer_vendor" ] )
64
64
end
65
65
66
66
def test_nested_frameworks_raise_when_strict
0 commit comments