mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
11 lines
244 B
Ruby
11 lines
244 B
Ruby
require 'spec_helper'
|
|
require_dependency 'sidekiq/pausable'
|
|
|
|
describe Sidekiq do
|
|
it "can pause and unpause" do
|
|
Sidekiq.pause!
|
|
expect(Sidekiq.paused?).to eq(true)
|
|
Sidekiq.unpause!
|
|
expect(Sidekiq.paused?).to eq(false)
|
|
end
|
|
end
|