Sha256: 7ec619bb54e976ce600f3339b91cb02140bd8dab9ff759cf1658c5a9f1c2f722
Contents?: true
Size: 523 Bytes
Versions: 32
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' require 'puppet/module_tool/applications' describe Puppet::ModuleTool::Applications do module Puppet::ModuleTool module Applications class Fake < Application end end end it "should raise an error on microsoft windows" do Puppet.features.stubs(:microsoft_windows?).returns true expect { Puppet::ModuleTool::Applications::Fake.new }.to raise_error( Puppet::Error, "`puppet module` actions are currently not supported on Microsoft Windows" ) end end
Version data entries
32 entries across 32 versions & 2 rubygems