Sha256: 2571cac373a64a066668798324233dec3e095d3a2f251af110a9711f02fb11c4
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
require "spec_helper" RSpec.describe "Config" do describe "configuring key" do it "stores the provided api key" do command = %w(config DIGICERT_SECRET_KEY) allow(Digicert::CLI::RCFile).to receive(:set_key) Digicert::CLI.start(command) expect( Digicert::CLI::RCFile, ).to have_received(:set_key).with("DIGICERT_SECRET_KEY") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
digicert-cli-0.2.0 | spec/acceptance/config_spec.rb |