Closed
Description
Expected Behavior
jsonapi-rspec gem should load within rake without issues
Actual Behavior
rake aborted!
NoMethodError: undefined method `configure' for RSpec:Module
.../config/application.rb:20:in `<top (required)>'
.../Rakefile:4:in `require_relative'
.../Rakefile:4:in `<top (required)>'
Caused by:
LoadError: cannot load such file -- jsonapi-rspec
.../config/application.rb:20:in `<top (required)>'
.../Rakefile:4:in `require_relative'
.../Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
Steps to Reproduce the Problem
- include v0.0.5 in project Gemfile
- run rake spec
Specifications
- Version: v0.0.5
- Ruby version: 2.7.1
- Rake version: 13.0.1
Possible solution
requiring rspec/core in rspec.rb resolves the issue. Not sure if this is the best solution but certainly a simple fix.
Metadata
Metadata
Assignees
Labels
No labels