Open dzemlianoi-double opened 3 years ago
I was having the same issues, and, from what I can tell, it does not look like this project is being maintained anymore. I just extracted the code I used and started the project rspec-grape-entity.
Edit: My project takes a different approach and is inspired by the rspec-its
structure.
I have a problem with testing grape entities.
Error text:
undefined method 'exposures' for ExampleEntity:Class. Did you mean? expose
Line:
/Users/denyszemlianoi/.rvm/gems/ruby-2.7.2@test_project/gems/grape-entity-matchers-1.3.0/lib/grape_entity_matchers/represent_matcher.rb:65
Gemfile.lock
Code
Does anyone have any suggestions? Maybe it depends on too high version of grape-entity?