Sha256: 08fb8aaaaed7da232e2b1c60a91f0eae9f291f01697c0121d93ae005726956d4

Contents?: true

Size: 552 Bytes

Versions: 4

Compression:

Stored size: 552 Bytes

Contents

require "webmock/rspec"
require "digicert/cli"
require "digicert/rspec"

Dir["./spec/support/**/*.rb"].sort.each { |file| require file }

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = ".rspec_status"
  config.include Digicert::ConsoleHelper

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before :all do
    Digicert.configure do |digicert_config|
      digicert_config.api_key = ENV["DIGICERT_API_KEY"] || "SECRET_KEY"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
digicert-cli-1.0.0 spec/spec_helper.rb
digicert-cli-0.5.2 spec/spec_helper.rb
digicert-cli-0.5.1 spec/spec_helper.rb
digicert-cli-0.5.0 spec/spec_helper.rb