mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 20:42:44 -05:00
11 lines
234 B
Ruby
11 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
|