-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load resque_scheduler #117
Comments
Hi @mrvovanness, Try removing the |
Hello @leshill! I removed the require option and that works. But whenever I trigger scheduling in my test it shows me that my schedule size is 0, but actually in development and production mode scheduling works perfect. For example, when I create new instance of `Survey' this triggers the creation of new schedule via callback:
but when I test this:
I have error
|
Hi @mrvovanness, The code is not covering that method from the Resque.set_schedule(name, config) This is not supported yet. A PR to do so would be welcome. |
I am trying to test dynamic schedules. As is suggested I included in my Gemfile:
but I get error
can not load such file -- resque_scheduler
. I tried to include in environments/test.rb, but with same effect. I tried also to write simple test to be sure that gem is working:update action triggers scheduling(via after_save callback)
And I had output:
And web interface of Resque shows me that I created new schedule. I need some clues what is going on.
The text was updated successfully, but these errors were encountered: