@@ -12,7 +12,7 @@ def setup
1212 end
1313
1414 def test_default_format
15- assert_equal [ :json ] , Config . formats
15+ assert_equal [ :console ] , Config . formats
1616 end
1717
1818 def test_set_formats_with_array
@@ -32,23 +32,23 @@ def test_set_formats_filters_unsupported_formats
3232
3333 def test_set_formats_with_empty_array_defaults_to_json
3434 Config . formats = [ ]
35- assert_equal [ :json ] , Config . formats
35+ assert_equal [ :console ] , Config . formats
3636 end
3737
3838 def test_add_format
3939 Config . add_format ( :html )
40- assert_equal %i[ json html ] , Config . formats
40+ assert_equal %i[ console html ] , Config . formats
4141 end
4242
4343 def test_add_format_ignores_duplicates
4444 Config . add_format ( :html )
4545 Config . add_format ( :html ) # This should be ignored as duplicate
46- assert_equal %i[ json html ] , Config . formats
46+ assert_equal %i[ console html ] , Config . formats
4747 end
4848
4949 def test_add_format_ignores_unsupported_formats
5050 Config . add_format ( :unsupported )
51- assert_equal [ :json ] , Config . formats
51+ assert_equal [ :console ] , Config . formats
5252 end
5353
5454 def test_remove_format
@@ -59,7 +59,7 @@ def test_remove_format
5959
6060 def test_remove_format_defaults_to_json_when_empty
6161 Config . remove_format ( :json )
62- assert_equal [ :json ] , Config . formats
62+ assert_equal [ :console ] , Config . formats
6363 end
6464
6565 def test_supported_format
@@ -77,7 +77,7 @@ def test_supported_formats
7777 def test_reset
7878 Config . formats = [ :html ]
7979 Config . reset
80- assert_equal [ :json ] , Config . formats
80+ assert_equal [ :console ] , Config . formats
8181 end
8282 end
8383end
0 commit comments