discourse/spec/components/sidekiq/pausable_spec.rb
2014-08-19 20:57:34 +10:00

12 lines
234 B
Ruby

require 'spec_helper'
require_dependency 'sidekiq/pausable'
describe Sidekiq do
it "can pause and unpause" do
Sidekiq.pause!
Sidekiq.paused?.should == true
Sidekiq.unpause!
Sidekiq.paused?.should == false
end
end