Sha256: 55d54d653b1286185859ff62b88a430709db7abeaed9fccac57a33375ac80433

Contents?: true

Size: 1.12 KB

Versions: 15

Compression:

Stored size: 1.12 KB

Contents

require 'spec_helper'
require 'puppet/module_tool/applications'
require 'puppet_spec/modules'
require 'semver'

describe Puppet::ModuleTool::Applications::Upgrader, :fails_on_windows => true do
  include PuppetSpec::Files

  before do
  end

  it "should update the requested module"
  it "should not update dependencies"
  it "should fail when updating a dependency to an unsupported version"
  it "should fail when updating a module that is not installed"
  it "should warn when the latest version is already installed"
  it "should warn when the best version is already installed"

  context "when using the '--version' option" do
    it "should update an installed module to the requested version"
  end

  context "when using the '--force' flag" do
    it "should ignore missing dependencies"
    it "should ignore version constraints"
    it "should not update a module that is not installed"
  end

  context "when using the '--env' option" do
    it "should use the correct environment"
  end

  context "when there are missing dependencies" do
    it "should fail to upgrade the original module"
    it "should raise an error"
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
puppet-2.7.26 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.25 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.24 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.23 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.22 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.21 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.20 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.20.rc1 spec/unit/module_tool/applications/upgrader_spec.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.19 spec/unit/module_tool/applications/upgrader_spec.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.18 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.17 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.16 spec/unit/module_tool/applications/upgrader_spec.rb
puppet-2.7.14 spec/unit/module_tool/applications/upgrader_spec.rb