Sha256: 1e30c7c7236f1268e2a8fdf824e584d11fc60b349f12a6ff75543b43695e8a43

Contents?: true

Size: 485 Bytes

Versions: 9

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe KPM::TomcatManager do
  before(:all) do
    @logger = Logger.new(STDOUT)
    @logger.level = Logger::INFO
  end

  it 'should be able to download and unpack tomcat' do
    Dir.mktmpdir do |dir|
      manager = KPM::TomcatManager.new(dir, @logger)

      tomcat_path = manager.download
      expect(tomcat_path).not_to be_nil

      root_war_path = manager.setup
      expect(root_war_path).not_to be_nil
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kpm-0.10.6 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.5 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.11.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.4 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.3 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.10.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.9.0 spec/kpm/remote/tomcat_manager_spec.rb