Sha256: bcdf9bf535d91ead1e9f39e836d4cefc1c0ad8886434b72afee68fef2e6921a9

Contents?: true

Size: 447 Bytes

Versions: 30

Compression:

Stored size: 447 Bytes

Contents

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

30 entries across 30 versions & 1 rubygems

Version Path
kpm-0.2.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.2.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.7 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.6 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.5 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.4 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.3 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.1.0 spec/kpm/remote/tomcat_manager_spec.rb