diff options
-rw-r--r-- | lib/puppet/network/rest_controller.rb | 2 | ||||
-rw-r--r-- | spec/unit/network/rest_controller.rb | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/puppet/network/rest_controller.rb b/lib/puppet/network/rest_controller.rb new file mode 100644 index 000000000..76a9830ea --- /dev/null +++ b/lib/puppet/network/rest_controller.rb @@ -0,0 +1,2 @@ +class Puppet::Network::RESTController # :nodoc: +end diff --git a/spec/unit/network/rest_controller.rb b/spec/unit/network/rest_controller.rb new file mode 100644 index 000000000..86bdd8b58 --- /dev/null +++ b/spec/unit/network/rest_controller.rb @@ -0,0 +1,14 @@ +#!/usr/bin/env ruby +# +# Created by Rick Bradley on 2007-10-03. +# Copyright (c) 2007. All rights reserved. + +require File.dirname(__FILE__) + '/../../spec_helper' + +require 'puppet/network/rest_controller' + +describe Puppet::Network::RESTController, "in general" do + it "should take arguments from server, call the appropriate method with correct arguments (parameter passing)" + it "should serialize result data when methods are handled" + it "should serialize an error condition when indirection method call generates an exception" +end |