Fix rspecs for new json

This commit is contained in:
ethicalhack3r
2014-07-31 14:08:49 +02:00
parent 187e2f1330
commit 420ad6cd37
7 changed files with 30 additions and 22470 deletions

View File

@@ -159,7 +159,7 @@ def json(file)
begin
JSON.parse(content)
rescue => e
puts "[ERROR] In JSON file parsing #{e} #{e.backtrace}"
raise "[ERROR] In JSON file parsing #{file} #{e} #{e.backtrace}"
end
end