spec/support/file_helpers.rb in json_matchers-0.9.0 vs spec/support/file_helpers.rb in json_matchers-0.10.0
- old
+ new
@@ -1,9 +1,8 @@
require "fileutils"
module FileHelpers
def setup_fixtures(*pathnames)
- JSON::Validator.clear_cache
original_schema_root = JsonMatchers.schema_root
JsonMatchers.schema_root = File.join(*pathnames)
FileUtils.mkdir_p(JsonMatchers.schema_root)