~ubuntu-branches/ubuntu/trusty/puppet/trusty

« back to all changes in this revision

Viewing changes to spec/unit/util/execution_stub_spec.rb

  • Committer: Package Import Robot
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-10-22 14:08:22 UTC
  • mfrom: (1.1.25) (3.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20111022140822-odxde5lohc45yhuz
Tags: 2.7.6-1
* New upstream release (CVE-2011-3872)
* Remove cherry-picked "groupadd_aix_warning" patch
* Install all new manpages

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    Puppet::Util::ExecutionStub.current_value.should == nil
17
17
  end
18
18
 
19
 
  it "should restore normal execution after 'reset' is called" do
 
19
  it "should restore normal execution after 'reset' is called", :fails_on_windows => true do
20
20
    true_command = Puppet::Util.which('true') # Note: "true" exists at different paths in different OSes
21
21
    stub_call_count = 0
22
22
    Puppet::Util::ExecutionStub.set do |command, options|