Sha256: ac52f13676a546b654078fb2e4466d4eec9c7e41171266c0181c3023a7a2d722
Contents?: true
Size: 425 Bytes
Versions: 4
Compression:
Stored size: 425 Bytes
Contents
require "spec_helper" RSpec.describe "Config" do describe "configuring key" do it "stores the provided api key" do command = %w(config api-key DIGICERT_SECRET_KEY) allow(Digicert::CLI::RCFile).to receive(:set_key) _output = capture_stdout { Digicert::CLI.start(command) } expect( Digicert::CLI::RCFile, ).to have_received(:set_key).with("DIGICERT_SECRET_KEY") end end end
Version data entries
4 entries across 4 versions & 1 rubygems