lib/json_matchers.rb in json_matchers-0.7.3 vs lib/json_matchers.rb in json_matchers-0.8.0
- old
+ new
@@ -6,11 +6,9 @@
module JsonMatchers
class << self
attr_accessor :schema_root
end
- self.schema_root = "#{Dir.pwd}/spec/support/api/schemas"
-
def self.path_to_schema(schema_name)
Pathname(schema_root).join("#{schema_name}.json")
end
end