Sha256: 99a56b3b492987e5cb3ec7b2892f35ba2e006c7cfe294e5a7b045a6167db1dec

Contents?: true

Size: 393 Bytes

Versions: 9

Compression:

Stored size: 393 Bytes

Contents

require "spec_helper"

RSpec.describe Digicert::CLI do
  describe ".start" do
    it "sends start message to command handler" do
      shell_command = %w(order find -n order_id)
      allow(Digicert::CLI::Command).to receive(:start)

      Digicert::CLI.start(shell_command)

      expect(
        Digicert::CLI::Command,
      ).to have_received(:start).with(shell_command)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
digicert-cli-1.0.0 spec/digicert/cli_spec.rb
digicert-cli-0.5.2 spec/digicert/cli_spec.rb
digicert-cli-0.5.1 spec/digicert/cli_spec.rb
digicert-cli-0.5.0 spec/digicert/cli_spec.rb
digicert-cli-0.4.2 spec/digicert/cli_spec.rb
digicert-cli-0.4.1 spec/digicert/cli_spec.rb
digicert-cli-0.4.0 spec/digicert/cli_spec.rb
digicert-cli-0.3.0 spec/digicert/cli_spec.rb
digicert-cli-0.2.0 spec/digicert/cli_spec.rb