Registry / testing / rspec-json-matcher

rspec-json-matcher

JSON →
library0.2.0rbrubygemsunverified

Provides an RSpec matcher for testing JSON strings.

gem install rspec-json_matcher
INSTALL
IMPORT
SIG · RSPEC-JSON-MATCHER
R
rspec-json-matcher
testingrubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RSpecJsonMatcher
require 'rspec-json_matcher'

Match JSON strings in RSpec

require 'rspec-json_matcher' describe 'JSON' do include RSpecJsonMatcher it { expect('{"a":1}').to be_json_eql('{"a":1}') } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
2
Resources
rspec-json-matcher — gem install rspec-json-matcher · libregistry