Sha256: 80ea1590dfa94de2a2e8f6ae3a86730eecd1b8465ec42a0a223c529d24592a84

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

require "json_matchers/version"
require "json_matchers/matcher"
require "json_matchers/errors"
require "active_support/all"

module JsonMatchers
  mattr_accessor :schema_root

  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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
json_matchers-0.6.0 lib/json_matchers.rb
json_matchers-0.5.1 lib/json_matchers.rb
json_matchers-0.5.0 lib/json_matchers.rb
json_matchers-0.4.0 lib/json_matchers.rb
json-matchers-0.3.1 lib/json_matchers.rb