Sha256: 7324bf094e55c3ea5dd347b36dd22394cbd118b938ce2162743d0d446d065565
Contents?: true
Size: 518 Bytes
Versions: 20
Compression:
Stored size: 518 Bytes
Contents
require "spec_helper" require "gitlab_exporter/cli" module GitLab module Exporter module CLI describe SidekiqRunner, :integration do let(:redis_url) { ENV.fetch("REDIS_URL", "redis://localhost:6379") } let(:io) { StringIO.new } it "can properly reach out to redis" do args = CLIArgs.new([io], options: { /^--redis-url/ => redis_url }) runner = SidekiqRunner.new(args) expect { runner.run }.not_to raise_error end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems