Sha256: d554040a7e9bffbf44e516dc24c3b7ed23a2fe87594589b1b278bf3f8ffd1133

Contents?: true

Size: 850 Bytes

Versions: 3

Compression:

Stored size: 850 Bytes

Contents

require 'spec_helper'

describe Ridley::CommandContext::UnixUninstall do
  let(:unix_uninstall) { described_class.new }

  describe "::new" do
    context "when skip_chef is not provided" do
      it "sets skip_chef to false" do
        expect(unix_uninstall.skip_chef).to be_false
      end
    end
  end

  describe "#command" do
    it "returns a string" do
      expect(unix_uninstall.command).to be_a(String)
    end
  end

  describe "#config_directory" do
    it "returns a string" do
      expect(unix_uninstall.config_directory).to be_a(String)
    end
  end

  describe "#data_directory" do
    it "returns a string" do
      expect(unix_uninstall.data_directory).to be_a(String)
    end
  end

  describe "#install_directory" do
    it "returns a string" do
      expect(unix_uninstall.install_directory).to be_a(String)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ridley-connectors-2.3.1 spec/unit/ridley-connectors/command_context/unix_uninstall_spec.rb
ridley-connectors-2.3.0 spec/unit/ridley-connectors/command_context/unix_uninstall_spec.rb
ridley-connectors-2.2.0 spec/unit/ridley-connectors/command_context/unix_uninstall_spec.rb