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.7.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.7.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.7.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.5 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.4 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.3 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.6.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.5.3 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.5.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.5.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.5.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.4.2 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.4.1 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.4.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.3.0 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.2.4 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.2.3 spec/kpm/remote/tomcat_manager_spec.rb
kpm-0.2.2 spec/kpm/remote/tomcat_manager_spec.rb