test/resque/throttled_job_test.rb in resque-throttle-0.2.6 vs test/resque/throttled_job_test.rb in resque-throttle-0.2.7
- old
+ new
@@ -5,11 +5,10 @@
context "Resque::ThrottledJob" do
should "instantiate a new Resque::ThrottledJob" do
assert Resque::ThrottledJob.new
end
- context "settings (private methods)" do
-
+ context "settings" do
context "#can_run_every" do
should "return the number of seconds in which to throttle these jobs" do
assert_equal 3600, OneHourThrottledJob.can_run_every
end