jsonapi-rb / jsonapi-rspec

RSpec matchers for JSON:API spec
https://rubygems.org/gems/jsonapi-rspec
MIT License
123 stars 24 forks source link

uninitialized constant RSpec::Matchers #11

Closed caseyprovost closed 4 years ago

caseyprovost commented 5 years ago

On rails 5.2.3 I am getting uninitialized constant RSpec::Matchers

lucasm-iRonin commented 5 years ago

@caseyprovost I've encountered the same error. I've solved by adding require: false to Gemfile:

group :test do
  ...
  gem "jsonapi-rspec", require: false
  ...
end

And requiring jsonapi-rspec manually in spec/rails_helper.rb file:

require "rspec/rails"
require "jsonapi/rspec"
joel commented 4 years ago

This is already fixed on the pending PRs @beauby is there a way to merge those PRs and release a new version of this broken gem? Do this gem still active? TIA

stas commented 4 years ago

Closed as of #8