I am using rspec for testing my model, and I have used callbacks in my
as things are working as expected on the front end. but when I try to
the application it throws an error.
class MyModel < ActiveRecord::Base
And when I run the spec getting the following error.
Callbacks must be a symbol denoting the method to call, a string to be
evaluated, a block to be invoked, or an object responding to the
And I already Googled it But no success, it will be really helpful if I
any Clue on the above mentioned error.