summaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
Diffstat (limited to 'test/json')
-rw-r--r--test/json/json_fixtures_test.rb3
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