Sha256: 4059ae1c0d70dabf3fa7a8c8f0e01b8eaaacb19aad42e1b58f79ba4a7654d34d

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require "json_matchers/version"
require "json_matchers/configuration"
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

1 entries across 1 versions & 1 rubygems

Version Path
json_matchers-0.6.1 lib/json_matchers.rb