module JsonTest::Matchers

Public Instance Methods

be_json_eql(json = nil) click to toggle source
# File lib/jsontest/matchers.rb, line 9
def be_json_eql(json = nil)
  JsonTest::Matchers::BeJsonEql.new(json)
end
have_json_path(path) click to toggle source
# File lib/jsontest/matchers.rb, line 17
def have_json_path(path)
  JsonTest::Matchers::HaveJsonPath.new(path)
end
have_json_size(size) click to toggle source
# File lib/jsontest/matchers.rb, line 25
def have_json_size(size)
  JsonTest::Matchers::HaveJsonSize.new(size)
end
have_json_type(type) click to toggle source
# File lib/jsontest/matchers.rb, line 21
def have_json_type(type)
  JsonTest::Matchers::HaveJsonType.new(type)
end
include_json(json = nil) click to toggle source
# File lib/jsontest/matchers.rb, line 13
def include_json(json = nil)
  JsonTest::Matchers::IncludeJson.new(json)
end