Skip to content

Instantly share code, notes, and snippets.

@vhorb
Created January 24, 2020 11:17
Show Gist options
  • Select an option

  • Save vhorb/7c8dd4664b12a838dd7f4040fa686f9a to your computer and use it in GitHub Desktop.

Select an option

Save vhorb/7c8dd4664b12a838dd7f4040fa686f9a to your computer and use it in GitHub Desktop.
require "sidekiq/api"
require "rails_helper"
feature "List of queues in Sidekiq." do
scenario "should equal to given array" do
stats = Sidekiq::Stats.new
expect(stats.queues.keys).to eq %w(default queue_1 queue_2)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment