diff options
Diffstat (limited to 'test/json/json_fixtures_test.rb')
-rw-r--r-- | test/json/json_fixtures_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/json/json_fixtures_test.rb b/test/json/json_fixtures_test.rb index b2a1ec8b8c..845abb4867 100644 --- a/test/json/json_fixtures_test.rb +++ b/test/json/json_fixtures_test.rb @@ -10,6 +10,7 @@ class JSONFixturesTest < Test::Unit::TestCase end def test_passing + verbose_bak, $VERBOSE = $VERBOSE, nil for name, source in @passed begin assert JSON.parse(source), @@ -19,6 +20,8 @@ class JSONFixturesTest < Test::Unit::TestCase raise e end end + ensure + $VERBOSE = verbose_bak end def test_failing |