Hi, I'm having some strange behavior on callbacks when testing with
RSpec2. On my test, when I create a resource using the #create method
the callbacks related to #before_create are not called. If I go to the
console and I try to type the command Resource.create(client_uri:
"http://example.com";) a
I'm sure is not the best solution, but I solved the problem creating an
Initializer monkey patching the method giving the error. I'm pretty new
on Ruby and company, as always scratching the surface, and only now
getting into the deep, but I hope it will help.
# extract config/initializers/rspec