Sha256: b71f4f59bea7db04c7f506ac5f74ad4cd3a027614b58475ee5ff9c5d97552ffd

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

Stored size: 477 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
      tomcat_path.should_not be_nil

      root_war_path = manager.setup
      root_war_path.should_not be_nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kpm-0.8.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.8.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.8.0 spec/kpm/remote/tomcat_manager_spec.rb