Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant RSpec::Matchers #11

Closed
caseyprovost opened this issue May 21, 2019 · 3 comments
Closed

uninitialized constant RSpec::Matchers #11

caseyprovost opened this issue May 21, 2019 · 3 comments

Comments

@caseyprovost
Copy link

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

@lucasm-iRonin
Copy link

@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
Copy link

joel commented Dec 2, 2019

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
Copy link
Collaborator

stas commented Jan 17, 2020

Closed as of #8

@stas stas closed this as completed Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants