Module: RSpec::JsonMatchers::Matchers
- Defined in:
- lib/rspec/json_matchers/matchers.rb,
lib/rspec/json_matchers/matchers/be_json_matcher.rb,
lib/rspec/json_matchers/matchers/be_json_with_content_matcher.rb
Overview
Mixin Module to be included into RSpec Other files will define the same module and add methods to this module
Defined Under Namespace
Classes: BeJsonMatcher, BeJsonWithContentMatcher
Instance Method Summary collapse
-
#be_json ⇒ BeJsonMatcher
Used for verifying actual is a valid JSON string.
Instance Method Details
#be_json ⇒ BeJsonMatcher
Used for verifying actual is a valid JSON string
13 14 15 |
# File 'lib/rspec/json_matchers/matchers/be_json_matcher.rb', line 13 def be_json BeJsonMatcher.new end |