diff options
author | Rick Bradley <rick@rickbradley.com> | 2008-03-31 12:08:36 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-04-11 13:10:36 -0500 |
commit | d24c03c9bbcc35a94a8235c030a73233feabad57 (patch) | |
tree | 281a45c8ad4500da0da1c9eee5470ebefaf035f2 /spec/integration | |
parent | 7a7343458402e493f690633f3cfa78abef316d28 (diff) | |
download | puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.tar.gz puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.tar.xz puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.zip |
exceptions on remote end now properly passed to local end via REST and re-raised (integration-tested)
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/indirector/rest.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/indirector/rest.rb b/spec/integration/indirector/rest.rb index aed17d977..9ac2bc997 100644 --- a/spec/integration/indirector/rest.rb +++ b/spec/integration/indirector/rest.rb @@ -79,9 +79,9 @@ describe Puppet::Indirector::REST do Puppet::Network::HTTP::WEBrickREST.any_instance.stubs(:model).returns(@mock_model) end - # it "should raise an exception" do - # lambda { Puppet::TestIndirectedFoo.find('bar') }.should raise_error(RuntimeError) - # end + it "should raise an exception" do + lambda { Puppet::TestIndirectedFoo.find('bar') }.should raise_error(RuntimeError) + end end end |