summaryrefslogtreecommitdiffstats
path: root/spec/unit/network/rest_controller.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-10-04 10:07:44 -0500
committerLuke Kanies <luke@madstop.com>2007-10-04 10:07:44 -0500
commitce0178316d8cefd072f53d39b59ce47332f6ec8f (patch)
treeff47a422fc6bcc7fdc14f0066bdd277fccfd60f7 /spec/unit/network/rest_controller.rb
parentf1ec23a0e29f3e1fe7809c19139e324f2c525d2d (diff)
parent3f90ddbfc7d20b631ca17f72e2d72d5e7ca00629 (diff)
downloadpuppet-ce0178316d8cefd072f53d39b59ce47332f6ec8f.tar.gz
puppet-ce0178316d8cefd072f53d39b59ce47332f6ec8f.tar.xz
puppet-ce0178316d8cefd072f53d39b59ce47332f6ec8f.zip
Merge branch 'routing' of http://git.rickbradley.com/puppet into routing
Diffstat (limited to 'spec/unit/network/rest_controller.rb')
-rw-r--r--spec/unit/network/rest_controller.rb14
1 files changed, 14 insertions, 0 deletions
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