Module: JsonResponseMatchers

Defined in:
lib/json_response_matchers.rb,
lib/json_response_matchers/base.rb,
lib/json_response_matchers/values.rb,
lib/json_response_matchers/content.rb,
lib/json_response_matchers/version.rb

Defined Under Namespace

Classes: Base, Content, Values

Constant Summary collapse

VERSION =
"1.1.0"

Instance Method Summary collapse

Instance Method Details

#have_json_content(parsed_content) ⇒ Object


10
11
12
# File 'lib/json_response_matchers.rb', line 10

def have_json_content parsed_content
  Content.new parsed_content
end

#have_json_values(*values) ⇒ Object


6
7
8
# File 'lib/json_response_matchers.rb', line 6

def have_json_values *values
  Values.new values
end