-
Notifications
You must be signed in to change notification settings - Fork 1
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
Loosen dependencies #40
Conversation
1) SuperSpreader::SchedulerJob#next_run_at is the configured amount of time in the future Failure/Error: pipeline.hset(redis_key, key, value) TypeError: Unsupported command argument type: NilClass # ./lib/super_spreader/redis_model.rb:33:in `block (2 levels) in save' # ./lib/super_spreader/redis_model.rb:32:in `each' # ./lib/super_spreader/redis_model.rb:32:in `block in save' # ./lib/super_spreader/redis_model.rb:29:in `save' # ./spec/scheduler_job_spec.rb:94:in `block (4 levels) in <top (required)>' # ./spec/scheduler_job_spec.rb:93:in `block (3 levels) in <top (required)>' # ./spec/spec_helper.rb:62:in `block (2 levels) in <top (required)>'
@@ -91,7 +91,7 @@ | |||
describe "#next_run_at" do | |||
it "is the configured amount of time in the future" do | |||
travel_to(Time.new(2020, 12, 16, 0, 0, 0, 0)) do | |||
SuperSpreader::SchedulerConfig.new(duration: 3600).save | |||
create(:scheduler_config, duration: 3600) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see 36dcca2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this while testing locally. It's not currently possible to test that in CI, which is expected to be rectified in #17
spec.add_development_dependency "rake", "~> 10.0" | ||
spec.add_development_dependency "rspec", "~> 3.0" | ||
spec.add_development_dependency "rspec-rails", "~> 4.0" | ||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "rspec" | ||
spec.add_development_dependency "rspec-rails" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was necessary to remove these ranges so I could test. We also don't really care about versions of development dependencies as long as we have Gemfile.lock
.
Closes #39