waterlink / rspec-json_expectations

Set of matchers and helpers to allow you test your APIs responses like a pro.
https://www.relishapp.com/waterlink/rspec-json-expectations/docs
MIT License
140 stars 23 forks source link

Forwardable is extended without requiring it #32

Closed ww-daniel-mora closed 5 years ago

ww-daniel-mora commented 6 years ago

When using this gem. You get the following error if no one required forwardable first.

Failure/Error: require 'rspec/json_expectations'

NameError:
  uninitialized constant RSpec::JsonExpectations::Matchers::UnorderedArrayMatcher::Forwardable
# ./spec/utils/add_office_spec.rb:4:in '<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- rspec/json_expectations
#   ./spec/utils/add_office_spec.rb:4:in '<top (required)>'
waterlink commented 5 years ago

This is done. Thank you @ww-daniel-mora !