spec/unit/provider/service/windows_spec.rb in puppet-3.0.2 vs spec/unit/provider/service/windows_spec.rb in puppet-3.1.0.rc1
- old
+ new
@@ -117,10 +117,10 @@
describe "#restart" do
it "should use the supplied restart command if specified" do
resource[:restart] = 'c:/bin/foo'
provider.expects(:execute).never
- provider.expects(:execute).with(['c:/bin/foo'], :failonfail => true, :squelch => true)
+ provider.expects(:execute).with(['c:/bin/foo'], :failonfail => true, :override_locale => false, :squelch => true)
provider.restart
end
it "should restart the service" do