I am trying elasticsearch with the tire gem. But when adding the callbacks to my model it breaks rspec.
Here is a gist of my model(concern) and the error its producing.
I have put the stub_request in a file under spec/support called tire_webmock.rb
Whatever I do I can get past this error. Any advise on what I can do next?
I think it’s webmock which is not picking up the stub. But looking at webmock it looks like what I have done is correct.